昨天在整合的时候出现了这个异常.
今天终于解决了,是jar包冲突的问题.
删掉asm1.2.jar,删掉这个带版本号的就没问题了.
这个文件有两个一个不带版本号,保留那个不带版本号的就可以了.
发现在出异常晕,最好先把异常仔细的读懂,这样问题才容易解决.
呵呵.
严重: Exception sending context initialized event to listener instance of
class
org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ' sessionFactory ' defined in file [E:\program\Tomcat 6.0 \webapps\car\WEB - INF\classes\spring\applicationContext.xml]: Invocation of init method failed;
在google上找了半天,也没找到解决办法.org.springframework.beans.factory.BeanCreationException: Error creating bean with name ' sessionFactory ' defined in file [E:\program\Tomcat 6.0 \webapps\car\WEB - INF\classes\spring\applicationContext.xml]: Invocation of init method failed;
今天终于解决了,是jar包冲突的问题.
删掉asm1.2.jar,删掉这个带版本号的就没问题了.
这个文件有两个一个不带版本号,保留那个不带版本号的就可以了.
发现在出异常晕,最好先把异常仔细的读懂,这样问题才容易解决.
呵呵.