首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Java Web开发 >

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

2013-09-11 
大家帮帮忙,看看是什么问题,谢谢了开发环境RedHat9我的RESIN可以运行但是我把工程加进去好像是提示找不到

大家帮帮忙,看看是什么问题,谢谢了
开发环境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


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
javax.naming.NamingException:   JNDI   object   with   [java:comp/env/jdbc/smsp]   not   found:   JNDI   implementation   returned   null


[解决办法]
RESIN可以正常启动

热点排行