开发者

Grails With STS - Get EhCache?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜