我正在尝试运行Grails2.2.2中的第一个应用程序。。但这给了我一个错误。。当我点击debug时

我正在尝试运行Grails2.2.2中的第一个应用程序。。但这给了我一个错误。。当我点击debug时,grails,grails-plugin,Grails,Grails Plugin,错误2013-05-16 10:27:41523[localhost-startStop-1]错误 context.grailContextLoader-初始化应用程序时出错: com.googlecode.concurrentlinkedhashmap.concurrentlinkedhashmap$Builder.maximumWeightedCapacity(J)Lcom/googlecode/concurrentlinkedhashmap/concurrentlinkedhashmap$

错误2013-05-16 10:27:41523[localhost-startStop-1]错误 context.grailContextLoader-初始化应用程序时出错: com.googlecode.concurrentlinkedhashmap.concurrentlinkedhashmap$Builder.maximumWeightedCapacity(J)Lcom/googlecode/concurrentlinkedhashmap/concurrentlinkedhashmap$Builder; 信息: com.googlecode.concurrentlinkedhashmap.concurrentlinkedhashmap$Builder.maximumWeightedCapacity(J)Lcom/googlecode/concurrentlinkedhashmap/concurrentlinkedhashmap$Builder


似乎您正在将maven与grails一起使用。问题的出现是因为一些旧版本的concurrentlinkedhashmap被拉到了某个地方。使用它的更新版本,您可以使用以下内容:

<dependency>
<groupId>com.googlecode.concurrentlinkedhashmap</groupId>
<artifactId>concurrentlinkedhashmap-lru</artifactId>
<version>1.3.2</version>
</dependency>

com.googlecode.concurrentlinkedhashmap
concurrentlinkedhashmap lru
1.3.2

注意:您应该提供更多关于该问题的详细信息,如环境、grails版本等。

似乎您正在将maven与grails一起使用。问题的出现是因为一些旧版本的concurrentlinkedhashmap被拉到了某个地方。使用它的更新版本,您可以使用以下内容:

<dependency>
<groupId>com.googlecode.concurrentlinkedhashmap</groupId>
<artifactId>concurrentlinkedhashmap-lru</artifactId>
<version>1.3.2</version>
</dependency>

com.googlecode.concurrentlinkedhashmap
concurrentlinkedhashmap lru
1.3.2

注意:您应该提供更多关于该问题的详细信息,如环境、grails版本等。

我使用的是grails 2.2.2的最新版本,我使用的是grails 2.2.2的最新版本