Incompatible JVM in GGTS (Eclipse) and JAVA 1.8

前端 未结 10 2426
说谎
说谎 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条回答
  •  -上瘾入骨i
    2020-11-27 19:28

    I thought I should add my two pence worth on this topic. Recently I hit the same issue trying to upgrade an ancient app to 2.4.4. The reason for my post is because all of the above instructions are a little out of date and whilst in most cases it may appear to work. The moment you introduce mysql drivers all of the above mentioned versions of spring loaded hit a new issue around incompatibility and Non-root when attempting to trigger the database.

    I got ggts fully working with JDK 1.8_065. To make it work get hold of springloaded-1.2.5.RELEASE.jar Put this into grails-2.4.4/lib/org.springframework/springloaded/jars/ folder. When you install ggts inside the ggts-bundle folder is grails-2.4.4. So put the file in the above location within the ggts-bundle folder. Unless you have changed configuration.
    Re-launch GGTS I spent ages on it and thought I should update the instructions.

    Also the other thing that I hit issues around was forking under grails 2.4.4 with my uprade and ended up setting

    grails.project.fork = []
    

    In my BuildConfig.groovy

提交回复
热议问题