IDEA hook: Grails not found!
i get this error with grails 2.0.1, maven 3 and mac os or windows (@ work). idea 11.1 eap (IU 116.32)
i'm using the maven grails plugin 2.0.1 (http://jira.grails.org/browse/MAVEN-162).
in the error below, its just doing a grails settings sync..
any ideas? Thanks
IDEA hook: Grails not found!
Error |
java.lang.NullPointerException
Error |
at org.jetbrains.groovy.grails.rt.Agent$2.run(Agent.java:70)
Error |
at java.lang.Thread.run(Thread.java:680)
the entire error
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java -Dclassworlds.conf=/usr/share/java/maven-3.0.3/bin/m2.conf -Dmaven.home=/usr/share/java/maven-3.0.3 -javaagent:/Applications/Nika.1-IU-116.32.app/plugins/Grails/lib/grails_rt.jar -Dprint.grails.settings=true -Dfile.encoding=UTF-8 -classpath /usr/share/java/maven-3.0.3/boot/plexus-classworlds-2.4.jar org.codehaus.classworlds.Launcher --no-plugin-registry --fail-fast --no-plugin-updates --strict-checksums --update-snapshots -Dcommand=help -f /Users/samart/development/projects/grails2testing/sdlc/pom.xml grails:exec
[WARNING] Command line option -npu is deprecated and will be removed in future Maven versions.
[WARNING] Command line option -npr is deprecated and will be removed in future Maven versions.
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building A custom grails project 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- grails-maven-plugin:2.0.1:exec (default-cli) @ sdlc ---
|Loading Grails 2.0.1
|Configuring classpath
|Running pre-compiled script
.
|Environment set to development
.....
Usage (optionals marked with *):
grails [environment]* [target] [arguments]*
Examples:
grails dev run-app
grails create-app books
Available Targets (type grails help 'target-name' for more info):
grails create-functional-test
grails create-job
grails functional-tests
grails install-jq-uery
grails install-quartz-config
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:18.834s
[INFO] Finished at: Thu Mar 08 22:40:56 EST 2012
[INFO] Final Memory: 32M/81M
[INFO] ------------------------------------------------------------------------
IDEA hook: Grails not found!
Error |
java.lang.NullPointerException
Error |
at org.jetbrains.groovy.grails.rt.Agent$2.run(Agent.java:70)
Error |
at java.lang.Thread.run(Thread.java:680)
请先登录再写评论。
Fixed.
Fix will be avaliable in the next EAP.
[edit] /found same question http://devnet.jetbrains.net/message/5463145#5463145 x]