Grails: Native2ascii error when I add a new property to message.properties

后端 未结 6 1142
南方客
南方客 2021-02-07 22:57

I get a strange error when I add a new property to message.properties file in my grails application during runtime. When I restart the application via the command line, or resta

6条回答
  •  温柔的废话
    2021-02-07 23:44

    Very frustrating bug.

    After I executed all the steps suggested above in this thread, grails app was STILL not seeing tools.jar...

    GRRR!

    For anyone experiencing this problem in GGTS when pointing to the 1.7 jdk (when setting the jre) persisting afterwards, you MUST do the following:

    1. Pick the correct jdk (1.7) in the "JRE Definition" panel within "Installed JRE's" in the GGTS Preferences panels.
    2. Watch the jars from that jdk populate in the JRE definition window panel at the bottom "JRE System Libraries".
    3. Check for tools.jar (mine DID NOT show up as recognized within the jdk lib or, after i tried 'zawmn83's post above) in /lib/ext.
    4. If tools.jar does not show up as recognized in the jdk, click the "Add External JARs..." button, find it, add it.

    That completely solve my problem - THANK GOD!!!!

    p.s. i also had to set my JAVA_HOME to my 1.7 jdk correctly, in my .bash_profile but, that's already called out here as part of the solution.

    Thanks everyone for contributing on this one - this bug has been causing me brain damage whilst tinkering with it today, and the above suggestions got me 99% of the way there!

提交回复
热议问题