随笔 - 6  文章 - 129  trackbacks - 0
<2024年4月>
31123456
78910111213
14151617181920
21222324252627
2829301234
567891011

常用链接

留言簿(14)

随笔档案(6)

文章分类(467)

文章档案(423)

相册

收藏夹(18)

JAVA

搜索

  •  

积分与排名

  • 积分 - 815437
  • 排名 - 49

最新评论

阅读排行榜

评论排行榜

今天把项目从Tomcat下转移到JBOSS了,启动JBOSS服务器之后出了,控制台输出了
java.lang.IllegalAccessError: tried to access method net.sf.ehcache.CacheManager.<init>()V from class org.hibernate.cache.EhCacheProvider
此类错误错误信息,上网上查了一下.大概了解了下,原来是JAR文件版本问题,
The latest hibernate uses ehcache 1.2 - you seem to be using an older version (1.1 maybe). Upgrade your ehcache library and report back if you still have problems.

原来项目中使用了ehcache-1.1.jar文件,
把它换成ehcache-1.2.3.jar文件后,
重新启动JBOSS服务器,问题解决~~~~

posted on 2008-01-16 10:36 Ke 阅读(8872) 评论(4)  编辑  收藏 所属分类: exceptionjboss

FeedBack:
# re: java.lang.IllegalAccessError: tried to access method net.sf.ehcache.CacheManager.()V from class org.hibernate.cache.EhCacheProvider 2008-03-27 10:58 lucas
刚刚,我也遇到这样的问题.不知道是不是这样的问题,现在准备换成ehcache-1.2.3.jar  回复  更多评论
  
# Blogosfera 2009-05-18 21:05 Blogosfera
Good morning. I like weights. You know where you stand with them. Well, sometimes you're lying under them, trying not to let them crush you, but you see, you KNOW they'd crush you if they could. There's honesty.
I am from Burkina and too bad know English, give please true I wrote the following sentence: "Seo plus blog seo diccionario seo wordpress seo sem manual seo curso seo.Search engine optimization seo is not only the job of the marketing department this unique php seo book will teach you that if you architect the site."

THX :-(, Hildemar.  回复  更多评论
  
# re: java.lang.IllegalAccessError: tried to access method net.sf.ehcache.CacheManager.()V from class org.hibernate.cache.EhCacheProvider 2011-10-09 11:41 zhangp
jar包我导的是cache-1.2.3.jar cache-1.1.jar都试过还是不行  回复  更多评论
  
# re: java.lang.IllegalAccessError: tried to access method net.sf.ehcache.CacheManager.()V from class org.hibernate.cache.EhCacheProvider[未登录] 2012-08-07 10:33 wzq
真有用  回复  更多评论
  

只有注册用户登录后才能发表评论。


网站导航: