当前位置: 代码迷 >> Java Web开发 >> 大家帮帮忙,看看是什么有关问题,多谢了
  详细解决方案

大家帮帮忙,看看是什么有关问题,多谢了

热度:91   发布时间:2016-04-17 13:46:03.0
大家帮帮忙,看看是什么问题,谢谢了
开发环境RedHat9
我的RESIN可以运行   但是我把工程加进去好像是提示找不到包   我已经把需要的包拷贝到RESIN/lib下了   以下是提示的部分错误
2007-07-07   15:40:09,398   -   [ERROR]   [ContextLoader]   -   Context   initialization   failed
org.springframework.beans.factory.BeanCreationException:   Error   creating   bean   with   name   'userManager '   defined   in   ServletContext   resource   [/WEB-INF/applicationContext.xml]:   Can 't   resolve   reference   to   bean   'userDAO '   while   setting   property   'userDAO ';   nested   exception   is   org.springframework.beans.factory.BeanCreationException:   Error   creating   bean   with   name   'userDAO '   defined   in   ServletContext   resource   [/WEB-INF/applicationContext-hibernate.xml]:   Can 't   resolve   reference   to   bean   'sessionFactory '   while   setting   property   'sessionFactory ';   nested   exception   is   org.springframework.beans.factory.BeanCreationException:   Error   creating   bean   with   name   'sessionFactory '   defined   in   ServletContext   resource   [/WEB-INF/applicationContext-hibernate.xml]:   Can 't   resolve   reference   to   bean   'dataSource '   while   setting   property   'dataSource ';   nested   exception   is   org.springframework.beans.factory.BeanCreationException:   Error   creating   bean   with   name   'dataSource '   defined   in   ServletContext   resource   [/WEB-INF/applicationContext-dataSourceJNDI.xml]:   Initialization   of   bean   failed;   nested   exception   is   javax.naming.NamingException:   JNDI   object   with   [java:comp/env/jdbc/smsp]   not   found:   JNDI   implementation   returned   null
org.springframework.beans.factory.BeanCreationException:   Error   creating   bean   with   name   'userDAO '   defined   in   ServletContext   resource   [/WEB-INF/applicationContext-hibernate.xml]:   Can 't   resolve   reference   to   bean   'sessionFactory '   while   setting   property   'sessionFactory ';   nested   exception   is   org.springframework.beans.factory.BeanCreationException:   Error   creating   bean   with   name   'sessionFactory '   defined   in   ServletContext   resource   [/WEB-INF/applicationContext-hibernate.xml]:   Can 't   resolve   reference   to   bean   'dataSource '   while   setting   property   'dataSource ';   nested   exception   is   org.springframework.beans.factory.BeanCreationException:   Error   creating   bean   with   name   'dataSource '   defined   in   ServletContext   resource   [/WEB-INF/applicationContext-dataSourceJNDI.xml]:   Initialization   of   bean   failed;   nested   exception   is   javax.naming.NamingException:   JNDI   object   with   [java:comp/env/jdbc/smsp]   not   found:   JNDI   implementation   returned   null
org.springframework.beans.factory.BeanCreationException:   Error   creating   bean   with   name   'sessionFactory '   defined   in   ServletContext   resource   [/WEB-INF/applicationContext-hibernate.xml]:   Can 't   resolve   reference   to   bean   'dataSource '   while   setting   property   'dataSource ';   nested   exception   is   org.springframework.beans.factory.BeanCreationException:   Error   creating   bean   with   name   'dataSource '   defined   in   ServletContext   resource   [/WEB-INF/applicationContext-dataSourceJNDI.xml]:   Initialization   of   bean   failed;   nested   exception   is   javax.naming.NamingException:   JNDI   object   with   [java:comp/env/jdbc/smsp]   not   found:   JNDI   implementation   returned   null
  相关解决方案