Grails / Groovy / GGTS: Conflicting module versions on run-app

后端 未结 16 668
一向
一向 2020-12-30 02:06

After upgrading a Grails application from 2.2.0 to 2.2.1 I keep getting the following error when attempting to debug a Grails application from GGTS via Debug as... -> Grails

16条回答
  •  一个人的身影
    2020-12-30 02:50

    I had the same exception, when I was trying to run JUnit tests on my Spring boot project in Eclipse only, mvn executes them fine. I'm not using Gradle or Groovy. Indeed checking the test's class path upon debug, showed two versions of groovy.jar. The work version of the groovy.jar was picked from other projects in the Eclipse workspace. I was able to fix it by removing Resolve dependencies from Workspace projects in project properties -> Maven

提交回复
热议问题