java.lang.IllegalAccessError: tried to access method net.sf.ehcache.CacheManager 2009-01-07 14:04 22
2014-12-11 17:51
639 查看
java.lang.IllegalAccessError: tried to access method net.sf.ehcache.CacheManager
2009-01-07 14:04 2287人阅读 评论(0) 收藏 举报accessoraclehibernatejarspringtomcat
在数据仓储开发过程中,使用spring和hibernate遇到的问题。
java.lang.IllegalAccessError: tried to access method net.sf.ehcache.CacheManager.<init>()V from class org.hibernate.cache.EhCacheProvider
ehcache-1.4.1.jar这个包的版本问题,注意有时tomcat会自动加载较低版本的jar包,所以要查看发布到服务器上的文件包中
jar文件是否重复或者存在多个版本!!!!!
还有在oracle blob字段中加载数据时,如果oracle的版本较低,也容易出现问题,数据长度将被限制到四千个字节以内。
所以如果无限制存储大数据时,要使用最新的oracle的jar包。
相关文章推荐
- 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.()V
- nested exception is java.lang.IllegalAccessError: tried to access method net.sf.ehcache.CacheManager.()V from class org.hibernat
- java.lang.IllegalAccessError: tried to access method net.sf.ehcache.CacheManager
- HBASE: java.lang.IllegalAccessError: tried to access method com.google.common.base.Stopwatch.<init>
- 项目启动报java.lang.IllegalAccessError: tried to access method
- java.lang.IllegalAccessError: tried to access method oracle.jdbc.pool.OracleDataSource.getPassword()
- ehcache-core版本导致异常 tried to access method net.sf.ehcache.config.CacheConfiguration.<init>()V from cl
- Caused by: java.lang.ClassNotFoundException: net.sf.ehcache.CacheManager
- AndroidRuntime: java.lang.IllegalAccessError: tried to access class android.content.res.StringBlock
- Ant压缩js时,报错:java.lang.IllegalAccessError: tried to access class org.mozilla.javascript.DefaultErrorReporter
- java.lang.NoClassDefFoundError: net/sf/ehcache/CacheException
- Maven项目遇到java.lang.NoClassDefFoundError: net/sf/ehcache/CacheException
- java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation
- hibernate Exception in thread "main" java.lang.NoClassDefFoundError: net/sf/ehcache/CacheException
- 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问题
- ERROR net.sf.ehcache.Cache - Unable to set localhost. This prevents creation of a GUID. Cause was: d
- java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation
- Drill 1.12.0 查询Hbase报错: IllegalAccessError: tried to access method com.google.common.base.Stopwatch