nested exception is java.lang.IllegalAccessError: tried to access method net.sf.ehcache.CacheManager.()V from class org.hibernat
2008-06-16 18:07
1236 查看
今天配置struts2+hibernate3+spring2时出现这种问题,控制台输出了
java.lang.IllegalAccessError: tried to access method net.sf.ehcache.CacheManager.<init>()V from class org.hibernate.cache.EhCacheProvider
上网查了一下.原来是JAR文件版本问题
原来项目中使用了ehcache-1.1.jar文件,
把它换成ehcache-1.2.3.jar文件后,
点击http://dev.openmrs.org/browser/openmrs-modules/logicws/lib-common/ehcache-1.2.4.jar?rev=4341可以下载
重新启动服务器,问题解决~~~~
java.lang.IllegalAccessError: tried to access method net.sf.ehcache.CacheManager.<init>()V from class org.hibernate.cache.EhCacheProvider
上网查了一下.原来是JAR文件版本问题
原来项目中使用了ehcache-1.1.jar文件,
把它换成ehcache-1.2.3.jar文件后,
点击http://dev.openmrs.org/browser/openmrs-modules/logicws/lib-common/ehcache-1.2.4.jar?rev=4341可以下载
重新启动服务器,问题解决~~~~
相关文章推荐
- java.lang.IllegalAccessError: tried to access method net.sf.ehcache.CacheManager.()V from class org.hibernate.cache.EhCa
- java.lang.IllegalAccessError: tried to access method net.sf.ehcache.CacheManager
- java.lang.IllegalAccessError: tried to access method net.sf.ehcache.CacheManager 2009-01-07 14:04 22
- java.lang.IllegalAccessError: tried to access method net.sf.ehcache.CacheManager.()V
- ehcache-core版本导致异常 tried to access method net.sf.ehcache.config.CacheConfiguration.<init>()V from cl
- Caused by: java.lang.ClassNotFoundException: net.sf.ehcache.CacheManager
- Ant压缩js时,报错:java.lang.IllegalAccessError: tried to access class org.mozilla.javascript.DefaultErrorReporter
- 项目启动报java.lang.IllegalAccessError: tried to access method
- nested exception is java.lang.IncompatibleClassChangeError: class org.springframework.core.type.clas
- HBASE: java.lang.IllegalAccessError: tried to access method com.google.common.base.Stopwatch.<init>
- java.lang.IllegalAccessError: tried to access method oracle.jdbc.pool.OracleDataSource.getPassword()
- failed; nested exception is java.lang.IllegalStateException: Failed to introspect bean class [com.pu
- AndroidRuntime: java.lang.IllegalAccessError: tried to access class android.content.res.StringBlock
- Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener. ...nested exception is java.lang.NoSuchMethodError:
- spring3.2.0与mybatis3.2.7整合出错--Failed to read candidate component class--nested exception is java.lang.IllegalArgumentException
- jpa语句报 org.springframework.dao.InvalidDataAccessApiUsageException: Parameter with that position [2] did not exist; nested exception is java.lang.IllegalArgumentException: Parameter with that position
- java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation
- java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation
- Android Xposed框架出现java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation问题
- java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation getting while running test project?