日期:2014-05-18  浏览次数:20644 次

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