Incompatible JVM in GGTS (Eclipse) and JAVA 1.8

前端 未结 10 2466
说谎
说谎 2020-11-27 18:48

Having some problem with running a grails application in GGTS (eclipse) due to upgrade to Java 1.8.

The stack starts with:

Mar 05, 2015 3:51:31 PM          


        
10条回答
  •  醉酒成梦
    2020-11-27 19:21

    I updated my springloaded jar to version 1.2.4.BUILD-SNAPSHOT (from 1.2.1) and that resolved the issue. (Latest version can be found in the Spring repo)

    1. Go to your local Grails lib directory to find springloaded jar. For me that was /usr/local/Cellar/grails/2.4.4/libexec/lib/org.springframework/springloaded/jars/
    2. remove existing 1.2.1 jars (I removed pom file, too, but not necessary)
    3. download latest springloaded jar and place into the jars subdir: wget http://repo.spring.io/libs-snapshot-local/org/springframework/springloaded/1.2.4.BUILD-SNAPSHOT/springloaded-1.2.4.BUILD-SNAPSHOT.jar

    After doing that, everything works. (Clues used from previous answer: https://github.com/spring-projects/spring-loaded/issues/98)

提交回复
热议问题