Grails- NoSuchMethodError plus(Ljava / util / List; Lja

时间:2017-02-20 10:12:28

标签: grails gradle

我已将我的grails应用程序从3.1.9更新到3.2.6,并且在运行应用程序时遇到以下异常。

| Error Gradle build terminated with error: org.codehaus.groovy.runtime.DefaultGroovyMethods.plus(Ljava/util/List;Ljava/util/Collection;)Ljava/util/List; (NOTE: Stack trace has been filtered. Use --verbose to see entire trace.)
java.lang.NoSuchMethodError: org.codehaus.groovy.runtime.DefaultGroovyMethods.plus(Ljava/util/List;Ljava/util/Collection;)Ljava/util/List;
    at org.grails.transaction.transform.TransactionalTransform.moveOriginalCodeToNewMethod(TransactionalTransform.groovy:309)
    at org.grails.transaction.transform.TransactionalTransform.weaveTransactionalMethod(TransactionalTransform.groovy:194)
    at org.grails.transaction.transform.TransactionalTransform.weaveTransactionalMethod(TransactionalTransform.groovy:188)
    at org.grails.transaction.transform.TransactionalTransform.weaveTransactionalBehavior(TransactionalTransform.groovy:141)
    at org.grails.transaction.transform.TransactionalTransform.visit(TransactionalTransform.groovy:104)
    at org.gradle.api.internal.tasks.compile.ApiGroovyCompiler.execute(ApiGroovyCompiler.java:178)
    at org.gradle.api.internal.tasks.compile.ApiGroovyCompiler.execute(ApiGroovyCompiler.java:60)
    at org.gradle.api.internal.tasks.compile.daemon.AbstractDaemonCompiler$CompilerWorkerAdapter.execute(AbstractDaemonCompiler.java:73)
    at org.gradle.api.internal.tasks.compile.daemon.AbstractDaemonCompiler$CompilerWorkerAdapter.execute(AbstractDaemonCompiler.java:64)
    at org.gradle.process.internal.daemon.WorkerDaemonServer.execute(WorkerDaemonServer.java:28)
    at org.gradle.api.internal.tasks.compile.daemon.AbstractDaemonCompiler$CompilerDaemonServer.execute(AbstractDaemonCompiler.java:91)
    at org.gradle.process.internal.worker.request.WorkerAction.run(WorkerAction.java:87)
    at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
    at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
    at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:377)
    at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
    at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
| Error Gradle build terminated with error: org.codehaus.groovy.runtime.DefaultGroovyMethods.plus(Ljava/util/List;Ljava/util/Collection;)Ljava/util/List;

0 个答案:

没有答案