开发者

Grails With STS - Get EhCache?

开发者 https://www.devze.com 2023-03-11 18:37 出处:网络
I have an existing Grails project that I am upgrading to a new version.When I build the project I get an error Caused by: java.lang.NoClassDefFoundError: net/sf/ehcache/jcache/JCache

I have an existing Grails project that I am upgrading to a new version. When I build the project I get an error Caused by: java.lang.NoClassDefFoundError: net/sf/ehcache/jcache/JCache

After googling, it looks like I had an outdated version of EhCache that I also need to upgrade. I poked around but don't know the "best" way to get this version in my project and what version I should be gunning for (o开发者_如何学JAVAr how I would know).

I am running Springsource Tool Suite 2.6.1 and Grails 1.3.7. Thanks.


It looks like I had conflicting references to EhCache in my project. When I deleted all of them except the one in my Grails dependency it worked correctly.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号