严重: 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 'loginDao' defined in ServletContext resource [/WEB-INF/spring/applicationContext_login.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.apache.ibatis.session.Configuration.setDatabaseId(Ljava/lang/String;)V谁知道错误的可能原因
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'loginDao' defined in ServletContext resource [/WEB-INF/spring/applicationContext_login.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.apache.ibatis.session.Configuration.setDatabaseId(Ljava/lang/String;)V谁知道错误的可能原因
解决方案 »
- String作参数是值传递还是引用传递?
- 关于远程访问文件的问题?????
- 【急】 netbeans 6.1 中单击按钮关闭窗口问题
- java中<>符号都有哪些用处?
- 不知道学JAVA学哪种数据库最好
- Thread.currentThread().sleep(5000)跟Thread.sleep(5000)有什么不同呢?
- 工欲善其事,必先利其器,求教!
- 请问谁有JBUILDER7的注册码?
- 有关jdo,初学jdo,但怎么也找不到javax.jdo这个包
- weblogic6.0,好怪,在console 中新建立jdbc connection pool时,按下create按钮没效果
- java写的windows任务管理器
- 关于查看java .jar文件源代码的问题
<!-- spring3.x上下文监听器 START -->
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
<!-- spring3.x上下文监听器 END --> 这个有什么用?
严重: Exception starting filter struts2
Class: com.opensymphony.xwork2.spring.SpringObjectFactory
File: SpringObjectFactory.java
Method: getClassInstance
Line: 230 - com/opensymphony/xwork2/spring/SpringObjectFactory.java:230:-1晕了