读书人

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

发布时间: 2013-09-11 17:27:29 作者: rapoo

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

读书人网 >Java Web开发

热点推荐