If you run app in Grails and get this error message and app cannot run.This happened sometimes because you want to use i18n feature in your application.
Then try this method:
Copying %Java_Home%/lib/tools.jar to %Java_Home%/jre/lib/ext/tools.jar fixed this problem.
(a better approach is to set up JRE path to the directory JDK)
Friday, September 12, 2008
Subscribe to:
Post Comments (Atom)
13 comments:
I had this problem inside of eclipse, but not external to grails in a shell. After adding tools.jar to the Bootstrap entries in the Pool Resources, and running setup inside eclipse that fixed the problem. (This was for a intranet application I was working on.)
Thanks thanig!
I've got the same problem in eclipse. After adding tools.jar all works fine!
Thanks a lot!
Maddin
Many thanks! It works with me too :)
Your sincerely!
Duc To
I would recommend adding a JDK. See this post for more details: http://ryanalberts.com/?p=208
Thanks so much, this was a huge help. Encountered this just running it in command prompt on a Windows 2008 machine.
thanks I am new in grails .. and this was very helpfull!
Had to pull tools.jar from another directory, but it worked for me as well. =)
Thanks a lot,,,Dude
NOw its working 5n
Thanks Dude
Now its working 5n
thanks it works...
Thanks!
obrigada, ajudou muito!
Post a Comment