Permalink
Browse files

Added a troubleshooting section to the README.

  • Loading branch information...
1 parent 55f5831 commit 058a7f9ff00b22b91779d257f3d7a3af2720d146 @pledbrook pledbrook committed Aug 27, 2010
Showing with 7 additions and 0 deletions.
  1. +7 −0 README.md
View
@@ -57,3 +57,10 @@ You can also change the environment via the `env` project property:
gradle -Penv=prod grails-run-app
*Warning* Version 1.0 of the plugin does not allow you to execute multiple tasks in one command line. So `gradle clean test` will fail even if `clean` and `test` individually succeed.
+
+Troubleshooting
+===============
+
+* Caused by: org.apache.tools.ant.BuildException: java.lang.NoClassDefFoundError: org/apache/commons/cli/Options
+
+ This happens if your project depends on the 'groovy' JAR rather than 'groovy-all'. Change your dependency to the latter and all will be well.

0 comments on commit 058a7f9

Please sign in to comment.