Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.0
    • Labels:
      None

      Description

      Doesn't appear that the plugin is available yet for grails 2, was just wondering what the timeline for that was looking like?

      1. mvn_clean_install_output.txt
        6 kB
        Ben McGuire
      2. mvn_grails_runapp.log
        5 kB
        Alexander Kistanov
      3. pom.xml
        3 kB
        Ben McGuire
      4. stack.txt
        5 kB
        Alex Bax

        Issue Links

          Activity

          Hide
          Graeme Rocher added a comment -

          It is currently in the staging area of the Sonatype OSS repo, but it would be good if we can get some end user testing. Please clone and mvn install:

          https://github.com/grails/grails-maven
          https://github.com/grails/grails-maven-archetype
          https://github.com/grails/grails-dependencies

          And then run:

          mvn org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-4:generate \
              -DarchetypeGroupId=org.grails \
              -DarchetypeArtifactId=grails-maven-archetype \
              -DarchetypeVersion=2.0.0 \
              -DgroupId=example -DartifactId=my-app
          

          To create an application. Let me know if you find any problems.

          Show
          Graeme Rocher added a comment - It is currently in the staging area of the Sonatype OSS repo, but it would be good if we can get some end user testing. Please clone and mvn install: https://github.com/grails/grails-maven https://github.com/grails/grails-maven-archetype https://github.com/grails/grails-dependencies And then run: mvn org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-4:generate \ -DarchetypeGroupId=org.grails \ -DarchetypeArtifactId=grails-maven-archetype \ -DarchetypeVersion=2.0.0 \ -DgroupId=example -DartifactId=my-app To create an application. Let me know if you find any problems.
          Hide
          Ben McGuire added a comment - - edited

          Running on win7 with jdk 1.6.0_20. When using the archetype generated pom I get the following error when running mvn grails:run-app.

          mvn grails:run-app -e
          + Error stacktraces are turned on.
          [INFO] Scanning for projects...
          [INFO] ------------------------------------------------------------------------
          [INFO] Building A custom grails project
          [INFO]    task-segment: [grails:run-app]
          [INFO] ------------------------------------------------------------------------
          [INFO] [grails:run-app {execution: default-cli}]
          Downloading: http://maven-ro.qualcomm.com/content/groups/ems_repo/com/sun/tools/1.6.0_20/tools-1.6.0_20.pom
          [INFO] Unable to find resource 'com.sun:tools:pom:1.6.0_20' in repository sonatype-nexus-staging2 (https://oss.sonatype.org/content/groups/staging)
          Downloading: http://maven-ro.qualcomm.com/content/groups/ems_repo/com/sun/tools/1.6.0_20/tools-1.6.0_20.pom
          [INFO] Unable to find resource 'com.sun:tools:pom:1.6.0_20' in repository ems_repo (http://maven-ro.qualcomm.com/content/groups/ems_repo)
          Downloading: http://maven-ro.qualcomm.com/content/groups/ems_repo/com/sun/tools/1.6.0_20/tools-1.6.0_20.pom
          [INFO] Unable to find resource 'com.sun:tools:pom:1.6.0_20' in repository grails (http://repo.grails.org/grails/core)
          Downloading: http://maven-ro.qualcomm.com/content/groups/ems_repo/com/sun/tools/1.6.0_20/tools-1.6.0_20.pom
          [INFO] Unable to find resource 'com.sun:tools:pom:1.6.0_20' in repository central (http://repo1.maven.org/maven2)
          [INFO] ------------------------------------------------------------------------
          [ERROR] BUILD ERROR
          [INFO] ------------------------------------------------------------------------
          [INFO] Unable to start Grails
          
          Embedded error: java.lang.NullPointerException
          [INFO] ------------------------------------------------------------------------
          [INFO] Trace
          org.apache.maven.lifecycle.LifecycleExecutionException: Unable to start Grails
                  at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719)
                  at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
                  at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
                  at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
                  at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
                  at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
                  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
                  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
                  at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
                  at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
                  at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
                  at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
                  at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
          Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to start Grails
                  at org.grails.maven.plugin.AbstractGrailsMojo.runGrails(AbstractGrailsMojo.java:248)
                  at org.grails.maven.plugin.GrailsRunAppMojo.execute(GrailsRunAppMojo.java:35)
                  at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
                  at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
                  ... 17 more
          Caused by: java.lang.RuntimeException: java.lang.NullPointerException
                  at org.grails.launcher.GrailsLauncher.<init>(GrailsLauncher.java:83)
                  at org.grails.maven.plugin.AbstractGrailsMojo.runGrails(AbstractGrailsMojo.java:211)
                  ... 20 more
          Caused by: java.lang.NullPointerException
                  at sun.net.util.URLUtil.urlNoFragString(URLUtil.java:29)
                  at sun.misc.URLClassPath.getLoader(URLClassPath.java:292)
                  at sun.misc.URLClassPath.getResource(URLClassPath.java:168)
                  at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
                  at java.security.AccessController.doPrivileged(Native Method)
                  at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
                  at org.grails.launcher.RootLoader.oldFindClass(RootLoader.java:143)
                  at org.grails.launcher.RootLoader.loadClass(RootLoader.java:115)
                  at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
                  at java.lang.ClassLoader.defineClass1(Native Method)
                  at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
                  at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
                  at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
                  at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
                  at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
                  at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
                  at java.security.AccessController.doPrivileged(Native Method)
                  at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
                  at org.grails.launcher.RootLoader.oldFindClass(RootLoader.java:143)
                  at org.grails.launcher.RootLoader.loadClass(RootLoader.java:115)
                  at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
                  at java.lang.ClassLoader.defineClass1(Native Method)
                  at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
                  at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
                  at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
                  at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
                  at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
                  at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
                  at java.security.AccessController.doPrivileged(Native Method)
                  at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
                  at org.grails.launcher.RootLoader.oldFindClass(RootLoader.java:143)
                  at org.grails.launcher.RootLoader.loadClass(RootLoader.java:115)
                  at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
                  at org.grails.launcher.GrailsLauncher.<init>(GrailsLauncher.java:70)
                  ... 21 more
          [INFO] ------------------------------------------------------------------------
          [INFO] Total time: 10 seconds
          [INFO] Finished at: Wed Feb 01 21:54:11 PST 2012
          [INFO] Final Memory: 19M/48M
          [INFO] ------------------------------------------------------------------------
          

          If I comment out the following profile everything seems to work fine.

            <profiles>
              <profile>
                <id>tools</id>
                <activation>
                  <property>
                    <name>java.vendor</name>
                    <value>Sun Microsystems Inc.</value>
                  </property>
                </activation>
                <dependencies>
                  <dependency>
                    <groupId>com.sun</groupId>
                    <artifactId>tools</artifactId>
                    <version>${java.version}</version>
                    <scope>system</scope>
                    <systemPath>${java.home}/../lib/tools.jar</systemPath>
                  </dependency>
                </dependencies>
              </profile>
            </profiles>
          
          Show
          Ben McGuire added a comment - - edited Running on win7 with jdk 1.6.0_20. When using the archetype generated pom I get the following error when running mvn grails:run-app. mvn grails:run-app -e + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building A custom grails project [INFO] task-segment: [grails:run-app] [INFO] ------------------------------------------------------------------------ [INFO] [grails:run-app {execution: default-cli}] Downloading: http://maven-ro.qualcomm.com/content/groups/ems_repo/com/sun/tools/1.6.0_20/tools-1.6.0_20.pom [INFO] Unable to find resource 'com.sun:tools:pom:1.6.0_20' in repository sonatype-nexus-staging2 (https://oss.sonatype.org/content/groups/staging) Downloading: http://maven-ro.qualcomm.com/content/groups/ems_repo/com/sun/tools/1.6.0_20/tools-1.6.0_20.pom [INFO] Unable to find resource 'com.sun:tools:pom:1.6.0_20' in repository ems_repo (http://maven-ro.qualcomm.com/content/groups/ems_repo) Downloading: http://maven-ro.qualcomm.com/content/groups/ems_repo/com/sun/tools/1.6.0_20/tools-1.6.0_20.pom [INFO] Unable to find resource 'com.sun:tools:pom:1.6.0_20' in repository grails (http://repo.grails.org/grails/core) Downloading: http://maven-ro.qualcomm.com/content/groups/ems_repo/com/sun/tools/1.6.0_20/tools-1.6.0_20.pom [INFO] Unable to find resource 'com.sun:tools:pom:1.6.0_20' in repository central (http://repo1.maven.org/maven2) [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Unable to start Grails Embedded error: java.lang.NullPointerException [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Unable to start Grails at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to start Grails at org.grails.maven.plugin.AbstractGrailsMojo.runGrails(AbstractGrailsMojo.java:248) at org.grails.maven.plugin.GrailsRunAppMojo.execute(GrailsRunAppMojo.java:35) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) ... 17 more Caused by: java.lang.RuntimeException: java.lang.NullPointerException at org.grails.launcher.GrailsLauncher.<init>(GrailsLauncher.java:83) at org.grails.maven.plugin.AbstractGrailsMojo.runGrails(AbstractGrailsMojo.java:211) ... 20 more Caused by: java.lang.NullPointerException at sun.net.util.URLUtil.urlNoFragString(URLUtil.java:29) at sun.misc.URLClassPath.getLoader(URLClassPath.java:292) at sun.misc.URLClassPath.getResource(URLClassPath.java:168) at java.net.URLClassLoader$1.run(URLClassLoader.java:194) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at org.grails.launcher.RootLoader.oldFindClass(RootLoader.java:143) at org.grails.launcher.RootLoader.loadClass(RootLoader.java:115) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) at java.lang.ClassLoader.defineClass(ClassLoader.java:616) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at org.grails.launcher.RootLoader.oldFindClass(RootLoader.java:143) at org.grails.launcher.RootLoader.loadClass(RootLoader.java:115) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) at java.lang.ClassLoader.defineClass(ClassLoader.java:616) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at org.grails.launcher.RootLoader.oldFindClass(RootLoader.java:143) at org.grails.launcher.RootLoader.loadClass(RootLoader.java:115) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at org.grails.launcher.GrailsLauncher.<init>(GrailsLauncher.java:70) ... 21 more [INFO] ------------------------------------------------------------------------ [INFO] Total time: 10 seconds [INFO] Finished at: Wed Feb 01 21:54:11 PST 2012 [INFO] Final Memory: 19M/48M [INFO] ------------------------------------------------------------------------ If I comment out the following profile everything seems to work fine. <profiles> <profile> <id>tools</id> <activation> <property> <name>java.vendor</name> <value>Sun Microsystems Inc.</value> </property> </activation> <dependencies> <dependency> <groupId>com.sun</groupId> <artifactId>tools</artifactId> <version>${java.version}</version> <scope>system</scope> <systemPath>${java.home}/../lib/tools.jar</systemPath> </dependency> </dependencies> </profile> </profiles>
          Hide
          Ben McGuire added a comment - - edited

          Running on win7 with jdk 1.6.0_20 and maven 2.2.1. Can not create war file using maven.

          mvn org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-4:generate 
          	-DarchetypeGroupId=org.grails -DarchetypeArtifactId=grails-maven-archetype  
          	-DarchetypeVersion=2.0.0 
          	-DgroupId=example 
          	-DartifactId=test-war
          
          cd test-war
          mvn grails:init
          mvn clean install
          

          results in the following (output in attached file mvn_clean_install_output.txt)

          mvn clean install -e
          + Error stacktraces are turned on.
          [INFO] Scanning for projects...
          [INFO] ------------------------------------------------------------------------
          [INFO] Building A custom grails project
          [INFO]    task-segment: [clean, install]
          [INFO] ------------------------------------------------------------------------
          [INFO] [clean:clean {execution: default-clean}]
          [INFO] Deleting C:\development\projects\java\web_apps\test-war\target
          [INFO] [grails:maven-clean {execution: default}]
          
          |Loading Grails 2.0.0
          |Configuring classpath
          Error |
          log4j:WARN No appenders could be found for logger (org.springframework.core.io.support.PathMatchingResourcePatternResolver).
          Error |
          log4j:WARN Please initialize the log4j system properly.
          Error |
          log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
          |Running pre-compiled script
          .
          |Environment set to development
          ................
          |Application cleaned.
          [INFO] [grails:validate {execution: default}]
          [INFO] [grails:init {execution: default}]
          [INFO] [grails:config-directories {execution: default}]
          [INFO] [resources:resources {execution: default-resources}]
          [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
          [INFO] Copying 0 resource
          [INFO] [compiler:compile {execution: default-compile}]
          [INFO] Nothing to compile - all classes are up to date
          [INFO] [grails:maven-compile {execution: default}]
          [INFO] ------------------------------------------------------------------------
          [ERROR] BUILD ERROR
          [INFO] ------------------------------------------------------------------------
          [INFO] Unable to start Grails
          
          Embedded error: java.lang.reflect.InvocationTargetException
          Native Library C:\Users\BenMcGuire\AppData\Local\Temp\jline_.dll already loaded in another classloader
          [INFO] ------------------------------------------------------------------------
          [INFO] Trace
          org.apache.maven.lifecycle.LifecycleExecutionException: Unable to start Grails
                  at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719)
                  at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
                  at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
                  at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
                  at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
                  at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
                  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
                  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
                  at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
                  at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
                  at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
                  at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
                  at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
          Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to start Grails
                  at org.grails.maven.plugin.AbstractGrailsMojo.runGrails(AbstractGrailsMojo.java:248)
                  at org.grails.maven.plugin.AbstractGrailsMojo.runGrails(AbstractGrailsMojo.java:193)
                  at org.grails.maven.plugin.MvnCompileMojo.execute(MvnCompileMojo.java:41)
                  at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
                  at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
                  ... 17 more
          Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
                  at org.grails.launcher.GrailsLauncher.launch(GrailsLauncher.java:150)
                  at org.grails.maven.plugin.AbstractGrailsMojo.runGrails(AbstractGrailsMojo.java:240)
                  ... 21 more
          Caused by: java.lang.reflect.InvocationTargetException
                  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
                  at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
                  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
                  at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
                  at org.grails.launcher.GrailsLauncher.createScriptRunner(GrailsLauncher.java:253)
                  at org.grails.launcher.GrailsLauncher.launch(GrailsLauncher.java:143)
                  ... 22 more
          Caused by: java.lang.UnsatisfiedLinkError: Native Library C:\Users\BenMcGuire\AppData\Local\Temp\jline_.dll already loaded in another classloader
                  at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1768)
                  at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1699)
                  at java.lang.Runtime.load0(Runtime.java:770)
                  at java.lang.System.load(System.java:1003)
                  at jline.WindowsTerminal.loadLibrary(WindowsTerminal.java:322)
                  at jline.WindowsTerminal.initializeTerminal(WindowsTerminal.java:240)
                  at jline.Terminal.setupTerminal(Terminal.java:75)
                  at jline.Terminal.getTerminal(Terminal.java:26)
                  at jline.ConsoleReader.<init>(ConsoleReader.java:174)
                  at jline.ConsoleReader.<init>(ConsoleReader.java:169)
                  at jline.ConsoleReader.<init>(ConsoleReader.java:157)
                  at grails.build.logging.GrailsConsole.createConsoleReader(GrailsConsole.java:137)
                  at grails.build.logging.GrailsConsole.<init>(GrailsConsole.java:124)
                  at grails.build.logging.GrailsConsole.createInstance(GrailsConsole.java:223)
                  at grails.build.logging.GrailsConsole.getInstance(GrailsConsole.java:200)
                  at org.codehaus.groovy.grails.cli.GrailsScriptRunner.<init>(GrailsScriptRunner.java:94)
                  ... 28 more
          [INFO] ------------------------------------------------------------------------
          [INFO] Total time: 13 seconds
          [INFO] Finished at: Wed Feb 01 22:49:58 PST 2012
          [INFO] Final Memory: 38M/92M
          [INFO] ------------------------------------------------------------------------
          
          Show
          Ben McGuire added a comment - - edited Running on win7 with jdk 1.6.0_20 and maven 2.2.1. Can not create war file using maven. mvn org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-4:generate -DarchetypeGroupId=org.grails -DarchetypeArtifactId=grails-maven-archetype -DarchetypeVersion=2.0.0 -DgroupId=example -DartifactId=test-war cd test-war mvn grails:init mvn clean install results in the following (output in attached file mvn_clean_install_output.txt) mvn clean install -e + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building A custom grails project [INFO] task-segment: [clean, install] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean {execution: default-clean}] [INFO] Deleting C:\development\projects\java\web_apps\test-war\target [INFO] [grails:maven-clean {execution: default}] |Loading Grails 2.0.0 |Configuring classpath Error | log4j:WARN No appenders could be found for logger (org.springframework.core.io.support.PathMatchingResourcePatternResolver). Error | log4j:WARN Please initialize the log4j system properly. Error | log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. |Running pre-compiled script . |Environment set to development ................ |Application cleaned. [INFO] [grails:validate {execution: default}] [INFO] [grails:init {execution: default}] [INFO] [grails:config-directories {execution: default}] [INFO] [resources:resources {execution: default-resources}] [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 0 resource [INFO] [compiler:compile {execution: default-compile}] [INFO] Nothing to compile - all classes are up to date [INFO] [grails:maven-compile {execution: default}] [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Unable to start Grails Embedded error: java.lang.reflect.InvocationTargetException Native Library C:\Users\BenMcGuire\AppData\Local\Temp\jline_.dll already loaded in another classloader [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Unable to start Grails at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to start Grails at org.grails.maven.plugin.AbstractGrailsMojo.runGrails(AbstractGrailsMojo.java:248) at org.grails.maven.plugin.AbstractGrailsMojo.runGrails(AbstractGrailsMojo.java:193) at org.grails.maven.plugin.MvnCompileMojo.execute(MvnCompileMojo.java:41) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) ... 17 more Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at org.grails.launcher.GrailsLauncher.launch(GrailsLauncher.java:150) at org.grails.maven.plugin.AbstractGrailsMojo.runGrails(AbstractGrailsMojo.java:240) ... 21 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at org.grails.launcher.GrailsLauncher.createScriptRunner(GrailsLauncher.java:253) at org.grails.launcher.GrailsLauncher.launch(GrailsLauncher.java:143) ... 22 more Caused by: java.lang.UnsatisfiedLinkError: Native Library C:\Users\BenMcGuire\AppData\Local\Temp\jline_.dll already loaded in another classloader at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1768) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1699) at java.lang.Runtime.load0(Runtime.java:770) at java.lang.System.load(System.java:1003) at jline.WindowsTerminal.loadLibrary(WindowsTerminal.java:322) at jline.WindowsTerminal.initializeTerminal(WindowsTerminal.java:240) at jline.Terminal.setupTerminal(Terminal.java:75) at jline.Terminal.getTerminal(Terminal.java:26) at jline.ConsoleReader.<init>(ConsoleReader.java:174) at jline.ConsoleReader.<init>(ConsoleReader.java:169) at jline.ConsoleReader.<init>(ConsoleReader.java:157) at grails.build.logging.GrailsConsole.createConsoleReader(GrailsConsole.java:137) at grails.build.logging.GrailsConsole.<init>(GrailsConsole.java:124) at grails.build.logging.GrailsConsole.createInstance(GrailsConsole.java:223) at grails.build.logging.GrailsConsole.getInstance(GrailsConsole.java:200) at org.codehaus.groovy.grails.cli.GrailsScriptRunner.<init>(GrailsScriptRunner.java:94) ... 28 more [INFO] ------------------------------------------------------------------------ [INFO] Total time: 13 seconds [INFO] Finished at: Wed Feb 01 22:49:58 PST 2012 [INFO] Final Memory: 38M/92M [INFO] ------------------------------------------------------------------------
          Hide
          Graeme Rocher added a comment -

          JDK 1.2? You're using an unsupported version of Java

          Show
          Graeme Rocher added a comment - JDK 1.2? You're using an unsupported version of Java
          Hide
          Ben McGuire added a comment -

          Sorry that should read 1.6.0_20

          Show
          Ben McGuire added a comment - Sorry that should read 1.6.0_20
          Hide
          mike added a comment -

          Couple things I had to change:
          1) Turned off pgp in the two pom files when installing locally (not important)
          2) Couple of dependencies aren't in Maven Central (springframework uaa, org.eclipse.jdt.core.compiler - 3.6.2) so I installed the uaa release into my local repo and changed the eclipse compiler to 3.7.1 like so:

          <dependency>
          <groupId>org.eclipse.jdt.core.compiler</groupId>
          <artifactId>ecj</artifactId>
          <version>3.7.1</version>
          </dependency>
          <dependency>
          <groupId>org.grails</groupId>
          <artifactId>grails-plugin-tomcat</artifactId>
          <version>$

          {grails.version}

          </version>
          <exclusions>
          <exclusion>
          <groupId>org.grails</groupId>
          <artifactId>grails-web</artifactId>
          </exclusion>
          <exclusion>
          <groupId>javax.servlet</groupId>
          <artifactId>servlet-api</artifactId>
          </exclusion>
          <exclusion>
          <groupId>org.hibernate.java-persistence</groupId>
          <artifactId>jpa-api</artifactId>
          </exclusion>
          <exclusion>
          <groupId>org.eclipse.jdt.core.compiler</groupId>
          <artifactId>ecj</artifactId>
          </exclusion>
          </exclusions>
          </dependency>

          3) Springsource tool suite didn't like some of the pom settings:

          Plugin execution not covered by lifecycle configuration: org.grails:grails-maven-plugin:2.0.0:config-directories (execution: default, phase: generate-sources) pom.xml /test-grails-maven-app line 56 Maven Project Build Lifecycle Mapping Problem

          so I added:

          <pluginManagement >
          <plugins>
          <!-This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.->
          <plugin>
          <groupId>org.eclipse.m2e</groupId>
          <artifactId>lifecycle-mapping</artifactId>
          <version>1.0.0</version>
          <configuration>
          <lifecycleMappingMetadata>
          <pluginExecutions>
          <pluginExecution>
          <pluginExecutionFilter>
          <groupId>org.grails</groupId>
          <artifactId>grails-maven-plugin</artifactId>
          <versionRange>[2.0.0,)</versionRange>
          <goals>
          <goal>maven-compile</goal>
          <goal>config-directories</goal>
          <goal>init</goal>
          <goal>validate</goal>
          </goals>
          </pluginExecutionFilter>
          <action>
          <ignore></ignore>
          </action>
          </pluginExecution>
          </pluginExecutions>
          </lifecycleMappingMetadata>
          </configuration>
          </plugin>
          </plugins>
          </pluginManagement>

          too the newly created pom from the archetype.

          After that everything seems to work correctly. Running grails:run-app worked without a hitch

          Show
          mike added a comment - Couple things I had to change: 1) Turned off pgp in the two pom files when installing locally (not important) 2) Couple of dependencies aren't in Maven Central (springframework uaa, org.eclipse.jdt.core.compiler - 3.6.2) so I installed the uaa release into my local repo and changed the eclipse compiler to 3.7.1 like so: <dependency> <groupId>org.eclipse.jdt.core.compiler</groupId> <artifactId>ecj</artifactId> <version>3.7.1</version> </dependency> <dependency> <groupId>org.grails</groupId> <artifactId>grails-plugin-tomcat</artifactId> <version>$ {grails.version} </version> <exclusions> <exclusion> <groupId>org.grails</groupId> <artifactId>grails-web</artifactId> </exclusion> <exclusion> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> </exclusion> <exclusion> <groupId>org.hibernate.java-persistence</groupId> <artifactId>jpa-api</artifactId> </exclusion> <exclusion> <groupId>org.eclipse.jdt.core.compiler</groupId> <artifactId>ecj</artifactId> </exclusion> </exclusions> </dependency> 3) Springsource tool suite didn't like some of the pom settings: Plugin execution not covered by lifecycle configuration: org.grails:grails-maven-plugin:2.0.0:config-directories (execution: default, phase: generate-sources) pom.xml /test-grails-maven-app line 56 Maven Project Build Lifecycle Mapping Problem so I added: <pluginManagement > <plugins> <!- This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself. -> <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId> <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions> <pluginExecution> <pluginExecutionFilter> <groupId>org.grails</groupId> <artifactId>grails-maven-plugin</artifactId> <versionRange>[2.0.0,)</versionRange> <goals> <goal>maven-compile</goal> <goal>config-directories</goal> <goal>init</goal> <goal>validate</goal> </goals> </pluginExecutionFilter> <action> <ignore></ignore> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata> </configuration> </plugin> </plugins> </pluginManagement> too the newly created pom from the archetype. After that everything seems to work correctly. Running grails:run-app worked without a hitch
          Hide
          Ben McGuire added a comment - - edited

          The attached pom.xml works with win7 jdk 1.6.0_20. The only change I made was to comment out the profiles section at the bottom of the pom.xml

          Show
          Ben McGuire added a comment - - edited The attached pom.xml works with win7 jdk 1.6.0_20. The only change I made was to comment out the profiles section at the bottom of the pom.xml
          Hide
          Alex Bax added a comment -

          Getting an NPE inside GrailsLauncher, when trying to load GrailsBuildSettings class (NPE, not ClassNotFound), discussed this with Jonathan.

          Show
          Alex Bax added a comment - Getting an NPE inside GrailsLauncher, when trying to load GrailsBuildSettings class (NPE, not ClassNotFound), discussed this with Jonathan.
          Hide
          Alexander Kistanov added a comment -

          Grails 2.0 app failed to start with "mvn grails:run-app" command (without maven works well "grails run-app").
          See attached mvn_grails_runapp.log file.
          It seems that a problem with incorrect grails plugin dependencies: grails-hibernate, grails-test, grails-plugin-testing v 2.0.0 all dependes on grails-datastore-gorm v 1.0.0 which depends on old Spring framework: v 3.0.5 instead of v 3.1.0

          Show
          Alexander Kistanov added a comment - Grails 2.0 app failed to start with "mvn grails:run-app" command (without maven works well "grails run-app"). See attached mvn_grails_runapp.log file. It seems that a problem with incorrect grails plugin dependencies: grails-hibernate, grails-test, grails-plugin-testing v 2.0.0 all dependes on grails-datastore-gorm v 1.0.0 which depends on old Spring framework: v 3.0.5 instead of v 3.1.0
          Hide
          Graeme Rocher added a comment -

          @Alex Bax - could you post the stack trace? Thanks

          Show
          Graeme Rocher added a comment - @Alex Bax - could you post the stack trace? Thanks
          Hide
          Sam Reghenzi added a comment - - edited

          On a win xp jdk 1.6.0_20 maven 3.0.3

          executing mvn package

          with profile element in grails-app's pom

          org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.grails:grails-maven-plugin:2.0.0:maven-clean (default) on project
          Grails
                  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
                  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
                  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
                  at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
                  at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
                  at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
                  at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
                  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
                  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
                  at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
                  at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
                  at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
                  at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
                  at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
                  at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
          Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to start Grails
                  at org.grails.maven.plugin.AbstractGrailsMojo.runGrails(AbstractGrailsMojo.java:248)
                  at org.grails.maven.plugin.AbstractGrailsMojo.runGrails(AbstractGrailsMojo.java:193)
                  at org.grails.maven.plugin.MvnCleanMojo.execute(MvnCleanMojo.java:41)
                  at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
                  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
                  ... 19 more
          Caused by: java.lang.RuntimeException: java.lang.NullPointerException
                  at org.grails.launcher.GrailsLauncher.<init>(GrailsLauncher.java:83)
                  at org.grails.maven.plugin.AbstractGrailsMojo.runGrails(AbstractGrailsMojo.java:211)
                  ... 23 more
          Caused by: java.lang.NullPointerException
                  at sun.net.util.URLUtil.urlNoFragString(URLUtil.java:29)
                  at sun.misc.URLClassPath.getLoader(URLClassPath.java:292)
                  at sun.misc.URLClassPath.getResource(URLClassPath.java:168)
                  at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
                  at java.security.AccessController.doPrivileged(Native Method)
                  at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
                  at org.grails.launcher.RootLoader.oldFindClass(RootLoader.java:143)
                  at org.grails.launcher.RootLoader.loadClass(RootLoader.java:115)
                  at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
                  at java.lang.ClassLoader.defineClass1(Native Method)
                  at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
                  at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
                  at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
                  at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
                  at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
                  at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
                  at java.security.AccessController.doPrivileged(Native Method)
                  at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
                  at org.grails.launcher.RootLoader.oldFindClass(RootLoader.java:143)
                  at org.grails.launcher.RootLoader.loadClass(RootLoader.java:115)
                  at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
                  at java.lang.ClassLoader.defineClass1(Native Method)
                  at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
                  at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
                  at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
                  at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
                  at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
                  at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
                  at java.security.AccessController.doPrivileged(Native Method)
                  at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
                  at org.grails.launcher.RootLoader.oldFindClass(RootLoader.java:143)
                  at org.grails.launcher.RootLoader.loadClass(RootLoader.java:115)
                  at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
                  at org.grails.launcher.GrailsLauncher.<init>(GrailsLauncher.java:70)
          

          WITHOUT profile element in grails-app's pom

          org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.grails:grails-maven-plugin:2.0.0:maven-compile (default) on project my-killer-app: Unable to star
          t Grails
                  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
                  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
                  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
                  at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
                  at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
                  at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
                  at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
                  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
                  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
                  at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
                  at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
                  at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
                  at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
                  at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
                  at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
          Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to start Grails
                  at org.grails.maven.plugin.AbstractGrailsMojo.runGrails(AbstractGrailsMojo.java:248)
                  at org.grails.maven.plugin.AbstractGrailsMojo.runGrails(AbstractGrailsMojo.java:193)
                  at org.grails.maven.plugin.MvnCompileMojo.execute(MvnCompileMojo.java:41)
                  at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
                  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
                  ... 19 more
          Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
                  at org.grails.launcher.GrailsLauncher.launch(GrailsLauncher.java:150)
                  at org.grails.maven.plugin.AbstractGrailsMojo.runGrails(AbstractGrailsMojo.java:240)
                  ... 23 more
          Caused by: java.lang.reflect.InvocationTargetException
                  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
                  at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
                  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
                  at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
                  at org.grails.launcher.GrailsLauncher.createScriptRunner(GrailsLauncher.java:253)
                  at org.grails.launcher.GrailsLauncher.launch(GrailsLauncher.java:143)
                  ... 24 more
          Caused by: java.lang.UnsatisfiedLinkError: Native Library C:\Documents and Settings\uzar\Impostazioni locali\Temp\jline_.dll already loaded in another classloader
                  at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1768)
                  at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1699)
                  at java.lang.Runtime.load0(Runtime.java:770)
                  at java.lang.System.load(System.java:1003)
                  at jline.WindowsTerminal.loadLibrary(WindowsTerminal.java:322)
                  at jline.WindowsTerminal.initializeTerminal(WindowsTerminal.java:240)
                  at jline.Terminal.setupTerminal(Terminal.java:75)
                  at jline.Terminal.getTerminal(Terminal.java:26)
                  at jline.ConsoleReader.<init>(ConsoleReader.java:174)
                  at jline.ConsoleReader.<init>(ConsoleReader.java:169)
                  at jline.ConsoleReader.<init>(ConsoleReader.java:157)
                  at grails.build.logging.GrailsConsole.createConsoleReader(GrailsConsole.java:137)
                  at grails.build.logging.GrailsConsole.<init>(GrailsConsole.java:124)
                  at grails.build.logging.GrailsConsole.createInstance(GrailsConsole.java:223)
                  at grails.build.logging.GrailsConsole.getInstance(GrailsConsole.java:200)
                  at org.codehaus.groovy.grails.cli.GrailsScriptRunner.<init>(GrailsScriptRunner.java:94)
                  ... 30 more
          

          Executing mvn grails:package works as expected, but mvn clean grails:maven-grails-app-war raises the same exception above

          I spotted this code in the "AbstractGrailsMojo.java" just before the line that throws the second exception:

          // Enable the plain output for the Grails command to fix an issue with JLine
          			// consuming the standard output after execution via Maven.
          			args = (args != null) ? "--plain-output " + args : "--plain-output";
          

          I Hope it helps

          Show
          Sam Reghenzi added a comment - - edited On a win xp jdk 1.6.0_20 maven 3.0.3 executing mvn package with profile element in grails-app's pom org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.grails:grails-maven-plugin:2.0.0:maven-clean ( default ) on project Grails at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to start Grails at org.grails.maven.plugin.AbstractGrailsMojo.runGrails(AbstractGrailsMojo.java:248) at org.grails.maven.plugin.AbstractGrailsMojo.runGrails(AbstractGrailsMojo.java:193) at org.grails.maven.plugin.MvnCleanMojo.execute(MvnCleanMojo.java:41) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) ... 19 more Caused by: java.lang.RuntimeException: java.lang.NullPointerException at org.grails.launcher.GrailsLauncher.<init>(GrailsLauncher.java:83) at org.grails.maven.plugin.AbstractGrailsMojo.runGrails(AbstractGrailsMojo.java:211) ... 23 more Caused by: java.lang.NullPointerException at sun.net.util.URLUtil.urlNoFragString(URLUtil.java:29) at sun.misc.URLClassPath.getLoader(URLClassPath.java:292) at sun.misc.URLClassPath.getResource(URLClassPath.java:168) at java.net.URLClassLoader$1.run(URLClassLoader.java:194) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at org.grails.launcher.RootLoader.oldFindClass(RootLoader.java:143) at org.grails.launcher.RootLoader.loadClass(RootLoader.java:115) at java.lang. ClassLoader .loadClass( ClassLoader .java:248) at java.lang. ClassLoader .defineClass1(Native Method) at java.lang. ClassLoader .defineClassCond( ClassLoader .java:632) at java.lang. ClassLoader .defineClass( ClassLoader .java:616) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at org.grails.launcher.RootLoader.oldFindClass(RootLoader.java:143) at org.grails.launcher.RootLoader.loadClass(RootLoader.java:115) at java.lang. ClassLoader .loadClass( ClassLoader .java:248) at java.lang. ClassLoader .defineClass1(Native Method) at java.lang. ClassLoader .defineClassCond( ClassLoader .java:632) at java.lang. ClassLoader .defineClass( ClassLoader .java:616) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at org.grails.launcher.RootLoader.oldFindClass(RootLoader.java:143) at org.grails.launcher.RootLoader.loadClass(RootLoader.java:115) at java.lang. ClassLoader .loadClass( ClassLoader .java:248) at org.grails.launcher.GrailsLauncher.<init>(GrailsLauncher.java:70) WITHOUT profile element in grails-app's pom org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.grails:grails-maven-plugin:2.0.0:maven-compile ( default ) on project my-killer-app: Unable to star t Grails at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to start Grails at org.grails.maven.plugin.AbstractGrailsMojo.runGrails(AbstractGrailsMojo.java:248) at org.grails.maven.plugin.AbstractGrailsMojo.runGrails(AbstractGrailsMojo.java:193) at org.grails.maven.plugin.MvnCompileMojo.execute(MvnCompileMojo.java:41) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) ... 19 more Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at org.grails.launcher.GrailsLauncher.launch(GrailsLauncher.java:150) at org.grails.maven.plugin.AbstractGrailsMojo.runGrails(AbstractGrailsMojo.java:240) ... 23 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at org.grails.launcher.GrailsLauncher.createScriptRunner(GrailsLauncher.java:253) at org.grails.launcher.GrailsLauncher.launch(GrailsLauncher.java:143) ... 24 more Caused by: java.lang.UnsatisfiedLinkError: Native Library C:\Documents and Settings\uzar\Impostazioni locali\Temp\jline_.dll already loaded in another classloader at java.lang. ClassLoader .loadLibrary0( ClassLoader .java:1768) at java.lang. ClassLoader .loadLibrary( ClassLoader .java:1699) at java.lang. Runtime .load0( Runtime .java:770) at java.lang. System .load( System .java:1003) at jline.WindowsTerminal.loadLibrary(WindowsTerminal.java:322) at jline.WindowsTerminal.initializeTerminal(WindowsTerminal.java:240) at jline.Terminal.setupTerminal(Terminal.java:75) at jline.Terminal.getTerminal(Terminal.java:26) at jline.ConsoleReader.<init>(ConsoleReader.java:174) at jline.ConsoleReader.<init>(ConsoleReader.java:169) at jline.ConsoleReader.<init>(ConsoleReader.java:157) at grails.build.logging.GrailsConsole.createConsoleReader(GrailsConsole.java:137) at grails.build.logging.GrailsConsole.<init>(GrailsConsole.java:124) at grails.build.logging.GrailsConsole.createInstance(GrailsConsole.java:223) at grails.build.logging.GrailsConsole.getInstance(GrailsConsole.java:200) at org.codehaus.groovy.grails.cli.GrailsScriptRunner.<init>(GrailsScriptRunner.java:94) ... 30 more Executing mvn grails:package works as expected, but mvn clean grails:maven-grails-app-war raises the same exception above I spotted this code in the "AbstractGrailsMojo.java" just before the line that throws the second exception: // Enable the plain output for the Grails command to fix an issue with JLine // consuming the standard output after execution via Maven. args = (args != null ) ? "--plain-output " + args : "--plain-output" ; I Hope it helps
          Hide
          Sam Reghenzi added a comment -

          I did further research and the basic problem is that WindowsTerminal() of jline is called for each GrailsConsole. This tries to load the dll multiple times.

          A GrailsConsole is created for each maven goal.

          In fact running a single goal ( ex grails:maven-grails-app-war ) works

          Possible solutions are (IMHO)

          • use Terminal.getTerminal() instead of new WindowsTerminal() in GrailsConsole
          • foreward parameters and if --non-interactive is apssed create WindowsTerminal and set setDirectConsole to false in GrailsConsole
          Show
          Sam Reghenzi added a comment - I did further research and the basic problem is that WindowsTerminal() of jline is called for each GrailsConsole. This tries to load the dll multiple times. A GrailsConsole is created for each maven goal. In fact running a single goal ( ex grails:maven-grails-app-war ) works Possible solutions are (IMHO) use Terminal.getTerminal() instead of new WindowsTerminal() in GrailsConsole foreward parameters and if --non-interactive is apssed create WindowsTerminal and set setDirectConsole to false in GrailsConsole
          Hide
          Graeme Rocher added a comment -

          Yeah unfortunately to fix this issue on Windows we're going to need to wait for Grails 2.0.1

          I think in general there needs to be a way to disable JLine integration for Maven, so I'll look at doing that

          Show
          Graeme Rocher added a comment - Yeah unfortunately to fix this issue on Windows we're going to need to wait for Grails 2.0.1 I think in general there needs to be a way to disable JLine integration for Maven, so I'll look at doing that
          Hide
          Alex Bax added a comment -

          Stack for NPE in GrailsLauncher

          Show
          Alex Bax added a comment - Stack for NPE in GrailsLauncher
          Hide
          Thorsten Marx added a comment -

          running a simple "mvn install" on a grails 2 project i got a nullpointer

          NullPointerException
          [ERROR] Failed to execute goal org.grails:grails-maven-plugin:2.0.0:maven-clean (default) on project uxbridge.analytics: Unable to start Grails: java.lang.NullPointerException -> [Help 1]
          org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.grails:grails-maven-plugin:2.0.0:maven-clean (default) on project uxbridge.analytics: Unable to start Grails
                  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
                  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
                  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
                  at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
                  at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
                  at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
                  at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
                  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
                  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
                  at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
                  at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
                  at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
                  at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
                  at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
                  at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
          Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to start Grails
                  at org.grails.maven.plugin.AbstractGrailsMojo.runGrails(AbstractGrailsMojo.java:248)
                  at org.grails.maven.plugin.AbstractGrailsMojo.runGrails(AbstractGrailsMojo.java:193)
                  at org.grails.maven.plugin.MvnCleanMojo.execute(MvnCleanMojo.java:41)
                  at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
                  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
                  ... 19 more
          Caused by: java.lang.RuntimeException: java.lang.NullPointerException
                  at org.grails.launcher.GrailsLauncher.<init>(GrailsLauncher.java:83)
                  at org.grails.maven.plugin.AbstractGrailsMojo.runGrails(AbstractGrailsMojo.java:211)
                  ... 23 more
          Caused by: java.lang.NullPointerException
                  at sun.net.util.URLUtil.urlNoFragString(URLUtil.java:29)
                  at sun.misc.URLClassPath.getLoader(URLClassPath.java:292)
                  at sun.misc.URLClassPath.getResource(URLClassPath.java:168)
                  at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
                  at java.security.AccessController.doPrivileged(Native Method)
                  at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
                  at org.grails.launcher.RootLoader.oldFindClass(RootLoader.java:143)
                  at org.grails.launcher.RootLoader.loadClass(RootLoader.java:115)
                  at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
                  at java.lang.ClassLoader.defineClass1(Native Method)
                  at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
                  at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
                  at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
                  at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
                  at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
                  at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
                  at java.security.AccessController.doPrivileged(Native Method)
                  at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
                  at org.grails.launcher.RootLoader.oldFindClass(RootLoader.java:143)
                  at org.grails.launcher.RootLoader.loadClass(RootLoader.java:115)
                  at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
                  at java.lang.ClassLoader.defineClass1(Native Method)
                  at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
                  at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
                  at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
                  at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
                  at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
                  at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
                  at java.security.AccessController.doPrivileged(Native Method)
                  at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
                  at org.grails.launcher.RootLoader.oldFindClass(RootLoader.java:143)
                  at org.grails.launcher.RootLoader.loadClass(RootLoader.java:115)
                  at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
                  at org.grails.launcher.GrailsLauncher.<init>(GrailsLauncher.java:70)
                  ... 24 more
          [ERROR]
          [ERROR]
          [ERROR] For more information about the errors and possible solutions, please read the following articles:
          [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
          

          any hints or suggestions

          Show
          Thorsten Marx added a comment - running a simple "mvn install" on a grails 2 project i got a nullpointer NullPointerException [ERROR] Failed to execute goal org.grails:grails-maven-plugin:2.0.0:maven-clean ( default ) on project uxbridge.analytics: Unable to start Grails: java.lang.NullPointerException -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.grails:grails-maven-plugin:2.0.0:maven-clean ( default ) on project uxbridge.analytics: Unable to start Grails at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to start Grails at org.grails.maven.plugin.AbstractGrailsMojo.runGrails(AbstractGrailsMojo.java:248) at org.grails.maven.plugin.AbstractGrailsMojo.runGrails(AbstractGrailsMojo.java:193) at org.grails.maven.plugin.MvnCleanMojo.execute(MvnCleanMojo.java:41) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) ... 19 more Caused by: java.lang.RuntimeException: java.lang.NullPointerException at org.grails.launcher.GrailsLauncher.<init>(GrailsLauncher.java:83) at org.grails.maven.plugin.AbstractGrailsMojo.runGrails(AbstractGrailsMojo.java:211) ... 23 more Caused by: java.lang.NullPointerException at sun.net.util.URLUtil.urlNoFragString(URLUtil.java:29) at sun.misc.URLClassPath.getLoader(URLClassPath.java:292) at sun.misc.URLClassPath.getResource(URLClassPath.java:168) at java.net.URLClassLoader$1.run(URLClassLoader.java:194) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at org.grails.launcher.RootLoader.oldFindClass(RootLoader.java:143) at org.grails.launcher.RootLoader.loadClass(RootLoader.java:115) at java.lang. ClassLoader .loadClass( ClassLoader .java:247) at java.lang. ClassLoader .defineClass1(Native Method) at java.lang. ClassLoader .defineClassCond( ClassLoader .java:631) at java.lang. ClassLoader .defineClass( ClassLoader .java:615) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at org.grails.launcher.RootLoader.oldFindClass(RootLoader.java:143) at org.grails.launcher.RootLoader.loadClass(RootLoader.java:115) at java.lang. ClassLoader .loadClass( ClassLoader .java:247) at java.lang. ClassLoader .defineClass1(Native Method) at java.lang. ClassLoader .defineClassCond( ClassLoader .java:631) at java.lang. ClassLoader .defineClass( ClassLoader .java:615) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at org.grails.launcher.RootLoader.oldFindClass(RootLoader.java:143) at org.grails.launcher.RootLoader.loadClass(RootLoader.java:115) at java.lang. ClassLoader .loadClass( ClassLoader .java:247) at org.grails.launcher.GrailsLauncher.<init>(GrailsLauncher.java:70) ... 24 more [ERROR] [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http: //cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException any hints or suggestions
          Hide
          Graeme Rocher added a comment -

          I've pushed some changes for Grails 2.0.1 that should fix the above issues, could the folks who were having trouble please clone and mvn install the following projects:

          https://github.com/grails/grails-maven
          https://github.com/grails/grails-maven-archetype
          https://github.com/grails/grails-dependencies

          Then try the plugin out. If all is well I will deploy asap.

          Thanks
          Graeme

          Show
          Graeme Rocher added a comment - I've pushed some changes for Grails 2.0.1 that should fix the above issues, could the folks who were having trouble please clone and mvn install the following projects: https://github.com/grails/grails-maven https://github.com/grails/grails-maven-archetype https://github.com/grails/grails-dependencies Then try the plugin out. If all is well I will deploy asap. Thanks Graeme
          Hide
          Graeme Rocher added a comment -

          Anybody had a change to test the latest code? Thanks for your help

          Show
          Graeme Rocher added a comment - Anybody had a change to test the latest code? Thanks for your help
          Hide
          Sam Reghenzi added a comment -

          I still have the dll problem.

          Built maven plugin and archetype from sources

          Here the stacktrace

           
          
          $ mvn -e clean package
          [INFO] Error stacktraces are turned on.
          [INFO] Scanning for projects...
          [WARNING]
          [WARNING] Some problems were encountered while building the effective model for example:my-app:war:1
          [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 91, column 15
          [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 34, column 17
          [WARNING]
          [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
          [WARNING]
          [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
          [WARNING]
          [INFO]
          [INFO] ------------------------------------------------------------------------
          [INFO] Building A custom grails project 1
          [INFO] ------------------------------------------------------------------------
          [INFO]
          [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ my-app ---
          [INFO] Deleting D:\grails\my-app\target
          [INFO]
          [INFO] --- grails-maven-plugin:2.0.1:maven-clean (default) @ my-app ---
          
          |Loading Grails 2.0.1
          |Configuring classpath
          |Running pre-compiled script
          .
          |Environment set to development
          ................
          |Application cleaned.
          [INFO]
          [INFO] --- grails-maven-plugin:2.0.1:validate (default) @ my-app ---
          [INFO]
          [INFO] --- grails-maven-plugin:2.0.1:init (default) @ my-app ---
          [INFO]
          [INFO] --- grails-maven-plugin:2.0.1:config-directories (default) @ my-app ---
          [INFO]
          [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ my-app ---
          [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
          [INFO] Copying 0 resource
          [INFO]
          [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ my-app ---
          [INFO] Nothing to compile - all classes are up to date
          [INFO]
          [INFO] --- grails-maven-plugin:2.0.1:maven-compile (default) @ my-app ---
          [INFO] ------------------------------------------------------------------------
          [INFO] BUILD FAILURE
          [INFO] ------------------------------------------------------------------------
          [INFO] Total time: 15.244s
          [INFO] Finished at: Thu Feb 23 14:58:20 CET 2012
          [INFO] Final Memory: 27M/65M
          [INFO] ------------------------------------------------------------------------
          [ERROR] Failed to execute goal org.grails:grails-maven-plugin:2.0.1:maven-compile (default) on project my-app: Unable to start Grails: java.lang.reflect.InvocationTargetException:
          Native Library C:\WORK\cygwin\tmp\jline_.dll already loaded in another classloader -> [Help 1]
          org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.grails:grails-maven-plugin:2.0.1:maven-compile (default) on project my-app: Unable to start Grail
          s
                  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
                  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
                  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
                  at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
                  at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
                  at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
                  at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
                  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
                  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
                  at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
                  at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
                  at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
                  at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
                  at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
                  at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
          Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to start Grails
                  at org.grails.maven.plugin.AbstractGrailsMojo.runGrails(AbstractGrailsMojo.java:271)
                  at org.grails.maven.plugin.AbstractGrailsMojo.runGrails(AbstractGrailsMojo.java:205)
                  at org.grails.maven.plugin.MvnCompileMojo.execute(MvnCompileMojo.java:41)
                  at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
                  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
                  ... 19 more
          Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
                  at org.grails.launcher.GrailsLauncher.launch(GrailsLauncher.java:150)
                  at org.grails.maven.plugin.AbstractGrailsMojo.runGrails(AbstractGrailsMojo.java:263)
                  ... 23 more
          Caused by: java.lang.reflect.InvocationTargetException
                  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
                  at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
                  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
                  at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
                  at org.grails.launcher.GrailsLauncher.createScriptRunner(GrailsLauncher.java:253)
                  at org.grails.launcher.GrailsLauncher.launch(GrailsLauncher.java:143)
                  ... 24 more
          Caused by: java.lang.UnsatisfiedLinkError: Native Library C:\WORK\cygwin\tmp\jline_.dll already loaded in another classloader
                  at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1768)
                  at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1699)
                  at java.lang.Runtime.load0(Runtime.java:770)
                  at java.lang.System.load(System.java:1003)
                  at jline.WindowsTerminal.loadLibrary(WindowsTerminal.java:322)
                  at jline.WindowsTerminal.initializeTerminal(WindowsTerminal.java:240)
                  at jline.Terminal.setupTerminal(Terminal.java:75)
                  at jline.Terminal.getTerminal(Terminal.java:26)
                  at jline.ConsoleReader.<init>(ConsoleReader.java:174)
                  at jline.ConsoleReader.<init>(ConsoleReader.java:169)
                  at jline.ConsoleReader.<init>(ConsoleReader.java:157)
                  at grails.build.logging.GrailsConsole.createConsoleReader(GrailsConsole.java:137)
                  at grails.build.logging.GrailsConsole.<init>(GrailsConsole.java:124)
                  at grails.build.logging.GrailsConsole.createInstance(GrailsConsole.java:223)
                  at grails.build.logging.GrailsConsole.getInstance(GrailsConsole.java:200)
                  at org.codehaus.groovy.grails.cli.GrailsScriptRunner.<init>(GrailsScriptRunner.java:94)
                  ... 30 more
          [ERROR]
          [ERROR] Re-run Maven using the -X switch to enable full debug logging.
          [ERROR]
          [ERROR] For more information about the errors and possible solutions, please read the following articles:
          [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
          
          
          Show
          Sam Reghenzi added a comment - I still have the dll problem. Built maven plugin and archetype from sources Here the stacktrace $ mvn -e clean package [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for example:my-app:war:1 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 91, column 15 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 34, column 17 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building A custom grails project 1 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.4.1:clean ( default -clean) @ my-app --- [INFO] Deleting D:\grails\my-app\target [INFO] [INFO] --- grails-maven-plugin:2.0.1:maven-clean ( default ) @ my-app --- |Loading Grails 2.0.1 |Configuring classpath |Running pre-compiled script . |Environment set to development ................ |Application cleaned. [INFO] [INFO] --- grails-maven-plugin:2.0.1:validate ( default ) @ my-app --- [INFO] [INFO] --- grails-maven-plugin:2.0.1:init ( default ) @ my-app --- [INFO] [INFO] --- grails-maven-plugin:2.0.1:config-directories ( default ) @ my-app --- [INFO] [INFO] --- maven-resources-plugin:2.4.3:resources ( default -resources) @ my-app --- [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 0 resource [INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile ( default -compile) @ my-app --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- grails-maven-plugin:2.0.1:maven-compile ( default ) @ my-app --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 15.244s [INFO] Finished at: Thu Feb 23 14:58:20 CET 2012 [INFO] Final Memory: 27M/65M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.grails:grails-maven-plugin:2.0.1:maven-compile ( default ) on project my-app: Unable to start Grails: java.lang.reflect.InvocationTargetException: Native Library C:\WORK\cygwin\tmp\jline_.dll already loaded in another classloader -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.grails:grails-maven-plugin:2.0.1:maven-compile ( default ) on project my-app: Unable to start Grail s at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to start Grails at org.grails.maven.plugin.AbstractGrailsMojo.runGrails(AbstractGrailsMojo.java:271) at org.grails.maven.plugin.AbstractGrailsMojo.runGrails(AbstractGrailsMojo.java:205) at org.grails.maven.plugin.MvnCompileMojo.execute(MvnCompileMojo.java:41) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) ... 19 more Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at org.grails.launcher.GrailsLauncher.launch(GrailsLauncher.java:150) at org.grails.maven.plugin.AbstractGrailsMojo.runGrails(AbstractGrailsMojo.java:263) ... 23 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at org.grails.launcher.GrailsLauncher.createScriptRunner(GrailsLauncher.java:253) at org.grails.launcher.GrailsLauncher.launch(GrailsLauncher.java:143) ... 24 more Caused by: java.lang.UnsatisfiedLinkError: Native Library C:\WORK\cygwin\tmp\jline_.dll already loaded in another classloader at java.lang. ClassLoader .loadLibrary0( ClassLoader .java:1768) at java.lang. ClassLoader .loadLibrary( ClassLoader .java:1699) at java.lang. Runtime .load0( Runtime .java:770) at java.lang. System .load( System .java:1003) at jline.WindowsTerminal.loadLibrary(WindowsTerminal.java:322) at jline.WindowsTerminal.initializeTerminal(WindowsTerminal.java:240) at jline.Terminal.setupTerminal(Terminal.java:75) at jline.Terminal.getTerminal(Terminal.java:26) at jline.ConsoleReader.<init>(ConsoleReader.java:174) at jline.ConsoleReader.<init>(ConsoleReader.java:169) at jline.ConsoleReader.<init>(ConsoleReader.java:157) at grails.build.logging.GrailsConsole.createConsoleReader(GrailsConsole.java:137) at grails.build.logging.GrailsConsole.<init>(GrailsConsole.java:124) at grails.build.logging.GrailsConsole.createInstance(GrailsConsole.java:223) at grails.build.logging.GrailsConsole.getInstance(GrailsConsole.java:200) at org.codehaus.groovy.grails.cli.GrailsScriptRunner.<init>(GrailsScriptRunner.java:94) ... 30 more [ERROR] [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http: //cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
          Hide
          Graeme Rocher added a comment -

          @Sam - could you try with:

          mvn -Djline.terminal=jline.UnsupportedTerminal clean package
          

          If the above works I will set this as the default and push the changes to the plugin

          Show
          Graeme Rocher added a comment - @Sam - could you try with: mvn -Djline.terminal=jline.UnsupportedTerminal clean package If the above works I will set this as the default and push the changes to the plugin
          Hide
          Sam Reghenzi added a comment -

          Sorry, same as before

          $ mvn -e -Djline.terminal=jline.UnsupportedTerminal clean package
          [INFO] Error stacktraces are turned on.
          [INFO] Scanning for projects...
          [WARNING]
          [WARNING] Some problems were encountered while building the effective model for example:my-app:war:1
          [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 91, column 15
          [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 34, column 17
          [WARNING]
          [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
          [WARNING]
          [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
          [WARNING]
          [INFO]
          [INFO] ------------------------------------------------------------------------
          [INFO] Building A custom grails project 1
          [INFO] ------------------------------------------------------------------------
          [INFO]
          [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ my-app ---
          [INFO] Deleting D:\grails\my-app\target
          [INFO]
          [INFO] --- grails-maven-plugin:2.0.1:maven-clean (default) @ my-app ---
          
          |Loading Grails 2.0.1
          |Configuring classpath
          |Running pre-compiled script
          .
          |Environment set to development
          ................
          |Application cleaned.
          [INFO]
          [INFO] --- grails-maven-plugin:2.0.1:validate (default) @ my-app ---
          [INFO]
          [INFO] --- grails-maven-plugin:2.0.1:init (default) @ my-app ---
          [INFO]
          [INFO] --- grails-maven-plugin:2.0.1:config-directories (default) @ my-app ---
          [INFO]
          [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ my-app ---
          [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
          [INFO] Copying 0 resource
          [INFO]
          [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ my-app ---
          [INFO] Nothing to compile - all classes are up to date
          [INFO]
          [INFO] --- grails-maven-plugin:2.0.1:maven-compile (default) @ my-app ---
          [INFO] ------------------------------------------------------------------------
          [INFO] BUILD FAILURE
          [INFO] ------------------------------------------------------------------------
          [INFO] Total time: 15.241s
          [INFO] Finished at: Thu Feb 23 16:20:40 CET 2012
          [INFO] Final Memory: 27M/65M
          [INFO] ------------------------------------------------------------------------
          [ERROR] Failed to execute goal org.grails:grails-maven-plugin:2.0.1:maven-compile (default) on project my-app: Unable to start Grails: java.lang.reflect.InvocationTargetException:
          Native Library C:\WORK\cygwin\tmp\jline_.dll already loaded in another classloader -> [Help 1]
          org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.grails:grails-maven-plugin:2.0.1:maven-compile (default) on project my-app: Unable to start Grail
          s
                  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
                  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
                  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
                  at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
                  at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
                  at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
                  at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
                  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
                  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
                  at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
                  at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
                  at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
                  at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
                  at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
                  at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
          Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to start Grails
                  at org.grails.maven.plugin.AbstractGrailsMojo.runGrails(AbstractGrailsMojo.java:271)
                  at org.grails.maven.plugin.AbstractGrailsMojo.runGrails(AbstractGrailsMojo.java:205)
                  at org.grails.maven.plugin.MvnCompileMojo.execute(MvnCompileMojo.java:41)
                  at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
                  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
                  ... 19 more
          Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
                  at org.grails.launcher.GrailsLauncher.launch(GrailsLauncher.java:150)
                  at org.grails.maven.plugin.AbstractGrailsMojo.runGrails(AbstractGrailsMojo.java:263)
                  ... 23 more
          Caused by: java.lang.reflect.InvocationTargetException
                  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
                  at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
                  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
                  at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
                  at org.grails.launcher.GrailsLauncher.createScriptRunner(GrailsLauncher.java:253)
                  at org.grails.launcher.GrailsLauncher.launch(GrailsLauncher.java:143)
                  ... 24 more
          Caused by: java.lang.UnsatisfiedLinkError: Native Library C:\WORK\cygwin\tmp\jline_.dll already loaded in another classloader
                  at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1768)
                  at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1699)
                  at java.lang.Runtime.load0(Runtime.java:770)
                  at java.lang.System.load(System.java:1003)
                  at jline.WindowsTerminal.loadLibrary(WindowsTerminal.java:322)
                  at jline.WindowsTerminal.initializeTerminal(WindowsTerminal.java:240)
                  at grails.build.logging.GrailsConsole.createTerminal(GrailsConsole.java:155)
                  at grails.build.logging.GrailsConsole.<init>(GrailsConsole.java:128)
                  at grails.build.logging.GrailsConsole.createInstance(GrailsConsole.java:223)
                  at grails.build.logging.GrailsConsole.getInstance(GrailsConsole.java:200)
                  at org.codehaus.groovy.grails.cli.GrailsScriptRunner.<init>(GrailsScriptRunner.java:94)
                  ... 30 more
          [ERROR]
          [ERROR] Re-run Maven using the -X switch to enable full debug logging.
          [ERROR]
          [ERROR] For more information about the errors and possible solutions, please read the following articles:
          [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
          
          Show
          Sam Reghenzi added a comment - Sorry, same as before $ mvn -e -Djline.terminal=jline.UnsupportedTerminal clean package [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for example:my-app:war:1 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 91, column 15 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 34, column 17 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building A custom grails project 1 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.4.1:clean ( default -clean) @ my-app --- [INFO] Deleting D:\grails\my-app\target [INFO] [INFO] --- grails-maven-plugin:2.0.1:maven-clean ( default ) @ my-app --- |Loading Grails 2.0.1 |Configuring classpath |Running pre-compiled script . |Environment set to development ................ |Application cleaned. [INFO] [INFO] --- grails-maven-plugin:2.0.1:validate ( default ) @ my-app --- [INFO] [INFO] --- grails-maven-plugin:2.0.1:init ( default ) @ my-app --- [INFO] [INFO] --- grails-maven-plugin:2.0.1:config-directories ( default ) @ my-app --- [INFO] [INFO] --- maven-resources-plugin:2.4.3:resources ( default -resources) @ my-app --- [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 0 resource [INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile ( default -compile) @ my-app --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- grails-maven-plugin:2.0.1:maven-compile ( default ) @ my-app --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 15.241s [INFO] Finished at: Thu Feb 23 16:20:40 CET 2012 [INFO] Final Memory: 27M/65M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.grails:grails-maven-plugin:2.0.1:maven-compile ( default ) on project my-app: Unable to start Grails: java.lang.reflect.InvocationTargetException: Native Library C:\WORK\cygwin\tmp\jline_.dll already loaded in another classloader -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.grails:grails-maven-plugin:2.0.1:maven-compile ( default ) on project my-app: Unable to start Grail s at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to start Grails at org.grails.maven.plugin.AbstractGrailsMojo.runGrails(AbstractGrailsMojo.java:271) at org.grails.maven.plugin.AbstractGrailsMojo.runGrails(AbstractGrailsMojo.java:205) at org.grails.maven.plugin.MvnCompileMojo.execute(MvnCompileMojo.java:41) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) ... 19 more Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at org.grails.launcher.GrailsLauncher.launch(GrailsLauncher.java:150) at org.grails.maven.plugin.AbstractGrailsMojo.runGrails(AbstractGrailsMojo.java:263) ... 23 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at org.grails.launcher.GrailsLauncher.createScriptRunner(GrailsLauncher.java:253) at org.grails.launcher.GrailsLauncher.launch(GrailsLauncher.java:143) ... 24 more Caused by: java.lang.UnsatisfiedLinkError: Native Library C:\WORK\cygwin\tmp\jline_.dll already loaded in another classloader at java.lang. ClassLoader .loadLibrary0( ClassLoader .java:1768) at java.lang. ClassLoader .loadLibrary( ClassLoader .java:1699) at java.lang. Runtime .load0( Runtime .java:770) at java.lang. System .load( System .java:1003) at jline.WindowsTerminal.loadLibrary(WindowsTerminal.java:322) at jline.WindowsTerminal.initializeTerminal(WindowsTerminal.java:240) at grails.build.logging.GrailsConsole.createTerminal(GrailsConsole.java:155) at grails.build.logging.GrailsConsole.<init>(GrailsConsole.java:128) at grails.build.logging.GrailsConsole.createInstance(GrailsConsole.java:223) at grails.build.logging.GrailsConsole.getInstance(GrailsConsole.java:200) at org.codehaus.groovy.grails.cli.GrailsScriptRunner.<init>(GrailsScriptRunner.java:94) ... 30 more [ERROR] [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http: //cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
          Hide
          Graeme Rocher added a comment -

          Argh.. ok this is going to have to wait until 2.0.2 I'm afraid, since it impacts Windows users only I will release the 2.0.1 plugin as is with this issue a known issue.

          I imagine if you change your "grails-dependencies" version to 2.0.2.BUILD-SNAPSHOT then the problem will go away:

            <properties>
              <grails.version>2.0.2.BUILD-SNAPSHOT</grails.version>
            </properties>
          
          

          That is of course if you are willing to use the snapshot versions of Grails 2.0.2

          Show
          Graeme Rocher added a comment - Argh.. ok this is going to have to wait until 2.0.2 I'm afraid, since it impacts Windows users only I will release the 2.0.1 plugin as is with this issue a known issue. I imagine if you change your "grails-dependencies" version to 2.0.2.BUILD-SNAPSHOT then the problem will go away: <properties> <grails.version>2.0.2.BUILD-SNAPSHOT</grails.version> </properties> That is of course if you are willing to use the snapshot versions of Grails 2.0.2
          Hide
          Graeme Rocher added a comment -

          Note I will wait for feedback from others in this issue before releasing the plugin. Please provide feedback by tomorrow.

          Show
          Graeme Rocher added a comment - Note I will wait for feedback from others in this issue before releasing the plugin. Please provide feedback by tomorrow.
          Hide
          Oliver Burkhalter added a comment -

          Hi,

          I am quite new to Grails and I have cloned these three projects on GitHub.

          But if I do a mvn install in "grails-maven" I receive following:

          [ERROR] Failed to execute goal on project grails-maven-plugin: Could not resolve dependencies for project org.grails:grails-maven-plugin:mav
          en-plugin:2.0.1: The following artifacts could not be resolved: org.grails:grails-bootstrap:jar:2.0.1, org.grails:grails-launcher:jar:1.0.1,
           org.grails:grails-core:jar:2.0.1, org.grails:grails-scripts:jar:2.0.1, org.grails:grails-resources:jar:2.0.1, org.grails:grails-plugin-tomc
          at:jar:2.0.1, org.grails:grails-maven-archetype:jar:2.0.1: Could not find artifact org.grails:grails-bootstrap:jar:2.0.1
          

          Do I still have to configure some repos?

          Second other question:
          For building "grails-dependencies" and "grails-maven-archetype" I had to install GPG and configure a passphrase/certificate. Is this the normal way to go?

          Show
          Oliver Burkhalter added a comment - Hi, I am quite new to Grails and I have cloned these three projects on GitHub. But if I do a mvn install in "grails-maven" I receive following: [ERROR] Failed to execute goal on project grails-maven-plugin: Could not resolve dependencies for project org.grails:grails-maven-plugin:mav en-plugin:2.0.1: The following artifacts could not be resolved: org.grails:grails-bootstrap:jar:2.0.1, org.grails:grails-launcher:jar:1.0.1, org.grails:grails-core:jar:2.0.1, org.grails:grails-scripts:jar:2.0.1, org.grails:grails-resources:jar:2.0.1, org.grails:grails-plugin-tomc at:jar:2.0.1, org.grails:grails-maven-archetype:jar:2.0.1: Could not find artifact org.grails:grails-bootstrap:jar:2.0.1 Do I still have to configure some repos? Second other question: For building "grails-dependencies" and "grails-maven-archetype" I had to install GPG and configure a passphrase/certificate. Is this the normal way to go?
          Hide
          Graeme Rocher added a comment -

          @Oliver try installing "grails-dependencies" and "grails-maven-archetype" before the plugin

          As for the passphrase/certificate it is a requirement for us to have the jars signed for publishing to maven central so yeah you either have to create your own or disable the signing..

          Show
          Graeme Rocher added a comment - @Oliver try installing "grails-dependencies" and "grails-maven-archetype" before the plugin As for the passphrase/certificate it is a requirement for us to have the jars signed for publishing to maven central so yeah you either have to create your own or disable the signing..
          Hide
          Oliver Burkhalter added a comment -

          Thanks Graeme.

          My problem was that we have a proxy Nexus repository in our network, so I just used a simple settings.xml to quickly test it.

          Finally I could also run mvn install and your suggested command above mvn -Djline.terminal=jline.UnsupportedTerminal clean package, but I have received the same error.

          System: Win7 Enterprise, Maven 3.0.3

          So I'll check then 2.0.2.

          Show
          Oliver Burkhalter added a comment - Thanks Graeme. My problem was that we have a proxy Nexus repository in our network, so I just used a simple settings.xml to quickly test it. Finally I could also run mvn install and your suggested command above mvn -Djline.terminal=jline.UnsupportedTerminal clean package , but I have received the same error. System: Win7 Enterprise, Maven 3.0.3 So I'll check then 2.0.2.
          Hide
          Thorsten Marx added a comment -

          Hi,

          on windows 7 with maven 3.0.3 I got the following error message when I try to "mvn clean install" the grails-maven project:

          [INFO] BUILD FAILURE
          [INFO] ------------------------------------------------------------------------
          [INFO] Total time: 5.981s
          [INFO] Finished at: Mon Feb 27 15:35:45 CET 2012
          [INFO] Final Memory: 25M/350M
          [INFO] ------------------------------------------------------------------------
          [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project grails-maven-plugin: Compilation failure
          [ERROR] \tmp\grails-maven\grails-maven\src\main\java\org\grails\maven\plugin\AbstractGrailsMojo.java:[534,16] cannot find symbol
          [ERROR] symbol  : method setBuildDependencies(java.util.List<java.io.File>)
          [ERROR] location: class org.grails.launcher.GrailsLauncher
          [ERROR] -> [Help 1]
          org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project grails-maven-plugin: Compilation failure
          \tmp\grails-maven\grails-maven\src\main\java\org\grails\maven\plugin\AbstractGrailsMojo.java:[534,16] cannot find symbol
          symbol  : method setBuildDependencies(java.util.List<java.io.File>)
          location: class org.grails.launcher.GrailsLauncher
          
                  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
                  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
                  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
                  at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
                  at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
                  at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
                  at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
                  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
                  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
                  at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
                  at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
                  at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
                  at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
                  at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
                  at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
          Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure
          \tmp\grails-maven\grails-maven\src\main\java\org\grails\maven\plugin\AbstractGrailsMojo.java:[534,16] cannot find symbol
          symbol  : method setBuildDependencies(java.util.List<java.io.File>)
          location: class org.grails.launcher.GrailsLauncher
          
                  at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:656)
                  at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128)
                  at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
                  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
                  ... 19 more
          [ERROR]
          [ERROR]
          [ERROR] For more information about the errors and possible solutions, please read the following articles:
          [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
          
          Show
          Thorsten Marx added a comment - Hi, on windows 7 with maven 3.0.3 I got the following error message when I try to "mvn clean install" the grails-maven project: [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 5.981s [INFO] Finished at: Mon Feb 27 15:35:45 CET 2012 [INFO] Final Memory: 25M/350M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile ( default -compile) on project grails-maven-plugin: Compilation failure [ERROR] \tmp\grails-maven\grails-maven\src\main\java\org\grails\maven\plugin\AbstractGrailsMojo.java:[534,16] cannot find symbol [ERROR] symbol : method setBuildDependencies(java.util.List<java.io.File>) [ERROR] location: class org.grails.launcher.GrailsLauncher [ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile ( default -compile) on project grails-maven-plugin: Compilation failure \tmp\grails-maven\grails-maven\src\main\java\org\grails\maven\plugin\AbstractGrailsMojo.java:[534,16] cannot find symbol symbol : method setBuildDependencies(java.util.List<java.io.File>) location: class org.grails.launcher.GrailsLauncher at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure \tmp\grails-maven\grails-maven\src\main\java\org\grails\maven\plugin\AbstractGrailsMojo.java:[534,16] cannot find symbol symbol : method setBuildDependencies(java.util.List<java.io.File>) location: class org.grails.launcher.GrailsLauncher at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:656) at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) ... 19 more [ERROR] [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http: //cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
          Hide
          Guillaume Balaine added a comment -

          Hello Thorsten,

          I am trying to get the plugin working because we have several Grails applications in 2.0 which are waiting to be industrialized using Maven at my company.
          The reason for this bug, is that the version of grails-launcher used in the pom of grails-maven-plugin is 1.0.1 instead of 1.0.3.
          I have forked an corrected it and made a pull request.

          Show
          Guillaume Balaine added a comment - Hello Thorsten, I am trying to get the plugin working because we have several Grails applications in 2.0 which are waiting to be industrialized using Maven at my company. The reason for this bug, is that the version of grails-launcher used in the pom of grails-maven-plugin is 1.0.1 instead of 1.0.3. I have forked an corrected it and made a pull request.
          Hide
          Thorsten Marx added a comment -

          Hello Guillaume,

          sounds great. I hope your pull request will be added fast to the plugin.
          in the meantime I will modify the pom by my self.

          thanks
          Thorsten

          Show
          Thorsten Marx added a comment - Hello Guillaume, sounds great. I hope your pull request will be added fast to the plugin. in the meantime I will modify the pom by my self. thanks Thorsten
          Hide
          Thorsten Marx added a comment -

          Hello,

          after Guillaumes modifications I still got the jline error. so I try the switch to 2.0.2.BUILD-SNAPSHOT. the result of this modification is a new error.

          [ERROR] Failed to execute goal org.grails:grails-maven-plugin:2.0.2.BUILD-SNAPSHOT:validate (default) on project uxbridge.analytics: The parameters 'version' for goal org.grails:grails-maven-plugin:2.0.2.BUILD-SNAPSHOT:validate are missing or invalid -> [Help 1]
          org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.grails:grails-maven-plugin:2.0.2.BUILD-SNAPSHOT:validate (default) on project uxbridge.analytics: The parameters 'version' for goal org.grails:grails-maven-plugin:2.0.2.BUILD-SNAPSHOT:validate are missing or invalid
                  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:221)
                  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
                  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
                  at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
                  at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
                  at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
                  at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
                  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
                  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
                  at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
                  at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
                  at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
                  at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
                  at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
                  at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
          Caused by: org.apache.maven.plugin.PluginParameterException: The parameters 'version' for goal org.grails:grails-maven-plugin:2.0.2.BUILD-SNAPSHOT:validate are missing or invalid
                  at org.apache.maven.plugin.internal.DefaultMavenPluginManager.populatePluginFields(DefaultMavenPluginManager.java:576)
                  at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:529)
                  at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:92)
                  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
                  ... 19 more
          [ERROR]
          

          My pom plugin configuration doesn't seem to be wrong

          <plugin>
          
          				<groupId>org.grails</groupId>
          				<artifactId>grails-maven-plugin</artifactId>
          				<version>${grails.version}</version>
          
          				<extensions>true</extensions>
          
          
          				<executions>
          					<execution>
          						<goals>
          							<goal>init</goal>
          							<goal>maven-clean</goal>
          							<goal>validate</goal>
          							<goal>config-directories</goal>
          							<goal>maven-compile</goal>
          							<goal>maven-test</goal>
          							<goal>maven-war</goal>
          							<goal>maven-functional-test</goal>
          						</goals>
          					</execution>
          
          
          				</executions>
          
          			</plugin>
          
          Show
          Thorsten Marx added a comment - Hello, after Guillaumes modifications I still got the jline error. so I try the switch to 2.0.2.BUILD-SNAPSHOT. the result of this modification is a new error. [ERROR] Failed to execute goal org.grails:grails-maven-plugin:2.0.2.BUILD-SNAPSHOT:validate ( default ) on project uxbridge.analytics: The parameters 'version' for goal org.grails:grails-maven-plugin:2.0.2.BUILD-SNAPSHOT:validate are missing or invalid -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.grails:grails-maven-plugin:2.0.2.BUILD-SNAPSHOT:validate ( default ) on project uxbridge.analytics: The parameters 'version' for goal org.grails:grails-maven-plugin:2.0.2.BUILD-SNAPSHOT:validate are missing or invalid at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:221) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.plugin.PluginParameterException: The parameters 'version' for goal org.grails:grails-maven-plugin:2.0.2.BUILD-SNAPSHOT:validate are missing or invalid at org.apache.maven.plugin.internal.DefaultMavenPluginManager.populatePluginFields(DefaultMavenPluginManager.java:576) at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:529) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:92) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) ... 19 more [ERROR] My pom plugin configuration doesn't seem to be wrong <plugin> <groupId> org.grails </groupId> <artifactId> grails-maven-plugin </artifactId> <version> ${grails.version} </version> <extensions> true </extensions> <executions> <execution> <goals> <goal> init </goal> <goal> maven-clean </goal> <goal> validate </goal> <goal> config-directories </goal> <goal> maven-compile </goal> <goal> maven-test </goal> <goal> maven-war </goal> <goal> maven-functional-test </goal> </goals> </execution> </executions> </plugin>
          Hide
          Jacob Kjeldahl added a comment -

          I have posted a hack to workaround the jline dll problems here: https://github.com/grails/grails-maven/issues/8

          Show
          Jacob Kjeldahl added a comment - I have posted a hack to workaround the jline dll problems here: https://github.com/grails/grails-maven/issues/8
          Hide
          Guillaume Balaine added a comment - - edited

          I tried to test the plugin with jLine 2.6, replacing :

          AbstractGrailsMojo.java
          Terminal.resetTerminal();
          with 
          TerminalFactory.create();
          ...
          TerminalFactory.reset();
          

          Unfortunately jLine 2.6 conflicts with the dependency of grails-bootstrap of jLine 1.0 which it is compiled with, since the dll cannot be loaded more than once, this fails as well.

          The call stack (from bootstrap) is more or less Mojo::runGrails -> Launcher::launch -> Launcher::createScriptRunner -> Console::createConsoleReader.
          The ConsoleReader from jLine, has the same constructor in 2.6 but I didn't go as far as rebuilding grails-core to test it (just need to replace jlineVersion in build.gradle).
          Jacob's workaround is nice if you're building locally on your own, but as soon as you start using CIM repos like Nexus that point to the outside it will fail again.

          In 2.0.2 graemerocher has added the ability to bypass the console instanciation by encapsulating the code in GrailsConsole with a conditional the properties grails.console.enable.terminal and grails.console.enable.interactive. These are false by default for the Maven plugin (latest code).
          See https://github.com/grails/grails-core/commit/43c4c9915b66cfc87c85df1841be9b0aa1c27500
          To be honest if these modifications aren't pushed back on 2.0.1 there'll be no way of building on windows for 2.0.1 except using the multiple dlls tweak (one for each classloader).

          Show
          Guillaume Balaine added a comment - - edited I tried to test the plugin with jLine 2.6, replacing : AbstractGrailsMojo.java Terminal.resetTerminal(); with TerminalFactory.create(); ... TerminalFactory.reset(); Unfortunately jLine 2.6 conflicts with the dependency of grails-bootstrap of jLine 1.0 which it is compiled with, since the dll cannot be loaded more than once, this fails as well. The call stack (from bootstrap) is more or less Mojo::runGrails -> Launcher::launch -> Launcher::createScriptRunner -> Console::createConsoleReader. The ConsoleReader from jLine, has the same constructor in 2.6 but I didn't go as far as rebuilding grails-core to test it (just need to replace jlineVersion in build.gradle). Jacob's workaround is nice if you're building locally on your own, but as soon as you start using CIM repos like Nexus that point to the outside it will fail again. In 2.0.2 graemerocher has added the ability to bypass the console instanciation by encapsulating the code in GrailsConsole with a conditional the properties grails.console.enable.terminal and grails.console.enable.interactive. These are false by default for the Maven plugin (latest code). See https://github.com/grails/grails-core/commit/43c4c9915b66cfc87c85df1841be9b0aa1c27500 To be honest if these modifications aren't pushed back on 2.0.1 there'll be no way of building on windows for 2.0.1 except using the multiple dlls tweak (one for each classloader).
          Hide
          Graeme Rocher added a comment -

          There is no way to push those hangs back into 2.0.1 since it has already been released. We can release 2.0.1 which will work on non Windows platforms and 2.0.2 for Windows platforms.

          Show
          Graeme Rocher added a comment - There is no way to push those hangs back into 2.0.1 since it has already been released. We can release 2.0.1 which will work on non Windows platforms and 2.0.2 for Windows platforms.
          Hide
          Graeme Rocher added a comment -

          The 2.0.1 release should be synced to Maven central shortly for users on Unix platforms.

          Show
          Graeme Rocher added a comment - The 2.0.1 release should be synced to Maven central shortly for users on Unix platforms.
          Hide
          Thorsten Marx added a comment -

          This sounds great. For our automatic build environment the linux version is very important.
          thanks

          Show
          Thorsten Marx added a comment - This sounds great. For our automatic build environment the linux version is very important. thanks
          Hide
          Iliya Chegleyev added a comment -

          I'm tried to build my application with pom.xml created via 2.0.1 from Maven Central on 2 Linux PC and got following error on final build step. But "grails war" works ok.

          [INFO] ------------------------------------------------------------------------
          [ERROR] BUILD ERROR
          [INFO] ------------------------------------------------------------------------
          [INFO] Unable to start Grails
          
          Embedded error: java.lang.reflect.InvocationTargetException
          org.springframework.security.core.Authentication
          [INFO] ------------------------------------------------------------------------
          [INFO] Trace
          org.apache.maven.lifecycle.LifecycleExecutionException: Unable to start Grails
                  at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719)
                  at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
                  at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
                  at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
                  at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
                  at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
                  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
                  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
                  at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
                  at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
                  at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
                  at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
                  at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
          Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to start Grails
                  at org.grails.maven.plugin.AbstractGrailsMojo.runGrails(AbstractGrailsMojo.java:272)
                  at org.grails.maven.plugin.MvnTestMojo.execute(MvnTestMojo.java:89)
                  at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
                  at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
                  ... 17 more
          Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
                  at org.grails.launcher.GrailsLauncher.launch(GrailsLauncher.java:150)
                  at org.grails.maven.plugin.AbstractGrailsMojo.runGrails(AbstractGrailsMojo.java:264)
                  ... 20 more
          Caused by: java.lang.reflect.InvocationTargetException
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.grails.launcher.GrailsLauncher.launch(GrailsLauncher.java:144)
                  ... 21 more
          Caused by: java.lang.NoClassDefFoundError: org/springframework/security/core/Authentication
                  at java.lang.Class.forName0(Native Method)
                  at java.lang.Class.forName(Class.java:169)
                  at SpringSecurityCoreGrailsPlugin$_closure1.class$(SpringSecurityCoreGrailsPlugin.groovy)
                  at SpringSecurityCoreGrailsPlugin$_closure1.$get$$class$org$codehaus$groovy$grails$plugins$springsecurity$SpringSecurityUtils(SpringSecurityCoreGrailsPlugin.groovy)
                  at SpringSecurityCoreGrailsPlugin$_closure1.doCall(SpringSecurityCoreGrailsPlugin.groovy:145)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
                  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at groovy.lang.Closure.call(Closure.java:412)
                  at groovy.lang.Closure.call(Closure.java:425)
                  at org.codehaus.groovy.grails.plugins.DefaultGrailsPlugin$3.call(DefaultGrailsPlugin.java:638)
                  at groovy.lang.Closure.call(Closure.java:406)
                  at org.codehaus.groovy.runtime.GroovyCategorySupport$ThreadCategoryInfo.use(GroovyCategorySupport.java:106)
                  at org.codehaus.groovy.runtime.GroovyCategorySupport$ThreadCategoryInfo.access$400(GroovyCategorySupport.java:64)
                  at org.codehaus.groovy.runtime.GroovyCategorySupport.use(GroovyCategorySupport.java:246)
                  at org.codehaus.groovy.runtime.DefaultGroovyMethods.use(DefaultGroovyMethods.java:358)
                  at org.codehaus.groovy.grails.plugins.DefaultGrailsPlugin.doWithWebDescriptor(DefaultGrailsPlugin.java:634)
                  at org.codehaus.groovy.grails.plugins.DefaultGrailsPluginManager.doWebDescriptor(DefaultGrailsPluginManager.java:658)
                  at org.codehaus.groovy.grails.plugins.DefaultGrailsPluginManager.doWebDescriptor(DefaultGrailsPluginManager.java:643)
                  at org.codehaus.groovy.grails.plugins.GrailsPluginManager$doWebDescriptor.call(Unknown Source)
                  at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
                  at _GrailsPackage$_run_closure5_closure10.doCall(_GrailsPackage.groovy:121)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
                  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
                  at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:46)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)
                  at _GrailsPackage$_run_closure5_closure10.doCall(_GrailsPackage.groovy)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
                  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at groovy.lang.Closure.call(Closure.java:412)
                  at groovy.lang.Closure.call(Closure.java:406)
                  at org.codehaus.groovy.grails.cli.api.BaseSettingsApi.profile(BaseSettingsApi.java:279)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
                  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1047)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:914)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at groovy.lang.MetaClassImpl.invokePropertyOrMissing(MetaClassImpl.java:1093)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1049)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:697)
                  at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44)
                  at groovy.lang.Script.invokeMethod(Script.java:78)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeOnDelegationObjects(ClosureMetaClass.java:407)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:346)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:149)
                  at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133)
                  at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
                  at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:46)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:145)
                  at _GrailsPackage$_run_closure5.doCall(_GrailsPackage.groovy:119)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
                  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:149)
                  at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133)
                  at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39)
                  at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
                  at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:54)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
                  at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy:185)
                  at sun.reflect.GeneratedMethodAccessor210.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
                  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)
                  at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy)
                  at sun.reflect.GeneratedMethodAccessor209.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
                  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)
                  at org.codehaus.gant.GantBinding.withTargetEvent(GantBinding.groovy:90)
                  at org.codehaus.gant.GantBinding.this$4$withTargetEvent(GantBinding.groovy)
                  at sun.reflect.GeneratedMethodAccessor204.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
                  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:361)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149)
                  at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy:185)
                  at sun.reflect.GeneratedMethodAccessor203.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
                  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)
                  at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy)
                  at sun.reflect.GeneratedMethodAccessor202.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
                  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at groovy.lang.MetaClassImpl.invokePropertyOrMissing(MetaClassImpl.java:1093)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1049)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:697)
                  at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44)
                  at groovy.lang.Script.invokeMethod(Script.java:78)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeOnDelegationObjects(ClosureMetaClass.java:407)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:346)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:149)
                  at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133)
                  at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
                  at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:46)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:137)
                  at _GrailsPackage$_run_closure2.doCall(_GrailsPackage.groovy:61)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
                  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:149)
                  at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133)
                  at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39)
                  at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
                  at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:54)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
                  at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy:185)
                  at sun.reflect.GeneratedMethodAccessor210.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
                  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)
                  at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy)
                  at sun.reflect.GeneratedMethodAccessor209.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
                  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)
                  at org.codehaus.gant.GantBinding.withTargetEvent(GantBinding.groovy:90)
                  at org.codehaus.gant.GantBinding.this$4$withTargetEvent(GantBinding.groovy)
                  at sun.reflect.GeneratedMethodAccessor204.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
                  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:361)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149)
                  at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy:185)
                  at sun.reflect.GeneratedMethodAccessor203.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
                  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)
                  at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy)
                  at sun.reflect.GeneratedMethodAccessor202.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
                  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at groovy.lang.MetaClassImpl.invokePropertyOrMissing(MetaClassImpl.java:1093)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1049)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:697)
                  at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44)
                  at groovy.lang.Script.invokeMethod(Script.java:78)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeOnDelegationObjects(ClosureMetaClass.java:407)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:346)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:149)
                  at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133)
                  at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
                  at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:46)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:137)
                  at _GrailsBootstrap$_run_closure6.doCall(_GrailsBootstrap.groovy:129)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
                  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:149)
                  at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133)
                  at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39)
                  at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
                  at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:54)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
                  at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy:185)
                  at sun.reflect.GeneratedMethodAccessor210.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
                  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)
                  at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy)
                  at sun.reflect.GeneratedMethodAccessor209.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
                  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)
                  at org.codehaus.gant.GantBinding.withTargetEvent(GantBinding.groovy:90)
                  at org.codehaus.gant.GantBinding.this$4$withTargetEvent(GantBinding.groovy)
                  at sun.reflect.GeneratedMethodAccessor204.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
                  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:361)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149)
                  at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy:185)
                  at sun.reflect.GeneratedMethodAccessor203.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
                  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)
                  at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy)
                  at sun.reflect.GeneratedMethodAccessor202.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
                  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at groovy.lang.MetaClassImpl.invokePropertyOrMissing(MetaClassImpl.java:1093)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1049)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:697)
                  at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44)
                  at groovy.lang.Script.invokeMethod(Script.java:78)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeOnDelegationObjects(ClosureMetaClass.java:407)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:346)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
                  at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:46)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:137)
                  at _GrailsTest$_run_closure9.doCall(_GrailsTest.groovy:333)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
                  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
                  at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:46)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)
                  at _GrailsTest$_run_closure9.doCall(_GrailsTest.groovy)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
                  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at groovy.lang.MetaClassImpl.invokePropertyOrMissing(MetaClassImpl.java:1093)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1049)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:697)
                  at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44)
                  at groovy.lang.Script.invokeMethod(Script.java:78)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeOnDelegationObjects(ClosureMetaClass.java:407)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:346)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:149)
                  at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133)
                  at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:168)
                  at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeOnDelegationObjects(ClosureMetaClass.java:407)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:346)
                  at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:78)
                  at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrent0(ScriptBytecodeAdapter.java:109)
                  at _GrailsTest$_run_closure1_closure21.doCall(_GrailsTest.groovy:192)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
                  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at groovy.lang.Closure.call(Closure.java:412)
                  at org.codehaus.groovy.runtime.DefaultGroovyMethods.callClosureForMapEntry(DefaultGroovyMethods.java:3578)
                  at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:1405)
                  at org.codehaus.groovy.runtime.dgm$163.invoke(Unknown Source)
                  at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:271)
                  at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53)
                  at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
                  at _GrailsTest$_run_closure1.doCall(_GrailsTest.groovy:184)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
                  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:149)
                  at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133)
                  at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39)
                  at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
                  at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:54)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
                  at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy:185)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
                  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)
                  at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
                  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)
                  at org.codehaus.gant.GantBinding.withTargetEvent(GantBinding.groovy:90)
                  at org.codehaus.gant.GantBinding.this$4$withTargetEvent(GantBinding.groovy)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
                  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:361)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149)
                  at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy:185)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
                  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)
                  at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
                  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at groovy.lang.MetaClassImpl.invokePropertyOrMissing(MetaClassImpl.java:1093)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1049)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:697)
                  at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44)
                  at groovy.lang.Script.invokeMethod(Script.java:78)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeOnDelegationObjects(ClosureMetaClass.java:407)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:346)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:149)
                  at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133)
                  at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
                  at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:46)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:137)
                  at TestApp$_run_closure1.doCall(TestApp.groovy:82)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
                  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:149)
                  at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133)
                  at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39)
                  at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
                  at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:54)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
                  at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy:185)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
                  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)
                  at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
                  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)
                  at org.codehaus.gant.GantBinding.withTargetEvent(GantBinding.groovy:90)
                  at org.codehaus.gant.GantBinding.this$4$withTargetEvent(GantBinding.groovy)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
                  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:361)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149)
                  at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy:185)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
                  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)
                  at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
                  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39)
                  at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)
                  at gant.Gant$_dispatch_closure5.doCall(Gant.groovy:381)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
                  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39)
                  at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
                  at gant.Gant$_dispatch_closure7.doCall(Gant.groovy:415)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
                  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
                  at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:46)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)
                  at gant.Gant$_dispatch_closure7.doCall(Gant.groovy)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
                  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
                  at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39)
                  at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)
                  at gant.Gant.withBuildListeners(Gant.groovy:427)
                  at gant.Gant.this$2$withBuildListeners(Gant.groovy)
                  at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source)
                  at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:46)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)
                  at gant.Gant.dispatch(Gant.groovy:415)
                  at gant.Gant.this$2$dispatch(Gant.groovy)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
                  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1047)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
                  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:699)
                  at gant.Gant.invokeMethod(Gant.groovy)
                  at groovy.lang.GroovyObject$invokeMethod.callCurrent(Unknown Source)
                  at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:46)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:145)
                  at gant.Gant.executeTargets(Gant.groovy:591)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:226)
                  at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:52)
                  at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:46)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
                  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:145)
                  at gant.Gant.executeTargets(Gant.groovy:590)
                  at org.codehaus.groovy.grails.cli.GrailsScriptRunner.executeWithGantInstance(GrailsScriptRunner.java:690)
                  at org.codehaus.groovy.grails.cli.GrailsScriptRunner.attemptPrecompiledScriptExecute(GrailsScriptRunner.java:476)
                  at org.codehaus.groovy.grails.cli.GrailsScriptRunner.executeScriptWithCaching(GrailsScriptRunner.java:432)
                  at org.codehaus.groovy.grails.cli.GrailsScriptRunner.callPluginOrGrailsScript(GrailsScriptRunner.java:380)
                  at org.codehaus.groovy.grails.cli.GrailsScriptRunner.executeCommand(GrailsScriptRunner.java:359)
                  at org.codehaus.groovy.grails.cli.GrailsScriptRunner.executeCommand(GrailsScriptRunner.java:328)
                  ... 26 more
          Caused by: java.lang.ClassNotFoundException: org.springframework.security.core.Authentication
                  at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
                  at java.security.AccessController.doPrivileged(Native Method)
                  at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
                  at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
                  at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
                  ... 630 more
          

          My config:
          app.grails.version=2.0.1
          ..
          plugins.spring-security-core=1.2.7.2

          Show
          Iliya Chegleyev added a comment - I'm tried to build my application with pom.xml created via 2.0.1 from Maven Central on 2 Linux PC and got following error on final build step. But "grails war" works ok. [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Unable to start Grails Embedded error: java.lang.reflect.InvocationTargetException org.springframework.security.core.Authentication [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Unable to start Grails at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to start Grails at org.grails.maven.plugin.AbstractGrailsMojo.runGrails(AbstractGrailsMojo.java:272) at org.grails.maven.plugin.MvnTestMojo.execute(MvnTestMojo.java:89) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) ... 17 more Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at org.grails.launcher.GrailsLauncher.launch(GrailsLauncher.java:150) at org.grails.maven.plugin.AbstractGrailsMojo.runGrails(AbstractGrailsMojo.java:264) ... 20 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.grails.launcher.GrailsLauncher.launch(GrailsLauncher.java:144) ... 21 more Caused by: java.lang.NoClassDefFoundError: org/springframework/security/core/Authentication at java.lang. Class .forName0(Native Method) at java.lang. Class .forName( Class .java:169) at SpringSecurityCoreGrailsPlugin$_closure1.class$(SpringSecurityCoreGrailsPlugin.groovy) at SpringSecurityCoreGrailsPlugin$_closure1.$get$$class$org$codehaus$groovy$grails$plugins$springsecurity$SpringSecurityUtils(SpringSecurityCoreGrailsPlugin.groovy) at SpringSecurityCoreGrailsPlugin$_closure1.doCall(SpringSecurityCoreGrailsPlugin.groovy:145) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at groovy.lang.Closure.call(Closure.java:412) at groovy.lang.Closure.call(Closure.java:425) at org.codehaus.groovy.grails.plugins.DefaultGrailsPlugin$3.call(DefaultGrailsPlugin.java:638) at groovy.lang.Closure.call(Closure.java:406) at org.codehaus.groovy.runtime.GroovyCategorySupport$ThreadCategoryInfo.use(GroovyCategorySupport.java:106) at org.codehaus.groovy.runtime.GroovyCategorySupport$ThreadCategoryInfo.access$400(GroovyCategorySupport.java:64) at org.codehaus.groovy.runtime.GroovyCategorySupport.use(GroovyCategorySupport.java:246) at org.codehaus.groovy.runtime.DefaultGroovyMethods.use(DefaultGroovyMethods.java:358) at org.codehaus.groovy.grails.plugins.DefaultGrailsPlugin.doWithWebDescriptor(DefaultGrailsPlugin.java:634) at org.codehaus.groovy.grails.plugins.DefaultGrailsPluginManager.doWebDescriptor(DefaultGrailsPluginManager.java:658) at org.codehaus.groovy.grails.plugins.DefaultGrailsPluginManager.doWebDescriptor(DefaultGrailsPluginManager.java:643) at org.codehaus.groovy.grails.plugins.GrailsPluginManager$doWebDescriptor.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120) at _GrailsPackage$_run_closure5_closure10.doCall(_GrailsPackage.groovy:121) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:46) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141) at _GrailsPackage$_run_closure5_closure10.doCall(_GrailsPackage.groovy) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at groovy.lang.Closure.call(Closure.java:412) at groovy.lang.Closure.call(Closure.java:406) at org.codehaus.groovy.grails.cli.api.BaseSettingsApi.profile(BaseSettingsApi.java:279) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1047) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:914) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at groovy.lang.MetaClassImpl.invokePropertyOrMissing(MetaClassImpl.java:1093) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1049) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:697) at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44) at groovy.lang.Script.invokeMethod(Script.java:78) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeOnDelegationObjects(ClosureMetaClass.java:407) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:346) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:149) at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:46) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:145) at _GrailsPackage$_run_closure5.doCall(_GrailsPackage.groovy:119) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:149) at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:54) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy:185) at sun.reflect.GeneratedMethodAccessor210.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141) at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy) at sun.reflect.GeneratedMethodAccessor209.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112) at org.codehaus.gant.GantBinding.withTargetEvent(GantBinding.groovy:90) at org.codehaus.gant.GantBinding. this $4$withTargetEvent(GantBinding.groovy) at sun.reflect.GeneratedMethodAccessor204.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:361) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149) at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy:185) at sun.reflect.GeneratedMethodAccessor203.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141) at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy) at sun.reflect.GeneratedMethodAccessor202.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at groovy.lang.MetaClassImpl.invokePropertyOrMissing(MetaClassImpl.java:1093) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1049) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:697) at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44) at groovy.lang.Script.invokeMethod(Script.java:78) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeOnDelegationObjects(ClosureMetaClass.java:407) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:346) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:149) at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:46) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:137) at _GrailsPackage$_run_closure2.doCall(_GrailsPackage.groovy:61) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:149) at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:54) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy:185) at sun.reflect.GeneratedMethodAccessor210.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141) at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy) at sun.reflect.GeneratedMethodAccessor209.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112) at org.codehaus.gant.GantBinding.withTargetEvent(GantBinding.groovy:90) at org.codehaus.gant.GantBinding. this $4$withTargetEvent(GantBinding.groovy) at sun.reflect.GeneratedMethodAccessor204.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:361) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149) at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy:185) at sun.reflect.GeneratedMethodAccessor203.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141) at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy) at sun.reflect.GeneratedMethodAccessor202.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at groovy.lang.MetaClassImpl.invokePropertyOrMissing(MetaClassImpl.java:1093) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1049) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:697) at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44) at groovy.lang.Script.invokeMethod(Script.java:78) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeOnDelegationObjects(ClosureMetaClass.java:407) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:346) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:149) at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:46) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:137) at _GrailsBootstrap$_run_closure6.doCall(_GrailsBootstrap.groovy:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:149) at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:54) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy:185) at sun.reflect.GeneratedMethodAccessor210.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141) at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy) at sun.reflect.GeneratedMethodAccessor209.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112) at org.codehaus.gant.GantBinding.withTargetEvent(GantBinding.groovy:90) at org.codehaus.gant.GantBinding. this $4$withTargetEvent(GantBinding.groovy) at sun.reflect.GeneratedMethodAccessor204.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:361) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149) at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy:185) at sun.reflect.GeneratedMethodAccessor203.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141) at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy) at sun.reflect.GeneratedMethodAccessor202.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at groovy.lang.MetaClassImpl.invokePropertyOrMissing(MetaClassImpl.java:1093) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1049) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:697) at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44) at groovy.lang.Script.invokeMethod(Script.java:78) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeOnDelegationObjects(ClosureMetaClass.java:407) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:346) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:46) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:137) at _GrailsTest$_run_closure9.doCall(_GrailsTest.groovy:333) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:46) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141) at _GrailsTest$_run_closure9.doCall(_GrailsTest.groovy) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at groovy.lang.MetaClassImpl.invokePropertyOrMissing(MetaClassImpl.java:1093) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1049) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:697) at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44) at groovy.lang.Script.invokeMethod(Script.java:78) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeOnDelegationObjects(ClosureMetaClass.java:407) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:346) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:149) at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133) at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:168) at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeOnDelegationObjects(ClosureMetaClass.java:407) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:346) at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:78) at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrent0(ScriptBytecodeAdapter.java:109) at _GrailsTest$_run_closure1_closure21.doCall(_GrailsTest.groovy:192) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at groovy.lang.Closure.call(Closure.java:412) at org.codehaus.groovy.runtime.DefaultGroovyMethods.callClosureForMapEntry(DefaultGroovyMethods.java:3578) at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:1405) at org.codehaus.groovy.runtime.dgm$163.invoke(Unknown Source) at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:271) at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) at _GrailsTest$_run_closure1.doCall(_GrailsTest.groovy:184) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:149) at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:54) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy:185) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141) at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112) at org.codehaus.gant.GantBinding.withTargetEvent(GantBinding.groovy:90) at org.codehaus.gant.GantBinding. this $4$withTargetEvent(GantBinding.groovy) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:361) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149) at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy:185) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141) at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at groovy.lang.MetaClassImpl.invokePropertyOrMissing(MetaClassImpl.java:1093) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1049) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:697) at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44) at groovy.lang.Script.invokeMethod(Script.java:78) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeOnDelegationObjects(ClosureMetaClass.java:407) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:346) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:149) at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:46) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:137) at TestApp$_run_closure1.doCall(TestApp.groovy:82) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:149) at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:54) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy:185) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141) at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112) at org.codehaus.gant.GantBinding.withTargetEvent(GantBinding.groovy:90) at org.codehaus.gant.GantBinding. this $4$withTargetEvent(GantBinding.groovy) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:361) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149) at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy:185) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141) at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112) at gant.Gant$_dispatch_closure5.doCall(Gant.groovy:381) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) at gant.Gant$_dispatch_closure7.doCall(Gant.groovy:415) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:46) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141) at gant.Gant$_dispatch_closure7.doCall(Gant.groovy) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112) at gant.Gant.withBuildListeners(Gant.groovy:427) at gant.Gant. this $2$withBuildListeners(Gant.groovy) at gant.Gant$ this $2$withBuildListeners.callCurrent(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:46) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141) at gant.Gant.dispatch(Gant.groovy:415) at gant.Gant. this $2$dispatch(Gant.groovy) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1047) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:699) at gant.Gant.invokeMethod(Gant.groovy) at groovy.lang.GroovyObject$invokeMethod.callCurrent(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:46) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:145) at gant.Gant.executeTargets(Gant.groovy:591) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:226) at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:52) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:46) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:145) at gant.Gant.executeTargets(Gant.groovy:590) at org.codehaus.groovy.grails.cli.GrailsScriptRunner.executeWithGantInstance(GrailsScriptRunner.java:690) at org.codehaus.groovy.grails.cli.GrailsScriptRunner.attemptPrecompiledScriptExecute(GrailsScriptRunner.java:476) at org.codehaus.groovy.grails.cli.GrailsScriptRunner.executeScriptWithCaching(GrailsScriptRunner.java:432) at org.codehaus.groovy.grails.cli.GrailsScriptRunner.callPluginOrGrailsScript(GrailsScriptRunner.java:380) at org.codehaus.groovy.grails.cli.GrailsScriptRunner.executeCommand(GrailsScriptRunner.java:359) at org.codehaus.groovy.grails.cli.GrailsScriptRunner.executeCommand(GrailsScriptRunner.java:328) ... 26 more Caused by: java.lang.ClassNotFoundException: org.springframework.security.core.Authentication at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang. ClassLoader .loadClass( ClassLoader .java:307) at java.lang. ClassLoader .loadClass( ClassLoader .java:248) ... 630 more My config: app.grails.version=2.0.1 .. plugins.spring-security-core=1.2.7.2
          Hide
          Thorsten Marx added a comment -

          I've just tried to build my projects with the new plugin version. but the grails dependencies, for example to grails-bootstrap are missing in the central maven repo.
          So the plugin is currently still not usable, neither on windows nor on linux.

          Does anyone know when the missing dependencies will be deployed.

          Show
          Thorsten Marx added a comment - I've just tried to build my projects with the new plugin version. but the grails dependencies, for example to grails-bootstrap are missing in the central maven repo. So the plugin is currently still not usable, neither on windows nor on linux. Does anyone know when the missing dependencies will be deployed.
          Hide
          Graeme Rocher added a comment -

          The plugin should be activating the http://repo.grails.org/grails/core repository when you build your project. At least it does for me. This is setup in the profile section

          Show
          Graeme Rocher added a comment - The plugin should be activating the http://repo.grails.org/grails/core repository when you build your project. At least it does for me. This is setup in the profile section
          Hide
          Thorsten Marx added a comment -

          ah, I remember. We are using an artifactory repo proxy, so we have to configure the grails repository the use the new maven plugin.
          thanks for the hint. I will try it.

          Show
          Thorsten Marx added a comment - ah, I remember. We are using an artifactory repo proxy, so we have to configure the grails repository the use the new maven plugin. thanks for the hint. I will try it.
          Hide
          Viktor Nordling added a comment -

          I took it for a test run.

          In my project, I have Java code under src/java that is referencing Groovy code under grails-app/service and that makes the compile step unhappy when I run "mvn package".

          If I run mvn grails:maven-compile, the Grails plugin compiles the code just fine.

          Is the idea that we should not be using the standard Maven commands (package, install and so on) at all and just stick to the corresponding goals in the Grails plugin instead?

          My issue is that I'm trying to do "mvn release", which kicks off "mvn package" and so on, but I guess I can configure my way out of that?

          Show
          Viktor Nordling added a comment - I took it for a test run. In my project, I have Java code under src/java that is referencing Groovy code under grails-app/service and that makes the compile step unhappy when I run "mvn package". If I run mvn grails:maven-compile, the Grails plugin compiles the code just fine. Is the idea that we should not be using the standard Maven commands (package, install and so on) at all and just stick to the corresponding goals in the Grails plugin instead? My issue is that I'm trying to do "mvn release", which kicks off "mvn package" and so on, but I guess I can configure my way out of that?
          Hide
          Viktor Nordling added a comment -

          Just an update, I don't think it's possible to work around this, since to do a deploy (which is an integral part of the release:perform step), Maven will insist on doing package first and I can't seem to find a way to get the deploy plugin to do grails:package instead.

          Ideas?

          Show
          Viktor Nordling added a comment - Just an update, I don't think it's possible to work around this, since to do a deploy (which is an integral part of the release:perform step), Maven will insist on doing package first and I can't seem to find a way to get the deploy plugin to do grails:package instead. Ideas?
          Hide
          Peter Ledbrook added a comment -

          The Maven commands should just be delegating to the Grails ones. What error are you seeing when running mvn package?

          Show
          Peter Ledbrook added a comment - The Maven commands should just be delegating to the Grails ones. What error are you seeing when running mvn package ?
          Hide
          Richard Vowles added a comment -

          I found that under Windows, the jline problem can be easily solved by making the jline artifact its own classloader. So jline inherits from system, and you hold onto the jline in a static the first time runGrails is requestedm and each time you have the RootLoader load from jline (instead of system). You don't get the reload or jline being shared among many artifact problem or conflicts with Maven itself. The resetTerminal has to be done by an invokeStatic however. I cannot offer a patch as my fork line (https://github.com/bluegrails/grails-maven) is now quite different.

          Show
          Richard Vowles added a comment - I found that under Windows, the jline problem can be easily solved by making the jline artifact its own classloader. So jline inherits from system, and you hold onto the jline in a static the first time runGrails is requestedm and each time you have the RootLoader load from jline (instead of system). You don't get the reload or jline being shared among many artifact problem or conflicts with Maven itself. The resetTerminal has to be done by an invokeStatic however. I cannot offer a patch as my fork line ( https://github.com/bluegrails/grails-maven ) is now quite different.
          Hide
          Marty Schlegel added a comment -

          Will the Windows JLine problem be fixed in v2.0.2 of the maven plugin? If so, will this issue be commented on/resolved when it is released?

          Show
          Marty Schlegel added a comment - Will the Windows JLine problem be fixed in v2.0.2 of the maven plugin? If so, will this issue be commented on/resolved when it is released?
          Hide
          Graeme Rocher added a comment -

          The 2.0.3 jars are now published to central, awaiting the sync and then we will release the plugin

          Show
          Graeme Rocher added a comment - The 2.0.3 jars are now published to central, awaiting the sync and then we will release the plugin
          Hide
          Graeme Rocher added a comment -

          The 2.0.3 jars and plugin are now in central. This should resolve the issues for Windows users.

          Show
          Graeme Rocher added a comment - The 2.0.3 jars and plugin are now in central. This should resolve the issues for Windows users.
          Hide
          mike added a comment - - edited

          Hi Graeme,

          I setup a new project using the 2.0.3 jars, initialized it and then ran:
          mvn grails:run-app -Dgrails.env=dev

          and I get the following error (works fine if I run grails run-app, so figure its got to be something specific to the maven pieces?):

          $ mvn grails:run-app -Dgrails.env=dev
          [INFO] Scanning for projects...
          [WARNING]
          [WARNING] Some problems were encountered while building the effective model for
          ald:forms-cms2:war:1.0-SNAPSHOT
          [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-comp
          iler-plugin is missing. @ line 91, column 15
          [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-sure
          fire-plugin is missing. @ line 34, column 17
          [WARNING]
          [WARNING] It is highly recommended to fix these problems because they threaten t
          he stability of your build.
          [WARNING]
          [WARNING] For this reason, future Maven versions might no longer support buildin
          g such malformed projects.
          [WARNING]
          [INFO]
          [INFO] ------------------------------------------------------------------------
          [INFO] Building A custom grails project 1.0-SNAPSHOT
          [INFO] ------------------------------------------------------------------------
          [INFO]
          [INFO] — grails-maven-plugin:2.0.3:run-app (default-cli) @ forms-cms2 —

          Loading Grails 2.0.3
          Configuring classpath
          Running pre-compiled script
          .
          Environment set to dev
          .................................
          Packaging Grails application
          ....
          Compiling 1 source files
          ...........
          Running Grails application
          Server running. Browse to http://localhost:8080/forms-cms2
          Error

          Cannot invoke method addTriggeredAction() on null object (NOTE: Stack trace has
          been filtered. Use --verbose to see entire trace.)
          java.lang.NullPointerException: Cannot invoke method addTriggeredAction() on nul
          l object
          at _GrailsRun$_run_closure5.doCall(_GrailsRun.groovy:182)
          at _GrailsRun.runInline(_GrailsRun.groovy:120)
          at _GrailsRun$_run_closure1.doCall(_GrailsRun.groovy:66)
          at RunApp$_run_closure1.doCall(RunApp.groovy:33)
          at org.grails.launcher.GrailsLauncher.launch(GrailsLauncher.java:144)
          at org.grails.maven.plugin.AbstractGrailsMojo.runGrails(AbstractGrailsMo
          jo.java:265)
          at org.grails.maven.plugin.GrailsRunAppMojo.execute(GrailsRunAppMojo.jav
          a:35)
          at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(Default
          BuildPluginManager.java:101)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
          .java:209)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
          .java:153)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
          .java:145)
          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
          ct(LifecycleModuleBuilder.java:84)
          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
          ct(LifecycleModuleBuilder.java:59)
          at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBu
          ild(LifecycleStarter.java:183)
          at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecycl
          eStarter.java:161)
          at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
          at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
          at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
          at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
          at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun
          cher.java:290)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
          a:230)
          at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
          uncher.java:409)
          at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
          352)

          Error |
          Server failed to start: java.lang.NullPointerException: Cannot invoke method add
          TriggeredAction() on null object

          Show
          mike added a comment - - edited Hi Graeme, I setup a new project using the 2.0.3 jars, initialized it and then ran: mvn grails:run-app -Dgrails.env=dev and I get the following error (works fine if I run grails run-app, so figure its got to be something specific to the maven pieces?): $ mvn grails:run-app -Dgrails.env=dev [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for ald:forms-cms2:war:1.0-SNAPSHOT [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-comp iler-plugin is missing. @ line 91, column 15 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-sure fire-plugin is missing. @ line 34, column 17 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten t he stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support buildin g such malformed projects. [WARNING] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building A custom grails project 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] — grails-maven-plugin:2.0.3:run-app (default-cli) @ forms-cms2 — Loading Grails 2.0.3 Configuring classpath Running pre-compiled script . Environment set to dev ................................. Packaging Grails application .... Compiling 1 source files ........... Running Grails application Server running. Browse to http://localhost:8080/forms-cms2 Error Cannot invoke method addTriggeredAction() on null object (NOTE: Stack trace has been filtered. Use --verbose to see entire trace.) java.lang.NullPointerException: Cannot invoke method addTriggeredAction() on nul l object at _GrailsRun$_run_closure5.doCall(_GrailsRun.groovy:182) at _GrailsRun.runInline(_GrailsRun.groovy:120) at _GrailsRun$_run_closure1.doCall(_GrailsRun.groovy:66) at RunApp$_run_closure1.doCall(RunApp.groovy:33) at org.grails.launcher.GrailsLauncher.launch(GrailsLauncher.java:144) at org.grails.maven.plugin.AbstractGrailsMojo.runGrails(AbstractGrailsMo jo.java:265) at org.grails.maven.plugin.GrailsRunAppMojo.execute(GrailsRunAppMojo.jav a:35) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(Default BuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor .java:209) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor .java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor .java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje ct(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje ct(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBu ild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecycl eStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun cher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav a:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La uncher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java: 352) Error | Server failed to start: java.lang.NullPointerException: Cannot invoke method add TriggeredAction() on null object
          Hide
          mike added a comment -

          if it helps mvn clean package works without error.

          Show
          mike added a comment - if it helps mvn clean package works without error.
          Hide
          mike added a comment - - edited

          Edit: Spoke too soon, still having the above issue.

          Show
          mike added a comment - - edited Edit: Spoke too soon, still having the above issue.
          Hide
          Bram added a comment -

          Hi, encountered the same thing last week, so I was very happy to see this bug resolved. I do see results, but I now encounter this:

          [ERROR] BUILD ERROR
          [INFO] ------------------------------------------------------------------------
          [INFO] Unable to start Grails

          Embedded error: java.lang.reflect.InvocationTargetException
          loader constraint violation: loader (instance of <bootloader>) previously initiated loading for a different type with name "org/w3c/dom/NamedNodeMap"

          Is this related?
          Anyone else have this as a result?

          Google gave me this, but it seems unrelated

          Caught: java.lang.LinkageError: loader constraint violation:
          http://jira.codehaus.org/browse/GROOVY-3356

          My error:
          java.lang.reflect.InvocationTargetException
          loader constraint violation:

          Any help would be appreciated.
          Thanks

          Show
          Bram added a comment - Hi, encountered the same thing last week, so I was very happy to see this bug resolved. I do see results, but I now encounter this: [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Unable to start Grails Embedded error: java.lang.reflect.InvocationTargetException loader constraint violation: loader (instance of <bootloader>) previously initiated loading for a different type with name "org/w3c/dom/NamedNodeMap" Is this related? Anyone else have this as a result? Google gave me this, but it seems unrelated Caught: java.lang.LinkageError: loader constraint violation: http://jira.codehaus.org/browse/GROOVY-3356 My error: java.lang.reflect.InvocationTargetException loader constraint violation: Any help would be appreciated. Thanks
          Hide
          Scott K. added a comment -

          This bug is resolved? I'm still getting the cannot "invoke method addTriggeredAction()" on a default setup project. We've been unable to do any Grails 2.x development as Maven has been broken every time we tried.

          Show
          Scott K. added a comment - This bug is resolved? I'm still getting the cannot "invoke method addTriggeredAction()" on a default setup project. We've been unable to do any Grails 2.x development as Maven has been broken every time we tried.
          Hide
          Graeme Rocher added a comment -

          @Scott - I have tested on a Windows machine and a OS X machine and the 2.0.3 release doesn't exhibit any problems. If you have a specific reproducible error please raise an issue for it.

          @Bram - This is because you have an XML jar on your class path run mvn dependency:tree and configure your exclusions appropriately to ensure you don't have xml-apis, xercesXmp or saxParserImpl on your classpath

          If someone can attach an example app that demonstrates the addTriggerAction() NPE then that would be much appreciated

          Show
          Graeme Rocher added a comment - @Scott - I have tested on a Windows machine and a OS X machine and the 2.0.3 release doesn't exhibit any problems. If you have a specific reproducible error please raise an issue for it. @Bram - This is because you have an XML jar on your class path run mvn dependency:tree and configure your exclusions appropriately to ensure you don't have xml-apis, xercesXmp or saxParserImpl on your classpath If someone can attach an example app that demonstrates the addTriggerAction() NPE then that would be much appreciated
          Hide
          Kenneth DeLong added a comment - - edited

          For a brand new 2.0.3 app, I can run 'mvn org.grails:grails-maven-plugin:2.0.3:create-pom -DgroupId=example' and then 'mvn package' (after setting 'set MAVEN_OPTS=-Xmx1024m -XX:MaxPermSize=128m') and I get a successful WAR creation on both Windows 7 64-bit and CentOS 5!

          However, if I add 'compile ":spring-security-core:1.2.7.2"' to the BuildConfig.groovy, I get the same error on Windows and CentOS:

          [INFO] --- grails-maven-plugin:2.0.3:maven-test (default) @ G203 ---
          
          |Loading Grails 2.0.3
          |Configuring classpath
          |Running pre-compiled script
          .................................................
          |Packaging Grails application
          ...............
          |Tests PASSED - view reports in target/test-reports
          [INFO] ------------------------------------------------------------------------
          [INFO] BUILD FAILURE
          [INFO] ------------------------------------------------------------------------
          [INFO] Total time: 50.854s
          [INFO] Finished at: Wed Apr 18 15:17:33 PDT 2012
          [INFO] Final Memory: 58M/140M
          [INFO] ------------------------------------------------------------------------
          [ERROR] Failed to execute goal org.grails:grails-maven-plugin:2.0.3:maven-test (default) on project G203: Unable to start Grails: java.lang.reflect.InvocationTargetException: org/springframework/security/core/Authentication: org.springframework.security.core.Authentication -> [Help 1]
          [ERROR]
          [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
          [ERROR] Re-run Maven using the -X switch to enable full debug logging.
          [ERROR]
          [ERROR] For more information about the errors and possible solutions, please read the following articles:
          [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
          
          Show
          Kenneth DeLong added a comment - - edited For a brand new 2.0.3 app, I can run 'mvn org.grails:grails-maven-plugin:2.0.3:create-pom -DgroupId=example' and then 'mvn package' (after setting 'set MAVEN_OPTS=-Xmx1024m -XX:MaxPermSize=128m') and I get a successful WAR creation on both Windows 7 64-bit and CentOS 5! However, if I add 'compile ":spring-security-core:1.2.7.2"' to the BuildConfig.groovy, I get the same error on Windows and CentOS: [INFO] --- grails-maven-plugin:2.0.3:maven-test ( default ) @ G203 --- |Loading Grails 2.0.3 |Configuring classpath |Running pre-compiled script ................................................. |Packaging Grails application ............... |Tests PASSED - view reports in target/test-reports [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 50.854s [INFO] Finished at: Wed Apr 18 15:17:33 PDT 2012 [INFO] Final Memory: 58M/140M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.grails:grails-maven-plugin:2.0.3:maven-test ( default ) on project G203: Unable to start Grails: java.lang.reflect.InvocationTargetException: org/springframework/security/core/Authentication: org.springframework.security.core.Authentication -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch . [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http: //cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
          Hide
          Graeme Rocher added a comment -

          @Kenneth - will look into this issue

          Show
          Graeme Rocher added a comment - @Kenneth - will look into this issue
          Hide
          Frank Wettstein added a comment -

          I also had the JLine problem in Windows 7 and upgraded to grails 2.0.3. The bug seems to be resolved now, but I encounter a new one:

           
          |Cobertura Code Coverage Complete (view reports in: target\test-reports/cobertura)
          [INFO] ------------------------------------------------------------------------
          [INFO] BUILD FAILURE
          [INFO] ------------------------------------------------------------------------
          [INFO] Total time: 1:20.258s
          [INFO] Finished at: Thu Apr 19 17:42:27 CEST 2012
          [INFO] Final Memory: 162M/289M
          [INFO] ------------------------------------------------------------------------
          [ERROR] Failed to execute goal org.grails:grails-maven-plugin:2.0.3:maven-test (default) on project sgbpadmin: Grails returned non-zero value: 1 -> [Help 1]
          [ERROR]
          [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
          [ERROR] Re-run Maven using the -X switch to enable full debug logging.
          [ERROR]
          [ERROR] For more information about the errors and possible solutions, please read the following articles:
          [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
          Flushing results...
          Flushing results done
          Cobertura: Loaded information on 246 classes.
          Cobertura: Saved information on 246 classes.
          

          Any ideas?

          Note: For Maven3 the plugin-versions has to be indicated. The followings warnings appear:
          [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 91, column 21
          [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 34, column 21

          Show
          Frank Wettstein added a comment - I also had the JLine problem in Windows 7 and upgraded to grails 2.0.3. The bug seems to be resolved now, but I encounter a new one: |Cobertura Code Coverage Complete (view reports in: target\test-reports/cobertura) [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1:20.258s [INFO] Finished at: Thu Apr 19 17:42:27 CEST 2012 [INFO] Final Memory: 162M/289M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.grails:grails-maven-plugin:2.0.3:maven-test (default) on project sgbpadmin: Grails returned non-zero value: 1 -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException Flushing results... Flushing results done Cobertura: Loaded information on 246 classes. Cobertura: Saved information on 246 classes. Any ideas? Note: For Maven3 the plugin-versions has to be indicated. The followings warnings appear: [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 91, column 21 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 34, column 21
          Hide
          Graeme Rocher added a comment -

          @Frank - please post the stack trace that is output when using the -e switch

          Show
          Graeme Rocher added a comment - @Frank - please post the stack trace that is output when using the -e switch
          Hide
          Graeme Rocher added a comment -

          I have pushed a fix for the addTriggeredAction() NPE

          Show
          Graeme Rocher added a comment - I have pushed a fix for the addTriggeredAction() NPE
          Hide
          Frank Wettstein added a comment -

          @Graeme: Thanks for your quick reply!

          Here is the stack trace

          |Running 1 integration test... 1 of 1
          |Completed 1 integration test, 0 failed in 218ms
          .Tests FAILED
          |
           - view reports in target\test-reports
          .Flushing results...
          Flushing results done
          Cobertura: Loaded information on 96 classes.
          Cobertura: Saved information on 96 classes.
          ..............................Done with post processing reports in 8439ms
          ..........
          |Cobertura Code Coverage Complete (view reports in: target\test-reports/cobertura)
          [INFO] ------------------------------------------------------------------------
          [INFO] BUILD FAILURE
          [INFO] ------------------------------------------------------------------------
          [INFO] Total time: 1:51.705s
          [INFO] Finished at: Fri Apr 20 09:26:03 CEST 2012
          [INFO] Final Memory: 232M/414M
          [INFO] ------------------------------------------------------------------------
          [ERROR] Failed to execute goal org.grails:grails-maven-plugin:2.0.3:maven-test (default) on project sgbpadmin: Grails returned non-zero value: 1 -> [Help 1]
          org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.grails:grails-maven-plugin:2.0.3:maven-test (default) on project sgbpadmin:
           Grails returned non-zero value: 1
                  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
                  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
                  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
                  at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
                  at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
                  at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
                  at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
                  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
                  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
                  at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
                  at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
                  at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
                  at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
                  at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
                  at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
          Caused by: org.apache.maven.plugin.MojoExecutionException: Grails returned non-zero value: 1
                  at org.grails.maven.plugin.AbstractGrailsMojo.runGrails(AbstractGrailsMojo.java:267)
                  at org.grails.maven.plugin.MvnTestMojo.execute(MvnTestMojo.java:89)
                  at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
                  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
                  ... 19 more
          [ERROR]
          [ERROR] Re-run Maven using the -X switch to enable full debug logging.
          [ERROR]
          [ERROR] For more information about the errors and possible solutions, please read the following articles:
          [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
          Flushing results...
          Flushing results done
          Cobertura: Loaded information on 96 classes.
          Cobertura: Saved information on 96 classes.
          
          Show
          Frank Wettstein added a comment - @Graeme: Thanks for your quick reply! Here is the stack trace |Running 1 integration test... 1 of 1 |Completed 1 integration test, 0 failed in 218ms .Tests FAILED | - view reports in target\test-reports .Flushing results... Flushing results done Cobertura: Loaded information on 96 classes. Cobertura: Saved information on 96 classes. ..............................Done with post processing reports in 8439ms .......... |Cobertura Code Coverage Complete (view reports in: target\test-reports/cobertura) [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1:51.705s [INFO] Finished at: Fri Apr 20 09:26:03 CEST 2012 [INFO] Final Memory: 232M/414M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.grails:grails-maven-plugin:2.0.3:maven-test ( default ) on project sgbpadmin: Grails returned non-zero value: 1 -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.grails:grails-maven-plugin:2.0.3:maven-test ( default ) on project sgbpadmin: Grails returned non-zero value: 1 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.plugin.MojoExecutionException: Grails returned non-zero value: 1 at org.grails.maven.plugin.AbstractGrailsMojo.runGrails(AbstractGrailsMojo.java:267) at org.grails.maven.plugin.MvnTestMojo.execute(MvnTestMojo.java:89) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) ... 19 more [ERROR] [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http: //cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException Flushing results... Flushing results done Cobertura: Loaded information on 96 classes. Cobertura: Saved information on 96 classes.
          Hide
          Liliana Nuno added a comment -

          Hi, Graeme,
          I am really new at Grails, but I came across this same issue. Your comment about you having pushed "a fix for the addTriggeredAction() NPE" looks like what I am looking for.
          I have seen it here: https://github.com/grails/grails-core/commit/db5b7227c1e867aa77797b990709773bfc688d7a
          But, of course, it is not in 2.0.3 since you have just pushed it. Do you have some sort of snapshot I could use to benefit from that change? (2.0.4.BUILD-SNAPSHOT does not seem to exist, but maybe I missed it, I checked here: http://repo.grails.org/grails/core/org/grails/grails-scripts/).
          Many thanks and keep up the good work!

          Show
          Liliana Nuno added a comment - Hi, Graeme, I am really new at Grails, but I came across this same issue. Your comment about you having pushed "a fix for the addTriggeredAction() NPE" looks like what I am looking for. I have seen it here: https://github.com/grails/grails-core/commit/db5b7227c1e867aa77797b990709773bfc688d7a But, of course, it is not in 2.0.3 since you have just pushed it. Do you have some sort of snapshot I could use to benefit from that change? (2.0.4.BUILD-SNAPSHOT does not seem to exist, but maybe I missed it, I checked here: http://repo.grails.org/grails/core/org/grails/grails-scripts/ ). Many thanks and keep up the good work!
          Hide
          Liliana Nuno added a comment -

          BTW I cloned the branch 2.0.x and built it locally and it works by having it like this in my pom:

            <properties>
              <grails.version>2.0.3</grails.version>
            </properties>
            <dependencies>
              <dependency>
                <groupId>org.grails</groupId>
                <artifactId>grails-dependencies</artifactId>
                <version>${grails.version}</version>
                <type>pom</type>
              </dependency>
              <dependency>
              	<groupId>org.grails</groupId>
              	<artifactId>grails-scripts</artifactId>
              	<version>2.0.3.BUILD-SNAPSHOT</version>
              </dependency>
            </dependencies>
          

          Still it would be nice to have the BUILD-SNAPSHOT updated in a maven repo.
          Thanks a lot!

          Show
          Liliana Nuno added a comment - BTW I cloned the branch 2.0.x and built it locally and it works by having it like this in my pom: <properties> <grails.version> 2.0.3 </grails.version> </properties> <dependencies> <dependency> <groupId> org.grails </groupId> <artifactId> grails-dependencies </artifactId> <version> ${grails.version} </version> <type> pom </type> </dependency> <dependency> <groupId> org.grails </groupId> <artifactId> grails-scripts </artifactId> <version> 2.0.3.BUILD-SNAPSHOT </version> </dependency> </dependencies> Still it would be nice to have the BUILD-SNAPSHOT updated in a maven repo. Thanks a lot!
          Hide
          Jo Voordeckers added a comment -

          Also here a 'mvn clean package' that fails while compiling java code, a 'mvn package' after a 'grails compile' works fine so the maven-integration works to some degree, but we need a working 'mvn release' to deploy to Nexus from our CI ENV before we can deploy to production:

          $ mvn clean package
          [INFO] Scanning for projects...
          [WARNING] The POM for org.springframework.uaa:org.springframework.uaa.client:jar:1.0.1.RELEASE is missing, no dependency information available
          [WARNING] 
          [WARNING] Some problems were encountered while building the effective model for eu.foo:bar:war:0.5-TEST1
          [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 103, column 15
          [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 46, column 17
          [WARNING] 
          [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
          [WARNING] 
          [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
          [WARNING] 
          [INFO]                                                                         
          [INFO] ------------------------------------------------------------------------
          [INFO] Building bar 0.5-TEST1
          [INFO] ------------------------------------------------------------------------
          [INFO] 
          [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ bar ---
          [INFO] Deleting /Users/jo/Documents/workspace_foo/barfoo/target
          [INFO] Deleting /Users/jo/Documents/workspace_foo/barfoo/plugins (includes = [**/*], excludes = [])
          [INFO] 
          [INFO] --- grails-maven-plugin:2.0.3:maven-clean (default) @ bar ---
          
          |Loading Grails 2.0.3
          |Configuring classpath
          |Running pre-compiled script
          .
          |Environment set to development
          ................
          |Application cleaned.
          [INFO] 
          [INFO] --- grails-maven-plugin:2.0.3:validate (default) @ bar ---
          [INFO] 
          [INFO] --- grails-maven-plugin:2.0.3:init (default) @ bar ---
          [INFO] 
          [INFO] --- grails-maven-plugin:2.0.3:config-directories (default) @ bar ---
          [INFO] 
          [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ bar ---
          [INFO] Using 'ISO-8859-1' encoding to copy filtered resources.
          [INFO] skip non existing resourceDirectory /Users/jo/Documents/workspace_foo/barfoo/src/main/resources
          [INFO] 
          [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ bar ---
          [INFO] Compiling 1 source file to /Users/jo/Documents/workspace_foo/barfoo/target/classes
          [INFO] -------------------------------------------------------------
          [ERROR] COMPILATION ERROR : 
          [INFO] -------------------------------------------------------------
          [ERROR] /Users/jo/Documents/workspace_foo/barfoo/src/java/eu/foo/bar/tests/PropertyConditionalTest.java:[3,22] package org.junit.rules does not exist
          [ERROR] /Users/jo/Documents/workspace_foo/barfoo/src/java/eu/foo/bar/tests/PropertyConditionalTest.java:[4,23] package org.junit.runner does not exist
          [ERROR] /Users/jo/Documents/workspace_foo/barfoo/src/java/eu/foo/bar/tests/PropertyConditionalTest.java:[5,30] package org.junit.runners.model does not exist
          [ERROR] /Users/jo/Documents/workspace_foo/barfoo/src/java/eu/foo/bar/tests/PropertyConditionalTest.java:[23,48] cannot find symbol
          symbol: class TestRule
          public class PropertyConditionalTest implements TestRule {
          [ERROR] /Users/jo/Documents/workspace_foo/barfoo/src/java/eu/foo/bar/tests/PropertyConditionalTest.java:[47,27] cannot find symbol
          symbol  : class Statement
          location: class eu.foo.bar.tests.PropertyConditionalTest
          [ERROR] /Users/jo/Documents/workspace_foo/barfoo/src/java/eu/foo/bar/tests/PropertyConditionalTest.java:[47,43] cannot find symbol
          symbol  : class Description
          location: class eu.foo.bar.tests.PropertyConditionalTest
          [ERROR] /Users/jo/Documents/workspace_foo/barfoo/src/java/eu/foo/bar/tests/PropertyConditionalTest.java:[47,11] cannot find symbol
          symbol  : class Statement
          location: class eu.foo.bar.tests.PropertyConditionalTest
          [ERROR] /Users/jo/Documents/workspace_foo/barfoo/src/java/eu/foo/bar/tests/PropertyConditionalTest.java:[52,23] cannot find symbol
          symbol  : class Statement
          location: class eu.foo.bar.tests.PropertyConditionalTest
          [ERROR] /Users/jo/Documents/workspace_foo/barfoo/src/java/eu/foo/bar/tests/PropertyConditionalTest.java:[46,4] method does not override or implement a method from a supertype
          [INFO] 9 errors 
          [INFO] -------------------------------------------------------------
          [INFO] ------------------------------------------------------------------------
          [INFO] BUILD FAILURE
          [INFO] ------------------------------------------------------------------------
          [INFO] Total time: 8.801s
          [INFO] Finished at: Mon May 07 19:01:19 CEST 2012
          [INFO] Final Memory: 36M/81M
          [INFO] ------------------------------------------------------------------------
          [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project bar: Compilation failure: Compilation failure:
          [ERROR] /Users/jo/Documents/workspace_foo/barfoo/src/java/eu/foo/bar/tests/PropertyConditionalTest.java:[3,22] package org.junit.rules does not exist
          [ERROR] /Users/jo/Documents/workspace_foo/barfoo/src/java/eu/foo/bar/tests/PropertyConditionalTest.java:[4,23] package org.junit.runner does not exist
          [ERROR] /Users/jo/Documents/workspace_foo/barfoo/src/java/eu/foo/bar/tests/PropertyConditionalTest.java:[5,30] package org.junit.runners.model does not exist
          [ERROR] /Users/jo/Documents/workspace_foo/barfoo/src/java/eu/foo/bar/tests/PropertyConditionalTest.java:[23,48] cannot find symbol
          [ERROR] symbol: class TestRule
          [ERROR] public class PropertyConditionalTest implements TestRule {
          [ERROR] /Users/jo/Documents/workspace_foo/barfoo/src/java/eu/foo/bar/tests/PropertyConditionalTest.java:[47,27] cannot find symbol
          [ERROR] symbol  : class Statement
          [ERROR] location: class eu.foo.bar.tests.PropertyConditionalTest
          [ERROR] /Users/jo/Documents/workspace_foo/barfoo/src/java/eu/foo/bar/tests/PropertyConditionalTest.java:[47,43] cannot find symbol
          [ERROR] symbol  : class Description
          [ERROR] location: class eu.foo.bar.tests.PropertyConditionalTest
          [ERROR] /Users/jo/Documents/workspace_foo/barfoo/src/java/eu/foo/bar/tests/PropertyConditionalTest.java:[47,11] cannot find symbol
          [ERROR] symbol  : class Statement
          [ERROR] location: class eu.foo.bar.tests.PropertyConditionalTest
          [ERROR] /Users/jo/Documents/workspace_foo/barfoo/src/java/eu/foo/bar/tests/PropertyConditionalTest.java:[52,23] cannot find symbol
          [ERROR] symbol  : class Statement
          [ERROR] location: class eu.foo.bar.tests.PropertyConditionalTest
          [ERROR] /Users/jo/Documents/workspace_foo/barfoo/src/java/eu/foo/bar/tests/PropertyConditionalTest.java:[46,4] method does not override or implement a method from a supertype
          [ERROR] -> [Help 1]
          [ERROR] 
          [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
          [ERROR] Re-run Maven using the -X switch to enable full debug logging.
          [ERROR] 
          [ERROR] For more information about the errors and possible solutions, please read the following articles:
          [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException 
          
          
          Show
          Jo Voordeckers added a comment - Also here a 'mvn clean package' that fails while compiling java code, a 'mvn package' after a 'grails compile' works fine so the maven-integration works to some degree, but we need a working 'mvn release' to deploy to Nexus from our CI ENV before we can deploy to production: $ mvn clean package [INFO] Scanning for projects... [WARNING] The POM for org.springframework.uaa:org.springframework.uaa.client:jar:1.0.1.RELEASE is missing, no dependency information available [WARNING] [WARNING] Some problems were encountered while building the effective model for eu.foo:bar:war:0.5-TEST1 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 103, column 15 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 46, column 17 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building bar 0.5-TEST1 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ bar --- [INFO] Deleting /Users/jo/Documents/workspace_foo/barfoo/target [INFO] Deleting /Users/jo/Documents/workspace_foo/barfoo/plugins (includes = [**/*], excludes = []) [INFO] [INFO] --- grails-maven-plugin:2.0.3:maven-clean (default) @ bar --- |Loading Grails 2.0.3 |Configuring classpath |Running pre-compiled script . |Environment set to development ................ |Application cleaned. [INFO] [INFO] --- grails-maven-plugin:2.0.3:validate (default) @ bar --- [INFO] [INFO] --- grails-maven-plugin:2.0.3:init (default) @ bar --- [INFO] [INFO] --- grails-maven-plugin:2.0.3:config-directories (default) @ bar --- [INFO] [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ bar --- [INFO] Using 'ISO-8859-1' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /Users/jo/Documents/workspace_foo/barfoo/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ bar --- [INFO] Compiling 1 source file to /Users/jo/Documents/workspace_foo/barfoo/target/classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /Users/jo/Documents/workspace_foo/barfoo/src/java/eu/foo/bar/tests/PropertyConditionalTest.java:[3,22] package org.junit.rules does not exist [ERROR] /Users/jo/Documents/workspace_foo/barfoo/src/java/eu/foo/bar/tests/PropertyConditionalTest.java:[4,23] package org.junit.runner does not exist [ERROR] /Users/jo/Documents/workspace_foo/barfoo/src/java/eu/foo/bar/tests/PropertyConditionalTest.java:[5,30] package org.junit.runners.model does not exist [ERROR] /Users/jo/Documents/workspace_foo/barfoo/src/java/eu/foo/bar/tests/PropertyConditionalTest.java:[23,48] cannot find symbol symbol: class TestRule public class PropertyConditionalTest implements TestRule { [ERROR] /Users/jo/Documents/workspace_foo/barfoo/src/java/eu/foo/bar/tests/PropertyConditionalTest.java:[47,27] cannot find symbol symbol : class Statement location: class eu.foo.bar.tests.PropertyConditionalTest [ERROR] /Users/jo/Documents/workspace_foo/barfoo/src/java/eu/foo/bar/tests/PropertyConditionalTest.java:[47,43] cannot find symbol symbol : class Description location: class eu.foo.bar.tests.PropertyConditionalTest [ERROR] /Users/jo/Documents/workspace_foo/barfoo/src/java/eu/foo/bar/tests/PropertyConditionalTest.java:[47,11] cannot find symbol symbol : class Statement location: class eu.foo.bar.tests.PropertyConditionalTest [ERROR] /Users/jo/Documents/workspace_foo/barfoo/src/java/eu/foo/bar/tests/PropertyConditionalTest.java:[52,23] cannot find symbol symbol : class Statement location: class eu.foo.bar.tests.PropertyConditionalTest [ERROR] /Users/jo/Documents/workspace_foo/barfoo/src/java/eu/foo/bar/tests/PropertyConditionalTest.java:[46,4] method does not override or implement a method from a supertype [INFO] 9 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 8.801s [INFO] Finished at: Mon May 07 19:01:19 CEST 2012 [INFO] Final Memory: 36M/81M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project bar: Compilation failure: Compilation failure: [ERROR] /Users/jo/Documents/workspace_foo/barfoo/src/java/eu/foo/bar/tests/PropertyConditionalTest.java:[3,22] package org.junit.rules does not exist [ERROR] /Users/jo/Documents/workspace_foo/barfoo/src/java/eu/foo/bar/tests/PropertyConditionalTest.java:[4,23] package org.junit.runner does not exist [ERROR] /Users/jo/Documents/workspace_foo/barfoo/src/java/eu/foo/bar/tests/PropertyConditionalTest.java:[5,30] package org.junit.runners.model does not exist [ERROR] /Users/jo/Documents/workspace_foo/barfoo/src/java/eu/foo/bar/tests/PropertyConditionalTest.java:[23,48] cannot find symbol [ERROR] symbol: class TestRule [ERROR] public class PropertyConditionalTest implements TestRule { [ERROR] /Users/jo/Documents/workspace_foo/barfoo/src/java/eu/foo/bar/tests/PropertyConditionalTest.java:[47,27] cannot find symbol [ERROR] symbol : class Statement [ERROR] location: class eu.foo.bar.tests.PropertyConditionalTest [ERROR] /Users/jo/Documents/workspace_foo/barfoo/src/java/eu/foo/bar/tests/PropertyConditionalTest.java:[47,43] cannot find symbol [ERROR] symbol : class Description [ERROR] location: class eu.foo.bar.tests.PropertyConditionalTest [ERROR] /Users/jo/Documents/workspace_foo/barfoo/src/java/eu/foo/bar/tests/PropertyConditionalTest.java:[47,11] cannot find symbol [ERROR] symbol : class Statement [ERROR] location: class eu.foo.bar.tests.PropertyConditionalTest [ERROR] /Users/jo/Documents/workspace_foo/barfoo/src/java/eu/foo/bar/tests/PropertyConditionalTest.java:[52,23] cannot find symbol [ERROR] symbol : class Statement [ERROR] location: class eu.foo.bar.tests.PropertyConditionalTest [ERROR] /Users/jo/Documents/workspace_foo/barfoo/src/java/eu/foo/bar/tests/PropertyConditionalTest.java:[46,4] method does not override or implement a method from a supertype [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
          Hide
          Graeme Rocher added a comment -

          @Jo - please create a separate JIRA issue for that and attach an example that reproduces the problem

          Show
          Graeme Rocher added a comment - @Jo - please create a separate JIRA issue for that and attach an example that reproduces the problem
          Hide
          Jo Voordeckers added a comment -

          @Graeme issue MAVEN-169 created

          Show
          Jo Voordeckers added a comment - @Graeme issue MAVEN-169 created
          Hide
          Bram added a comment -

          After Graeme Rocher comment on 18/Apr/12 4:28 AM I fiddled around some more
          (don't know exactly what) but that didn't work.
          Just upped to version 2.1.0.RC1 of the grails-maven-plugin (in the POM)
          and the same Grails version 2.1.0.RC1 in the application.properties and that WORKS

          Show
          Bram added a comment - After Graeme Rocher comment on 18/Apr/12 4:28 AM I fiddled around some more (don't know exactly what) but that didn't work. Just upped to version 2.1.0.RC1 of the grails-maven-plugin (in the POM) and the same Grails version 2.1.0.RC1 in the application.properties and that WORKS
          Hide
          Bram added a comment - - edited

          Grmbl...
          Builds on my local machine like a charm.
          Also builds (when manually invoked) on the build-server after some fiddling, which included copy-ing
          these Springframework's Artifacts to the M2-dir:

          • org.springframework.uaa.client
          • org.springframework.uaa.osgi.bundle
          • org.springframework.uaa.root

          But when I build it with Jenkins (same dir as the manual invocated build), I get this:

          Grails plug-in [filters] with version [2.1.0.RC1] loaded successfully
          ....Refreshing org.codehaus.groovy.grails.commons.spring.GrailsWebApplicationContext@1615345: startup date [Thu May 24 15:34:44 CEST 2012]; root of context hierarchy
          ..Error 
          |
          Exception occurred trigger event [TestProduceReports]: java.lang.IllegalAccessError: tried to access class org.apache.xml.serializer.ExtendedContentHandler from class org.apache.xalan.transformer.TransformerImpl (Use --stacktrace to see the full trace)
          |Tests PASSED - view reports in C:\Jenkins\jobs\isplawsonm3interface_\workspace\target\test-reports
          [JENKINS] Re-archiving C:\Jenkins\jobs\isplawsonm3interface_\workspace\target\isplawsonm3interface-0.0.1-SNAPSHOT.war
          [JENKINS] Archiving C:\Jenkins\jobs\isplawsonm3interface_\workspace\target\isplawsonm3interface-0.0.1-SNAPSHOT-tests.jar to C:\Jenkins\jobs\isplawsonm3interface_\modules\nl.isprojects.ispinterface$isplawsonm3interface\builds\2012-05-24_15-33-45\archive\nl.isprojects.ispinterface\isplawsonm3interface\0.0.1-SNAPSHOT\isplawsonm3interface-0.0.1-SNAPSHOT-tests.jar
          [INFO] ------------------------------------------------------------------------
          [ERROR] BUILD ERROR
          [INFO] ------------------------------------------------------------------------
          [INFO] Unable to start Grails
          
          Embedded error: java.lang.reflect.InvocationTargetException
          org.codehaus.groovy.grails.commons.spring.GrailsApplicationContext.getEnvironment()Lorg/springframework/core/env/ConfigurableEnvironment;
          [INFO] ------------------------------------------------------------------------
          [INFO] For more information, run Maven with the -e switch
          [INFO] ------------------------------------------------------------------------
          

          Plz help

          Show
          Bram added a comment - - edited Grmbl... Builds on my local machine like a charm. Also builds (when manually invoked) on the build-server after some fiddling, which included copy-ing these Springframework's Artifacts to the M2-dir: org.springframework.uaa.client org.springframework.uaa.osgi.bundle org.springframework.uaa.root But when I build it with Jenkins (same dir as the manual invocated build), I get this: Grails plug-in [filters] with version [2.1.0.RC1] loaded successfully ....Refreshing org.codehaus.groovy.grails.commons.spring.GrailsWebApplicationContext@1615345: startup date [Thu May 24 15:34:44 CEST 2012]; root of context hierarchy ..Error | Exception occurred trigger event [TestProduceReports]: java.lang.IllegalAccessError: tried to access class org.apache.xml.serializer.ExtendedContentHandler from class org.apache.xalan.transformer.TransformerImpl (Use --stacktrace to see the full trace) |Tests PASSED - view reports in C:\Jenkins\jobs\isplawsonm3interface_\workspace\target\test-reports [JENKINS] Re-archiving C:\Jenkins\jobs\isplawsonm3interface_\workspace\target\isplawsonm3interface-0.0.1-SNAPSHOT.war [JENKINS] Archiving C:\Jenkins\jobs\isplawsonm3interface_\workspace\target\isplawsonm3interface-0.0.1-SNAPSHOT-tests.jar to C:\Jenkins\jobs\isplawsonm3interface_\modules\nl.isprojects.ispinterface$isplawsonm3interface\builds\2012-05-24_15-33-45\archive\nl.isprojects.ispinterface\isplawsonm3interface\0.0.1-SNAPSHOT\isplawsonm3interface-0.0.1-SNAPSHOT-tests.jar [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Unable to start Grails Embedded error: java.lang.reflect.InvocationTargetException org.codehaus.groovy.grails.commons.spring.GrailsApplicationContext.getEnvironment()Lorg/springframework/core/env/ConfigurableEnvironment; [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ Plz help
          Hide
          Graeme Rocher added a comment -

          Please try the 2.1.0.RC2 version and use the new forked mode. See http://grails.org/doc/2.1.x/guide/commandLine.html#antAndMaven section on "Forked Grails Execution"

          This is a case of a class path conflict in the maven process

          Show
          Graeme Rocher added a comment - Please try the 2.1.0.RC2 version and use the new forked mode. See http://grails.org/doc/2.1.x/guide/commandLine.html#antAndMaven section on "Forked Grails Execution" This is a case of a class path conflict in the maven process
          Hide
          Bram added a comment -

          Hi Graeme Rocher,

          Thanks for your quick responses.
          I switched to 2.1.0.RC2, which behaved exactly like RC1 (builds perfect manually on local and machine and build-server, but not in Jenkins).
          I then added the forked-build setting and got this (on local machine and Jenkins)

          [INFO] No tests to run.
          [JENKINS] Recording test results
          [INFO] [grails:maven-test {execution: default}]
          SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
          SLF4J: Defaulting to no-operation (NOP) logger implementation
          SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
          
          |Loading Grails 2.1.0.RC2
          |Configuring classpath
          |Running pre-compiled script
          .
          |Environment set to test
          .........
          Fatal error forking Grails JVM: java.lang.reflect.InvocationTargetException
          java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
          	at org.grails.launcher.GrailsLauncher.launch(GrailsLauncher.java:150)
          	at org.grails.maven.plugin.tools.ForkedGrailsRuntime.main(ForkedGrailsRuntime.java:152)
          Caused by: java.lang.reflect.InvocationTargetException
          	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          	at java.lang.reflect.Method.invoke(Method.java:597)
          	at org.grails.launcher.GrailsLauncher.launch(GrailsLauncher.java:144)
          	... 1 more
          Caused by: : taskdef class org.codehaus.groovy.grails.test.compiler.GrailsTestCompiler cannot be found
           using the classloader AntClassLoader[C:\Jenkins\jobs\isplawsonm3interface_\workspace\grails-app\.svn;C:\Jenkins\jobs\isplawsonm3interface_\workspace\grails-app\conf;C:\Jenkins\jobs\isplawsonm3interface_\workspace\grails-app\controllers;C:\Jenkins\jobs\isplawsonm3interface_\workspace\grails-app\domain;C:\Jenkins\jobs\isplawsonm3interface_\workspace\grails-app\i18n;C:\Jenkins\jobs\isplawsonm3interface_\workspace\grails-app\services;C:\Jenkins\jobs\isplawsonm3interface_\workspace\grails-app\taglib;C:\Jenkins\jobs\isplawsonm3interface_\workspace\grails-app\utils;C:\Jenkins\jobs\isplawsonm3interface_\workspace\grails-app\views;C:\M2_repo\org\codehaus\mojo\dashboard-maven-plugin\1.0.0-beta-1\dashboard-maven-plugin-1.0.0-beta-1.jar;C:\M2_repo\org\apache\maven\reporting\maven-reporting-impl\2.0\maven-reporting-impl-2.0.jar;C:\M2_repo\org\apache\maven\maven-project\2.0\maven-project-2.0.jar;C:\M2_repo\org\apache\maven\maven-profile\2.0\maven-profile-2.0.jar;C:\M2_repo\org\apache\maven\maven-model\2.0\maven-model-2.0.jar;C:\M2_repo\org\codehaus\plexus\plexus-utils\1.3\plexus-utils-1.3.jar;C:\M2_repo\org\codehaus\plexus\plexus-container-default\1.0-alpha-8\plexus-container-default-1.0-alpha-8.jar;C:\M2_repo\junit\junit\4.8.1\junit-4.8.1.jar;C:\M2_repo\classworlds\classworlds\1.1-alpha-2\classworlds-1.1-alpha-2.jar;C:\M2_repo\org\apache\maven\maven-artifact-manager\2.0\maven-artifact-manager-2.0.jar;C:\M2_repo\org\apache\maven\maven-repository-metadata\2.0\maven-repository-metadata-2.0.jar;C:\M2_repo\org\apache\maven\maven-artifact\2.0\maven-artifact-2.0.jar;C:\M2_repo\org\apache\maven\wagon\wagon-provider-api\1.0-alpha-5\wagon-provider-api-1.0-alpha-5.jar;C:\M2_repo\commons-validator\commons-validator\1.3.1\commons-validator-1.3.1.jar;C:\M2_repo\org\apache\maven\maven-plugin-api\2.0\maven-plugin-api-2.0.jar;C:\M2_repo\oro\oro\2.0.8\oro-2.0.8.jar;C:\M2_repo\org\apache\maven\reporting\maven-reporting-api\2.0\maven-reporting-api-2.0.jar;C:\M2_repo\doxia\doxia-sink-api\1.0-alpha-4\doxia-sink-api-1.0-alpha-4.jar;C:\M2_repo\doxia\doxia-core\1.0-alpha-4\doxia-core-1.0-alpha-4.jar;C:\M2_repo\com\thoughtworks\xstream\xstream\1.2\xstream-1.2.jar;C:\M2_repo\xpp3\xpp3_min\1.1.3.4.O\xpp3_min-1.1.3.4.O.jar;C:\M2_repo\org\apache\maven\plugins\maven-surefire-report-plugin\2.4.1\maven-surefire-report-plugin-2.4.1.jar;C:\M2_repo\log4j\log4j\1.2.16\log4j-1.2.16.jar;C:\M2_repo\net\sourceforge\cobertura\cobertura\1.9.4.1\cobertura-1.9.4.1.jar;C:\M2_repo\asm\asm-tree\3.0\asm-tree-3.0.jar;C:\M2_repo\org\apache\ant\ant\1.7.1\ant-1.7.1.jar;C:\M2_repo\org\apache\ant\ant-launcher\1.7.1\ant-launcher-1.7.1.jar;C:\M2_repo\jfree\jfreechart\1.0.5\jfreechart-1.0.5.jar;C:\M2_repo\jfree\jcommon\1.0.9\jcommon-1.0.9.jar;C:\M2_repo\org\codehaus\mojo\jdepend-maven-plugin\2.0-beta-2\jdepend-maven-plugin-2.0-beta-2.jar;C:\M2_repo\jdepend\jdepend\2.9.1\jdepend-2.9.1.jar;C:\M2_repo\org\codehaus\plexus\plexus-resources\1.0-alpha-4\plexus-resources-1.0-alpha-4.jar;C:\M2_repo\xalan\xalan\2.7.1\xalan-2.7.1.jar;C:\M2_repo\org\hibernate\hibernate\3.2.0.ga\hibernate-3.2.0.ga.jar;C:\M2_repo\net\sf\ehcache\ehcache\1.5.0\ehcache-1.5.0.jar;C:\M2_repo\commons-logging\commons-logging\1.1.1\commons-logging-1.1.1.jar;C:\M2_repo\commons-collections\commons-collections\3.2.1\commons-collections-3.2.1.jar;C:\M2_repo\asm\asm-attrs\1.5.3\asm-attrs-1.5.3.jar;C:\M2_repo\dom4j\dom4j\1.6.1\dom4j-1.6.1.jar;C:\M2_repo\antlr\antlr\2.7.6\antlr-2.7.6.jar;C:\M2_repo\cglib\cglib\2.2\cglib-2.2.jar;C:\M2_repo\asm\asm\3.0\asm-3.0.jar;C:\M2_repo\org\apache\geronimo\specs\geronimo-jta_1.0.1B_spec\1.1.1\geronimo-jta_1.0.1B_spec-1.1.1.jar;C:\M2_repo\org\apache\maven\doxia\doxia-core\1.0-alpha-7\doxia-core-1.0-alpha-7.jar;C:\M2_repo\org\apache\maven\doxia\doxia-sink-api\1.0-alpha-7\doxia-sink-api-1.0-alpha-7.jar;C:\M2_repo\org\springframework\spring-asm\3.0.3.RELEASE\spring-asm-3.0.3.RELEASE.jar;C:\M2_repo\org\springframework\spring-web\3.0.3.RELEASE\spring-web-3.0.3.RELEASE.jar;C:\M2_repo\aopalliance\aopalliance\1.0\aopalliance-1.0.jar;C:\M2_repo\org\springframework\spring-beans\3.0.3.RELEASE\spring-beans-3.0.3.RELEASE.jar;C:\M2_repo\org\springframework\spring-core\3.0.3.RELEASE\spring-core-3.0.3.RELEASE.jar;C:\M2_repo\org\springframework\spring-context\3.0.3.RELEASE\spring-context-3.0.3.RELEASE.jar;C:\M2_repo\org\springframework\spring-aop\3.1.0.RELEASE\spring-aop-3.1.0.RELEASE.jar;C:\M2_repo\org\springframework\spring-expression\3.1.0.RELEASE\spring-expression-3.1.0.RELEASE.jar;C:\M2_repo\org\codehaus\groovy\modules\groovyws\0.5.2\groovyws-0.5.2.jar;C:\M2_repo\org\apache\santuario\xmlsec\1.4.3\xmlsec-1.4.3.jar;C:\M2_repo\org\apache\cxf\cxf-bundle\2.2.7\cxf-bundle-2.2.7.jar;C:\M2_repo\org\apache\geronimo\specs\geronimo-annotation_1.0_spec\1.1.1\geronimo-annotation_1.0_spec-1.1.1.jar;C:\M2_repo\wsdl4j\wsdl4j\1.6.2\wsdl4j-1.6.2.jar;C:\M2_repo\org\apache\ws\commons\schema\XmlSchema\1.4.5\XmlSchema-1.4.5.jar;C:\M2_repo\commons-lang\commons-lang\2.6\commons-lang-2.6.jar;C:\M2_repo\org\apache\velocity\velocity\1.6.2\velocity-1.6.2.jar;C:\M2_repo\org\codehaus\woodstox\wstx-asl\3.2.9\wstx-asl-3.2.9.jar;C:\M2_repo\org\apache\neethi\neethi\2.0.4\neethi-2.0.4.jar;C:\M2_repo\org\apache\geronimo\specs\geronimo-javamail_1.4_spec\1.6\geronimo-javamail_1.4_spec-1.6.jar;C:\M2_repo\org\apache\geronimo\specs\geronimo-ws-metadata_2.0_spec\1.1.2\geronimo-ws-metadata_2.0_spec-1.1.2.jar;C:\M2_repo\org\apache\geronimo\specs\geronimo-jaxws_2.1_spec\1.0\geronimo-jaxws_2.1_spec-1.0.jar;C:\M2_repo\xml-resolver\xml-resolver\1.2\xml-resolver-1.2.jar;C:\M2_repo\org\mortbay\jetty\jetty\6.1.21\jetty-6.1.21.jar;C:\M2_repo\org\mortbay\jetty\jetty-util\6.1.21\jetty-util-6.1.21.jar;C:\M2_repo\org\slf4j\slf4j-api\1.6.2\slf4j-api-1.6.2.jar;C:\M2_repo\org\apache\geronimo\specs\geronimo-jms_1.1_spec\1.1.1\geronimo-jms_1.1_spec-1.1.1.jar;C:\M2_repo\commons-pool\commons-pool\1.5.6\commons-pool-1.5.6.jar;C:\M2_repo\org\springframework\spring-jms\3.1.0.RELEASE\spring-jms-3.1.0.RELEASE.jar;C:\M2_repo\org\springframework\spring-context-support\3.1.0.RELEASE\spring-context-support-3.1.0.RELEASE.jar;C:\M2_repo\org\springframework\spring-tx\3.1.0.RELEASE\spring-tx-3.1.0.RELEASE.jar;C:\M2_repo\org\codehaus\jra\jra\1.0-alpha-4\jra-1.0-alpha-4.jar;C:\M2_repo\rhino\js\1.7R1\js-1.7R1.jar;C:\M2_repo\javax\ws\rs\jsr311-api\1.0\jsr311-api-1.0.jar;C:\M2_repo\org\apache\abdera\abdera-core\0.4.0-incubating\abdera-core-0.4.0-incubating.jar;C:\M2_repo\org\apache\abdera\abdera-i18n\0.4.0-incubating\abdera-i18n-0.4.0-incubating.jar;C:\M2_repo\commons-codec\commons-codec\1.4\commons-codec-1.4.jar;C:\M2_repo\org\apache\abdera\abdera-parser\0.4.0-incubating\abdera-parser-0.4.0-incubating.jar;C:\M2_repo\org\apache\ws\commons\axiom\axiom-impl\1.2.7\axiom-impl-1.2.7.jar;C:\M2_repo\org\apache\ws\commons\axiom\axiom-api\1.2.7\axiom-api-1.2.7.jar;C:\M2_repo\org\apache\abdera\abdera-extensions-json\0.4.0-incubating\abdera-extensions-json-0.4.0-incubating.jar;C:\M2_repo\org\apache\abdera\abdera-extensions-main\0.4.0-incubating\abdera-extensions-main-0.4.0-incubating.jar;C:\M2_repo\org\codehaus\jettison\jettison\1.2\jettison-1.2.jar;C:\M2_repo\org\apache\ws\security\wss4j\1.5.8\wss4j-1.5.8.jar;C:\M2_repo\xalan\serializer\2.7.1\serializer-2.7.1.jar;C:\M2_repo\org\bouncycastle\bcprov-jdk15\1.43\bcprov-jdk15-1.43.jar;C:\M2_repo\org\jdom\jdom\1.1\jdom-1.1.jar;C:\M2_repo\com\sun\xml\fastinfoset\FastInfoset\1.2.7\FastInfoset-1.2.7.jar;C:\M2_repo\org\codehaus\groovy\groovy-all\1.8.6\groovy-all-1.8.6.jar;C:\M2_repo\org\grails\grails-core\2.0.1\grails-core-2.0.1.jar;C:\M2_repo\org\grails\grails-bootstrap\2.0.1\grails-bootstrap-2.0.1.jar;C:\M2_repo\org\fusesource\jansi\jansi\1.2.1\jansi-1.2.1.jar;C:\M2_repo\org\bouncycastle\bcpg-jdk15\1.45\bcpg-jdk15-1.45.jar;C:\M2_repo\com\google\protobuf\protobuf-java\2.3.0\protobuf-java-2.3.0.jar;C:\M2_repo\com\googlecode\json-simple\json-simple\1.1\json-simple-1.1.jar;C:\M2_repo\jline\jline\1.0\jline-1.0.jar;C:\M2_repo\javax\servlet\servlet-api\2.5\servlet-api-2.5.jar;C:\M2_repo\org\slf4j\jcl-over-slf4j\1.6.2\jcl-over-slf4j-1.6.2.jar;C:\M2_repo\org\apache\ivy\ivy\2.2.0\ivy-2.2.0.jar;C:\M2_repo\org\springframework\uaa\org.springframework.uaa.client\1.0.1.RELEASE\org.springframework.uaa.client-1.0.1.RELEASE.jar;C:\M2_repo\org\hibernate\javax\persistence\hibernate-jpa-2.0-api\1.0.1.Final\hibernate-jpa-2.0-api-1.0.1.Final.jar;C:\M2_repo\org\apache\ant\ant-trax\1.7.1\ant-trax-1.7.1.jar;C:\M2_repo\net\java\dev\jna\jna\3.2.3\jna-3.2.3.jar;C:\M2_repo\org\apache\ant\ant-junit\1.8.2\ant-junit-1.8.2.jar;C:\M2_repo\org\springframework\spring-test\3.1.0.RELEASE\spring-test-3.1.0.RELEASE.jar;C:\M2_repo\org\codehaus\gant\gant_groovy1.8\1.9.6\gant_groovy1.8-1.9.6.jar;C:\M2_repo\commons-cli\commons-cli\1.2\commons-cli-1.2.jar;C:\M2_repo\commons-io\commons-io\2.1\commons-io-2.1.jar;C:\M2_repo\org\springframework\spring-aspects\3.1.0.RELEASE\spring-aspects-3.1.0.RELEASE.jar;C:\M2_repo\org\aspectj\aspectjrt\1.6.8\aspectjrt-1.6.8.jar;C:\M2_repo\org\aspectj\aspectjweaver\1.6.8\aspectjweaver-1.6.8.jar;C:\M2_repo\org\grails\grails-spring\2.0.1\grails-spring-2.0.1.jar;C:\M2_repo\org\grails\grails-test\2.1.0.RC2\grails-test-2.1.0.RC2.jar;C:\M2_repo\javax\servlet\javax.servlet-api\3.0.1\javax.servlet-api-3.0.1.jar;C:\M2_repo\org\grails\grails-web\2.1.0.RC2\grails-web-2.1.0.RC2.jar;C:\M2_repo\taglibs\standard\1.1.2\standard-1.1.2.jar;C:\M2_repo\com\googlecode\concurrentlinkedhashmap\concurrentlinkedhashmap-lru\1.2_jdk5\concurrentlinkedhashmap-lru-1.2_jdk5.jar;C:\M2_repo\commons-fileupload\commons-fileupload\1.2.2\commons-fileupload-1.2.2.jar;C:\M2_repo\javax\servlet\jstl\1.2\jstl-1.2.jar;C:\M2_repo\org\springframework\spring-webmvc\3.1.0.RELEASE\spring-webmvc-3.1.0.RELEASE.jar;C:\M2_repo\commons-el\commons-el\1.0\commons-el-1.0.jar;C:\M2_repo\opensymphony\sitemesh\2.4\sitemesh-2.4.jar;C:\M2_repo\commons-beanutils\commons-beanutils\1.8.3\commons-beanutils-1.8.3.jar;C:\M2_repo\javax\servlet\jsp-api\2.0\jsp-api-2.0.jar;C:\M2_repo\org\grails\grails-plugin-mimetypes\2.1.0.RC2\grails-plugin-mimetypes-2.1.0.RC2.jar;C:\M2_repo\org\grails\grails-plugin-converters\2.1.0.RC2\grails-plugin-converters-2.1.0.RC2.jar;C:\M2_repo\org\grails\grails-plugin-domain-class\2.1.0.RC2\grails-plugin-domain-class-2.1.0.RC2.jar;C:\M2_repo\org\grails\grails-datastore-simple\1.0.9.RELEASE\grails-datastore-simple-1.0.9.RELEASE.jar;C:\M2_repo\org\grails\grails-datastore-core\1.0.9.RELEASE\grails-datastore-core-1.0.9.RELEASE.jar;C:\M2_repo\javax\persistence\persistence-api\1.0\persistence-api-1.0.jar;C:\M2_repo\javax\transaction\jta\1.1\jta-1.1.jar;C:\M2_repo\org\grails\grails-plugin-i18n\2.0.2\grails-plugin-i18n-2.0.2.jar;C:\M2_repo\org\grails\grails-datastore-gorm\1.0.9.RELEASE\grails-datastore-gorm-1.0.9.RELEASE.jar;C:\M2_repo\org\grails\grails-plugin-datasource\2.0.2\grails-plugin-datasource-2.0.2.jar;C:\M2_repo\org\springframework\spring-jdbc\3.1.0.RELEASE\spring-jdbc-3.1.0.RELEASE.jar;C:\M2_repo\com\h2database\h2\1.3.164\h2-1.3.164.jar;C:\M2_repo\commons-dbcp\commons-dbcp\1.4\commons-dbcp-1.4.jar;C:\M2_repo\hsqldb\hsqldb\1.8.0.10\hsqldb-1.8.0.10.jar;C:\M2_repo\backport-util-concurrent\backport-util-concurrent\3.1\backport-util-concurrent-3.1.jar;C:\M2_repo\net\sf\jsr107cache\jsr107cache\1.0\jsr107cache-1.0.jar;C:\M2_repo\javassist\javassist\3.11.0.GA\javassist-3.11.0.GA.jar;C:\M2_repo\org\slf4j\slf4j-log4j12\1.6.1\slf4j-log4j12-1.6.1.jar;C:\M2_repo\org\apache\httpcomponents\httpclient\4.1.2\httpclient-4.1.2.jar;C:\M2_repo\org\apache\httpcomponents\httpcore\4.1.2\httpcore-4.1.2.jar;C:\Jenkins\jobs\isplawsonm3interface_\workspace\target\classes;C:\Jenkins\jobs\isplawsonm3interface_\workspace\target\plugin-classes]
          	at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:622)
          	at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:239)
          	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
          	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          	at java.lang.reflect.Method.invoke(Method.java:597)
          	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
          	at groovy.util.AntBuilder.performTask(AntBuilder.java:260)
          	at groovy.util.AntBuilder.nodeCompleted(AntBuilder.java:220)
          	at groovy.util.BuilderSupport.doInvokeMethod(BuilderSupport.java:147)
          	at groovy.util.AntBuilder.doInvokeMethod(AntBuilder.java:170)
          	at groovy.util.BuilderSupport.invokeMethod(BuilderSupport.java:64)
          	at org.codehaus.gant.GantBuilder.invokeMethod(GantBuilder.java:99)
          	at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:45)
          	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
          	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
          	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
          	at _GrailsTest.run(_GrailsTest.groovy:105)
          	at _GrailsTest$run.call(Unknown Source)
          	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
          	at _GrailsSettings$run.call(Unknown Source)
          	at org.codehaus.gant.AbstractInclude.createInstance(AbstractInclude.groovy:109)
          	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          	at java.lang.reflect.Method.invoke(Method.java:597)
          	at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:267)
          	at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:52)
          	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)
          	at org.codehaus.gant.IncludeTargets.leftShift(IncludeTargets.groovy:40)
          	at org.codehaus.gant.IncludeTargets$leftShift.call(Unknown Source)
          	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
          	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
          	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
          	at TestApp.run(TestApp.groovy:25)
          	at TestApp$run.call(Unknown Source)
          	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
          	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
          	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)
          	at gant.Gant.prepareTargets(Gant.groovy:607)
          	at org.codehaus.groovy.grails.cli.GrailsScriptRunner.executeWithGantInstance(GrailsScriptRunner.java:744)
          	at org.codehaus.groovy.grails.cli.GrailsScriptRunner.attemptPrecompiledScriptExecute(GrailsScriptRunner.java:533)
          	at org.codehaus.groovy.grails.cli.GrailsScriptRunner.executeScriptWithCaching(GrailsScriptRunner.java:455)
          	at org.codehaus.groovy.grails.cli.GrailsScriptRunner.callPluginOrGrailsScript(GrailsScriptRunner.java:396)
          	at org.codehaus.groovy.grails.cli.GrailsScriptRunner.executeCommand(GrailsScriptRunner.java:371)
          	at org.codehaus.groovy.grails.cli.GrailsScriptRunner.executeCommand(GrailsScriptRunner.java:339)
          	... 6 more
          Caused by: java.lang.ClassNotFoundException: org.codehaus.groovy.grails.test.compiler.GrailsTestCompiler
          	at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1361)
          	at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1311)
          	at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1064)
          	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
          	at java.lang.Class.forName0(Native Method)
          	at java.lang.Class.forName(Class.java:247)
          	at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:594)
          	... 52 more
          [JENKINS] Archiving C:\Jenkins\jobs\isplawsonm3interface_\workspace\pom.xml to C:\Jenkins\jobs\isplawsonm3interface_\modules\nl.isprojects.ispinterface$isplawsonm3interface\builds\2012-05-25_14-41-26\archive\nl.isprojects.ispinterface\isplawsonm3interface\0.0.1-SNAPSHOT\isplawsonm3interface-0.0.1-SNAPSHOT.pom
          [INFO] ------------------------------------------------------------------------
          [ERROR] BUILD ERROR
          [INFO] ------------------------------------------------------------------------
          [INFO] Forked Grails VM exited with error
          
          [INFO] ------------------------------------------------------------------------
          [INFO] For more information, run Maven with the -e switch
          [INFO] ------------------------------------------------------------------------
          
          Show
          Bram added a comment - Hi Graeme Rocher, Thanks for your quick responses. I switched to 2.1.0.RC2, which behaved exactly like RC1 (builds perfect manually on local and machine and build-server, but not in Jenkins). I then added the forked-build setting and got this (on local machine and Jenkins) [INFO] No tests to run. [JENKINS] Recording test results [INFO] [grails:maven-test {execution: default}] SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. |Loading Grails 2.1.0.RC2 |Configuring classpath |Running pre-compiled script . |Environment set to test ......... Fatal error forking Grails JVM: java.lang.reflect.InvocationTargetException java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at org.grails.launcher.GrailsLauncher.launch(GrailsLauncher.java:150) at org.grails.maven.plugin.tools.ForkedGrailsRuntime.main(ForkedGrailsRuntime.java:152) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.grails.launcher.GrailsLauncher.launch(GrailsLauncher.java:144) ... 1 more Caused by: : taskdef class org.codehaus.groovy.grails.test.compiler.GrailsTestCompiler cannot be found using the classloader AntClassLoader[C:\Jenkins\jobs\isplawsonm3interface_\workspace\grails-app\.svn;C:\Jenkins\jobs\isplawsonm3interface_\workspace\grails-app\conf;C:\Jenkins\jobs\isplawsonm3interface_\workspace\grails-app\controllers;C:\Jenkins\jobs\isplawsonm3interface_\workspace\grails-app\domain;C:\Jenkins\jobs\isplawsonm3interface_\workspace\grails-app\i18n;C:\Jenkins\jobs\isplawsonm3interface_\workspace\grails-app\services;C:\Jenkins\jobs\isplawsonm3interface_\workspace\grails-app\taglib;C:\Jenkins\jobs\isplawsonm3interface_\workspace\grails-app\utils;C:\Jenkins\jobs\isplawsonm3interface_\workspace\grails-app\views;C:\M2_repo\org\codehaus\mojo\dashboard-maven-plugin\1.0.0-beta-1\dashboard-maven-plugin-1.0.0-beta-1.jar;C:\M2_repo\org\apache\maven\reporting\maven-reporting-impl\2.0\maven-reporting-impl-2.0.jar;C:\M2_repo\org\apache\maven\maven-project\2.0\maven-project-2.0.jar;C:\M2_repo\org\apache\maven\maven-profile\2.0\maven-profile-2.0.jar;C:\M2_repo\org\apache\maven\maven-model\2.0\maven-model-2.0.jar;C:\M2_repo\org\codehaus\plexus\plexus-utils\1.3\plexus-utils-1.3.jar;C:\M2_repo\org\codehaus\plexus\plexus-container-default\1.0-alpha-8\plexus-container-default-1.0-alpha-8.jar;C:\M2_repo\junit\junit\4.8.1\junit-4.8.1.jar;C:\M2_repo\classworlds\classworlds\1.1-alpha-2\classworlds-1.1-alpha-2.jar;C:\M2_repo\org\apache\maven\maven-artifact-manager\2.0\maven-artifact-manager-2.0.jar;C:\M2_repo\org\apache\maven\maven-repository-metadata\2.0\maven-repository-metadata-2.0.jar;C:\M2_repo\org\apache\maven\maven-artifact\2.0\maven-artifact-2.0.jar;C:\M2_repo\org\apache\maven\wagon\wagon-provider-api\1.0-alpha-5\wagon-provider-api-1.0-alpha-5.jar;C:\M2_repo\commons-validator\commons-validator\1.3.1\commons-validator-1.3.1.jar;C:\M2_repo\org\apache\maven\maven-plugin-api\2.0\maven-plugin-api-2.0.jar;C:\M2_repo\oro\oro\2.0.8\oro-2.0.8.jar;C:\M2_repo\org\apache\maven\reporting\maven-reporting-api\2.0\maven-reporting-api-2.0.jar;C:\M2_repo\doxia\doxia-sink-api\1.0-alpha-4\doxia-sink-api-1.0-alpha-4.jar;C:\M2_repo\doxia\doxia-core\1.0-alpha-4\doxia-core-1.0-alpha-4.jar;C:\M2_repo\com\thoughtworks\xstream\xstream\1.2\xstream-1.2.jar;C:\M2_repo\xpp3\xpp3_min\1.1.3.4.O\xpp3_min-1.1.3.4.O.jar;C:\M2_repo\org\apache\maven\plugins\maven-surefire-report-plugin\2.4.1\maven-surefire-report-plugin-2.4.1.jar;C:\M2_repo\log4j\log4j\1.2.16\log4j-1.2.16.jar;C:\M2_repo\net\sourceforge\cobertura\cobertura\1.9.4.1\cobertura-1.9.4.1.jar;C:\M2_repo\asm\asm-tree\3.0\asm-tree-3.0.jar;C:\M2_repo\org\apache\ant\ant\1.7.1\ant-1.7.1.jar;C:\M2_repo\org\apache\ant\ant-launcher\1.7.1\ant-launcher-1.7.1.jar;C:\M2_repo\jfree\jfreechart\1.0.5\jfreechart-1.0.5.jar;C:\M2_repo\jfree\jcommon\1.0.9\jcommon-1.0.9.jar;C:\M2_repo\org\codehaus\mojo\jdepend-maven-plugin\2.0-beta-2\jdepend-maven-plugin-2.0-beta-2.jar;C:\M2_repo\jdepend\jdepend\2.9.1\jdepend-2.9.1.jar;C:\M2_repo\org\codehaus\plexus\plexus-resources\1.0-alpha-4\plexus-resources-1.0-alpha-4.jar;C:\M2_repo\xalan\xalan\2.7.1\xalan-2.7.1.jar;C:\M2_repo\org\hibernate\hibernate\3.2.0.ga\hibernate-3.2.0.ga.jar;C:\M2_repo\net\sf\ehcache\ehcache\1.5.0\ehcache-1.5.0.jar;C:\M2_repo\commons-logging\commons-logging\1.1.1\commons-logging-1.1.1.jar;C:\M2_repo\commons-collections\commons-collections\3.2.1\commons-collections-3.2.1.jar;C:\M2_repo\asm\asm-attrs\1.5.3\asm-attrs-1.5.3.jar;C:\M2_repo\dom4j\dom4j\1.6.1\dom4j-1.6.1.jar;C:\M2_repo\antlr\antlr\2.7.6\antlr-2.7.6.jar;C:\M2_repo\cglib\cglib\2.2\cglib-2.2.jar;C:\M2_repo\asm\asm\3.0\asm-3.0.jar;C:\M2_repo\org\apache\geronimo\specs\geronimo-jta_1.0.1B_spec\1.1.1\geronimo-jta_1.0.1B_spec-1.1.1.jar;C:\M2_repo\org\apache\maven\doxia\doxia-core\1.0-alpha-7\doxia-core-1.0-alpha-7.jar;C:\M2_repo\org\apache\maven\doxia\doxia-sink-api\1.0-alpha-7\doxia-sink-api-1.0-alpha-7.jar;C:\M2_repo\org\springframework\spring-asm\3.0.3.RELEASE\spring-asm-3.0.3.RELEASE.jar;C:\M2_repo\org\springframework\spring-web\3.0.3.RELEASE\spring-web-3.0.3.RELEASE.jar;C:\M2_repo\aopalliance\aopalliance\1.0\aopalliance-1.0.jar;C:\M2_repo\org\springframework\spring-beans\3.0.3.RELEASE\spring-beans-3.0.3.RELEASE.jar;C:\M2_repo\org\springframework\spring-core\3.0.3.RELEASE\spring-core-3.0.3.RELEASE.jar;C:\M2_repo\org\springframework\spring-context\3.0.3.RELEASE\spring-context-3.0.3.RELEASE.jar;C:\M2_repo\org\springframework\spring-aop\3.1.0.RELEASE\spring-aop-3.1.0.RELEASE.jar;C:\M2_repo\org\springframework\spring-expression\3.1.0.RELEASE\spring-expression-3.1.0.RELEASE.jar;C:\M2_repo\org\codehaus\groovy\modules\groovyws\0.5.2\groovyws-0.5.2.jar;C:\M2_repo\org\apache\santuario\xmlsec\1.4.3\xmlsec-1.4.3.jar;C:\M2_repo\org\apache\cxf\cxf-bundle\2.2.7\cxf-bundle-2.2.7.jar;C:\M2_repo\org\apache\geronimo\specs\geronimo-annotation_1.0_spec\1.1.1\geronimo-annotation_1.0_spec-1.1.1.jar;C:\M2_repo\wsdl4j\wsdl4j\1.6.2\wsdl4j-1.6.2.jar;C:\M2_repo\org\apache\ws\commons\schema\XmlSchema\1.4.5\XmlSchema-1.4.5.jar;C:\M2_repo\commons-lang\commons-lang\2.6\commons-lang-2.6.jar;C:\M2_repo\org\apache\velocity\velocity\1.6.2\velocity-1.6.2.jar;C:\M2_repo\org\codehaus\woodstox\wstx-asl\3.2.9\wstx-asl-3.2.9.jar;C:\M2_repo\org\apache\neethi\neethi\2.0.4\neethi-2.0.4.jar;C:\M2_repo\org\apache\geronimo\specs\geronimo-javamail_1.4_spec\1.6\geronimo-javamail_1.4_spec-1.6.jar;C:\M2_repo\org\apache\geronimo\specs\geronimo-ws-metadata_2.0_spec\1.1.2\geronimo-ws-metadata_2.0_spec-1.1.2.jar;C:\M2_repo\org\apache\geronimo\specs\geronimo-jaxws_2.1_spec\1.0\geronimo-jaxws_2.1_spec-1.0.jar;C:\M2_repo\xml-resolver\xml-resolver\1.2\xml-resolver-1.2.jar;C:\M2_repo\org\mortbay\jetty\jetty\6.1.21\jetty-6.1.21.jar;C:\M2_repo\org\mortbay\jetty\jetty-util\6.1.21\jetty-util-6.1.21.jar;C:\M2_repo\org\slf4j\slf4j-api\1.6.2\slf4j-api-1.6.2.jar;C:\M2_repo\org\apache\geronimo\specs\geronimo-jms_1.1_spec\1.1.1\geronimo-jms_1.1_spec-1.1.1.jar;C:\M2_repo\commons-pool\commons-pool\1.5.6\commons-pool-1.5.6.jar;C:\M2_repo\org\springframework\spring-jms\3.1.0.RELEASE\spring-jms-3.1.0.RELEASE.jar;C:\M2_repo\org\springframework\spring-context-support\3.1.0.RELEASE\spring-context-support-3.1.0.RELEASE.jar;C:\M2_repo\org\springframework\spring-tx\3.1.0.RELEASE\spring-tx-3.1.0.RELEASE.jar;C:\M2_repo\org\codehaus\jra\jra\1.0-alpha-4\jra-1.0-alpha-4.jar;C:\M2_repo\rhino\js\1.7R1\js-1.7R1.jar;C:\M2_repo\javax\ws\rs\jsr311-api\1.0\jsr311-api-1.0.jar;C:\M2_repo\org\apache\abdera\abdera-core\0.4.0-incubating\abdera-core-0.4.0-incubating.jar;C:\M2_repo\org\apache\abdera\abdera-i18n\0.4.0-incubating\abdera-i18n-0.4.0-incubating.jar;C:\M2_repo\commons-codec\commons-codec\1.4\commons-codec-1.4.jar;C:\M2_repo\org\apache\abdera\abdera-parser\0.4.0-incubating\abdera-parser-0.4.0-incubating.jar;C:\M2_repo\org\apache\ws\commons\axiom\axiom-impl\1.2.7\axiom-impl-1.2.7.jar;C:\M2_repo\org\apache\ws\commons\axiom\axiom-api\1.2.7\axiom-api-1.2.7.jar;C:\M2_repo\org\apache\abdera\abdera-extensions-json\0.4.0-incubating\abdera-extensions-json-0.4.0-incubating.jar;C:\M2_repo\org\apache\abdera\abdera-extensions-main\0.4.0-incubating\abdera-extensions-main-0.4.0-incubating.jar;C:\M2_repo\org\codehaus\jettison\jettison\1.2\jettison-1.2.jar;C:\M2_repo\org\apache\ws\security\wss4j\1.5.8\wss4j-1.5.8.jar;C:\M2_repo\xalan\serializer\2.7.1\serializer-2.7.1.jar;C:\M2_repo\org\bouncycastle\bcprov-jdk15\1.43\bcprov-jdk15-1.43.jar;C:\M2_repo\org\jdom\jdom\1.1\jdom-1.1.jar;C:\M2_repo\com\sun\xml\fastinfoset\FastInfoset\1.2.7\FastInfoset-1.2.7.jar;C:\M2_repo\org\codehaus\groovy\groovy-all\1.8.6\groovy-all-1.8.6.jar;C:\M2_repo\org\grails\grails-core\2.0.1\grails-core-2.0.1.jar;C:\M2_repo\org\grails\grails-bootstrap\2.0.1\grails-bootstrap-2.0.1.jar;C:\M2_repo\org\fusesource\jansi\jansi\1.2.1\jansi-1.2.1.jar;C:\M2_repo\org\bouncycastle\bcpg-jdk15\1.45\bcpg-jdk15-1.45.jar;C:\M2_repo\com\google\protobuf\protobuf-java\2.3.0\protobuf-java-2.3.0.jar;C:\M2_repo\com\googlecode\json-simple\json-simple\1.1\json-simple-1.1.jar;C:\M2_repo\jline\jline\1.0\jline-1.0.jar;C:\M2_repo\javax\servlet\servlet-api\2.5\servlet-api-2.5.jar;C:\M2_repo\org\slf4j\jcl-over-slf4j\1.6.2\jcl-over-slf4j-1.6.2.jar;C:\M2_repo\org\apache\ivy\ivy\2.2.0\ivy-2.2.0.jar;C:\M2_repo\org\springframework\uaa\org.springframework.uaa.client\1.0.1.RELEASE\org.springframework.uaa.client-1.0.1.RELEASE.jar;C:\M2_repo\org\hibernate\javax\persistence\hibernate-jpa-2.0-api\1.0.1.Final\hibernate-jpa-2.0-api-1.0.1.Final.jar;C:\M2_repo\org\apache\ant\ant-trax\1.7.1\ant-trax-1.7.1.jar;C:\M2_repo\net\java\dev\jna\jna\3.2.3\jna-3.2.3.jar;C:\M2_repo\org\apache\ant\ant-junit\1.8.2\ant-junit-1.8.2.jar;C:\M2_repo\org\springframework\spring-test\3.1.0.RELEASE\spring-test-3.1.0.RELEASE.jar;C:\M2_repo\org\codehaus\gant\gant_groovy1.8\1.9.6\gant_groovy1.8-1.9.6.jar;C:\M2_repo\commons-cli\commons-cli\1.2\commons-cli-1.2.jar;C:\M2_repo\commons-io\commons-io\2.1\commons-io-2.1.jar;C:\M2_repo\org\springframework\spring-aspects\3.1.0.RELEASE\spring-aspects-3.1.0.RELEASE.jar;C:\M2_repo\org\aspectj\aspectjrt\1.6.8\aspectjrt-1.6.8.jar;C:\M2_repo\org\aspectj\aspectjweaver\1.6.8\aspectjweaver-1.6.8.jar;C:\M2_repo\org\grails\grails-spring\2.0.1\grails-spring-2.0.1.jar;C:\M2_repo\org\grails\grails-test\2.1.0.RC2\grails-test-2.1.0.RC2.jar;C:\M2_repo\javax\servlet\javax.servlet-api\3.0.1\javax.servlet-api-3.0.1.jar;C:\M2_repo\org\grails\grails-web\2.1.0.RC2\grails-web-2.1.0.RC2.jar;C:\M2_repo\taglibs\standard\1.1.2\standard-1.1.2.jar;C:\M2_repo\com\googlecode\concurrentlinkedhashmap\concurrentlinkedhashmap-lru\1.2_jdk5\concurrentlinkedhashmap-lru-1.2_jdk5.jar;C:\M2_repo\commons-fileupload\commons-fileupload\1.2.2\commons-fileupload-1.2.2.jar;C:\M2_repo\javax\servlet\jstl\1.2\jstl-1.2.jar;C:\M2_repo\org\springframework\spring-webmvc\3.1.0.RELEASE\spring-webmvc-3.1.0.RELEASE.jar;C:\M2_repo\commons-el\commons-el\1.0\commons-el-1.0.jar;C:\M2_repo\opensymphony\sitemesh\2.4\sitemesh-2.4.jar;C:\M2_repo\commons-beanutils\commons-beanutils\1.8.3\commons-beanutils-1.8.3.jar;C:\M2_repo\javax\servlet\jsp-api\2.0\jsp-api-2.0.jar;C:\M2_repo\org\grails\grails-plugin-mimetypes\2.1.0.RC2\grails-plugin-mimetypes-2.1.0.RC2.jar;C:\M2_repo\org\grails\grails-plugin-converters\2.1.0.RC2\grails-plugin-converters-2.1.0.RC2.jar;C:\M2_repo\org\grails\grails-plugin-domain-class\2.1.0.RC2\grails-plugin-domain-class-2.1.0.RC2.jar;C:\M2_repo\org\grails\grails-datastore-simple\1.0.9.RELEASE\grails-datastore-simple-1.0.9.RELEASE.jar;C:\M2_repo\org\grails\grails-datastore-core\1.0.9.RELEASE\grails-datastore-core-1.0.9.RELEASE.jar;C:\M2_repo\javax\persistence\persistence-api\1.0\persistence-api-1.0.jar;C:\M2_repo\javax\transaction\jta\1.1\jta-1.1.jar;C:\M2_repo\org\grails\grails-plugin-i18n\2.0.2\grails-plugin-i18n-2.0.2.jar;C:\M2_repo\org\grails\grails-datastore-gorm\1.0.9.RELEASE\grails-datastore-gorm-1.0.9.RELEASE.jar;C:\M2_repo\org\grails\grails-plugin-datasource\2.0.2\grails-plugin-datasource-2.0.2.jar;C:\M2_repo\org\springframework\spring-jdbc\3.1.0.RELEASE\spring-jdbc-3.1.0.RELEASE.jar;C:\M2_repo\com\h2database\h2\1.3.164\h2-1.3.164.jar;C:\M2_repo\commons-dbcp\commons-dbcp\1.4\commons-dbcp-1.4.jar;C:\M2_repo\hsqldb\hsqldb\1.8.0.10\hsqldb-1.8.0.10.jar;C:\M2_repo\backport-util-concurrent\backport-util-concurrent\3.1\backport-util-concurrent-3.1.jar;C:\M2_repo\net\sf\jsr107cache\jsr107cache\1.0\jsr107cache-1.0.jar;C:\M2_repo\javassist\javassist\3.11.0.GA\javassist-3.11.0.GA.jar;C:\M2_repo\org\slf4j\slf4j-log4j12\1.6.1\slf4j-log4j12-1.6.1.jar;C:\M2_repo\org\apache\httpcomponents\httpclient\4.1.2\httpclient-4.1.2.jar;C:\M2_repo\org\apache\httpcomponents\httpcore\4.1.2\httpcore-4.1.2.jar;C:\Jenkins\jobs\isplawsonm3interface_\workspace\target\classes;C:\Jenkins\jobs\isplawsonm3interface_\workspace\target\plugin-classes] at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:622) at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:239) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at groovy.util.AntBuilder.performTask(AntBuilder.java:260) at groovy.util.AntBuilder.nodeCompleted(AntBuilder.java:220) at groovy.util.BuilderSupport.doInvokeMethod(BuilderSupport.java:147) at groovy.util.AntBuilder.doInvokeMethod(AntBuilder.java:170) at groovy.util.BuilderSupport.invokeMethod(BuilderSupport.java:64) at org.codehaus.gant.GantBuilder.invokeMethod(GantBuilder.java:99) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:45) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) at _GrailsTest.run(_GrailsTest.groovy:105) at _GrailsTest$run.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) at _GrailsSettings$run.call(Unknown Source) at org.codehaus.gant.AbstractInclude.createInstance(AbstractInclude.groovy:109) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:267) at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:52) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141) at org.codehaus.gant.IncludeTargets.leftShift(IncludeTargets.groovy:40) at org.codehaus.gant.IncludeTargets$leftShift.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) at TestApp.run(TestApp.groovy:25) at TestApp$run.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112) at gant.Gant.prepareTargets(Gant.groovy:607) at org.codehaus.groovy.grails.cli.GrailsScriptRunner.executeWithGantInstance(GrailsScriptRunner.java:744) at org.codehaus.groovy.grails.cli.GrailsScriptRunner.attemptPrecompiledScriptExecute(GrailsScriptRunner.java:533) at org.codehaus.groovy.grails.cli.GrailsScriptRunner.executeScriptWithCaching(GrailsScriptRunner.java:455) at org.codehaus.groovy.grails.cli.GrailsScriptRunner.callPluginOrGrailsScript(GrailsScriptRunner.java:396) at org.codehaus.groovy.grails.cli.GrailsScriptRunner.executeCommand(GrailsScriptRunner.java:371) at org.codehaus.groovy.grails.cli.GrailsScriptRunner.executeCommand(GrailsScriptRunner.java:339) ... 6 more Caused by: java.lang.ClassNotFoundException: org.codehaus.groovy.grails.test.compiler.GrailsTestCompiler at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1361) at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1311) at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1064) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:594) ... 52 more [JENKINS] Archiving C:\Jenkins\jobs\isplawsonm3interface_\workspace\pom.xml to C:\Jenkins\jobs\isplawsonm3interface_\modules\nl.isprojects.ispinterface$isplawsonm3interface\builds\2012-05-25_14-41-26\archive\nl.isprojects.ispinterface\isplawsonm3interface\0.0.1-SNAPSHOT\isplawsonm3interface-0.0.1-SNAPSHOT.pom [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Forked Grails VM exited with error [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------
          Hide
          Dan Woods added a comment -

          Bram,

          That sounds like progress . Would you be able to post a small example app that exposes this problem?

          Show
          Dan Woods added a comment - Bram, That sounds like progress . Would you be able to post a small example app that exposes this problem?
          Hide
          Bram added a comment -

          Hi Dan,

          Unfortunately it feels like a step back to me :-S
          I can post you the pom for now, not sure if I can post the full app.

          <?xml version="1.0" encoding="utf-8"?>
          <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
          
          	<parent>
          		<artifactId>isp-superpom</artifactId>
          		<groupId>nl.isprojects</groupId>
          		<version>0.0.14-SNAPSHOT</version>
          	</parent>
          	<modelVersion>4.0.0</modelVersion>
          	<groupId>nl.isprojects.ispinterface</groupId>
          	<artifactId>isplawsonm3interface</artifactId>
          	<packaging>war</packaging>
          	<!-- Also change version in application.properties -->
          	<version>0.0.1-SNAPSHOT</version>
          	<name>ISP Lawson M3 interface</name>
          	<description>ISP Lawson M3 interface</description>
           	
          	<scm>
          		<connection>scm:svn:http://development1:443/svn/dev-repos/ispinterface/trunk/isplawsonm3interface</connection>
          		<developerConnection>scm:svn:http://development1/ispinterface/trunk/isplawsonm3interface</developerConnection>
          		<url>http://development1:443/svn/dev-repos/ispinterface/trunk/isplawsonm3interface/</url>
          	</scm>
          
          	<properties>
          		<grails.version>2.1.0.RC2</grails.version>
          		<!--
          		<grails.version>2.1.0.RC1</grails.version>
          		<grails.version>2.0.3</grails.version>
          		-->
          		
          		
          		<grails-core.version>2.0.1</grails-core.version>
          		<grails-bootstrap.version>${grails.version}</grails-bootstrap.version>
          		<grails-gorm.version>1.3.7</grails-gorm.version>
          		<!--
          		<grails-crud.version>${grails.version}</grails-crud.version>
          		-->
          		<grails-test.version>${grails.version}</grails-test.version>
          
          <!--
          		<grails-maven-plugin.version>2.0.3</grails-maven-plugin.version>
          -->
          		<grails-maven-plugin.version>2.1.0.RC2</grails-maven-plugin.version>
          
          		<jstl.version>1.2</jstl.version>
          		<hibernate-ehcache.version>3.3.1.GA</hibernate-ehcache.version>
          		<javassist.version>3.11.0.GA</javassist.version>
          		<ehcache-core.version>2.5.1</ehcache-core.version>
          		<hsqldb.version>1.8.0.10</hsqldb.version>
          		<slf4j-log4j12.version>1.6.1</slf4j-log4j12.version>
          		<aspectjweaver.version>1.6.8</aspectjweaver.version>
          		<aspectjrt.version>1.6.8</aspectjrt.version>
          		<spring.version>3.0.3.RELEASE</spring.version>
          		<sourceDirectory>src/main/groovy</sourceDirectory>
          	</properties>
          
          	<dependencies>
          	<!--
          		<dependency>
          			<groupId>jline</groupId>
          			<artifactId>jline</artifactId>
          			<version>2.6</version>
          		</dependency>
          	-->
          
          		<dependency>
          			<groupId>org.codehaus.mojo</groupId>
          			<artifactId>dashboard-maven-plugin</artifactId>
          			<scope>test</scope>
          			<version>1.0.0-beta-1</version>
          			<exclusions>
          				<exclusion>
          					<groupId>xml-apis</groupId>
          					<artifactId>xml-apis</artifactId>
          				</exclusion>
          				<exclusion>
          					<groupId>xerces</groupId>
          					<artifactId>xercesImpl</artifactId>
            				</exclusion>
          			</exclusions>
          		</dependency>
          
          		<dependency>
          			<groupId>org.springframework</groupId>
          			<artifactId>spring-asm</artifactId>
          			<version>${spring.version}</version>
          		</dependency>
          		<dependency>
          			<groupId>org.springframework</groupId>
          			<artifactId>spring-web</artifactId>
          			<version>${spring.version}</version>
          		</dependency>
          		<dependency>
          			<artifactId>groovyws</artifactId>
          			<groupId>org.codehaus.groovy.modules</groupId>
          			<version>0.5.2</version>
          			<exclusions>
          				<exclusion>
          					<groupId>org.apache.geronimo.specs</groupId>
          					<artifactId>geronimo-servlet_2.5_spec</artifactId>
          				</exclusion>
          				<exclusion>
          					<artifactId>servlet-api</artifactId>
          					<groupId>org.mortbay.jetty</groupId>
          				</exclusion>
          				<exclusion>
          					<artifactId>jaxb-xjc</artifactId>
          					<groupId>com.sun.xml.bind</groupId>
          				</exclusion>
          				<exclusion>
          					<artifactId>jaxb-impl</artifactId>
          					<groupId>com.sun.xml.bind</groupId>
          				</exclusion>
          				<exclusion>
          					<artifactId>jaxb-api</artifactId>
          					<groupId>javax.xml.bind</groupId>
          				</exclusion>
          				<exclusion>
          					<artifactId>xml-apis</artifactId>
          					<groupId>xml-apis</groupId>
          				</exclusion>
          				<exclusion>
          					<artifactId>saaj-impl</artifactId>
          					<groupId>com.sun.xml.messaging.saaj</groupId>
          				</exclusion>
          				<exclusion>
          					<artifactId>saaj-api</artifactId>
          					<groupId>javax.xml.soap</groupId>
          				</exclusion>
          				<exclusion>
          					<artifactId>xmlbeans</artifactId>
          					<groupId>org.apache.xmlbeans</groupId>
          				</exclusion>
          				<exclusion>
          					<artifactId>jaxen</artifactId>
          					<groupId>jaxen</groupId>
          				</exclusion>
          				<exclusion>
          					<artifactId>geronimo-stax-api_1.0_spec</artifactId>
          					<groupId>org.apache.geronimo.specs</groupId>
          				</exclusion>
          				<exclusion>
          					<artifactId>geronimo-activation_1.1_spec</artifactId>
          					<groupId>org.apache.geronimo.specs</groupId>
          				</exclusion>
          			</exclusions>
          		</dependency>
          
          <!--
          		<dependency>
          			<groupId>org.grails</groupId>
          			<artifactId>grails-bootstrap</artifactId>
          			<version>${grails-bootstrap.version}</version>
          		</dependency>
          
          		<dependency>
          			<groupId>org.grails</groupId>
          			<artifactId>grails-crud</artifactId>
          			<version>${grails-crud.version}</version>
          		</dependency>
          -->
          
          <!--
          		<dependency>
          			<groupId>org.grails</groupId>
          			<artifactId>grails-gorm</artifactId>
          			<version>${grails-gorm.version}</version>
          		</dependency>
          -->
          		<dependency>
          			<groupId>org.codehaus.groovy</groupId>
          			<artifactId>groovy-all</artifactId>
          			<version>1.8.6</version>
          		</dependency>
          		<dependency>
          			<groupId>org.grails</groupId>
          			<artifactId>grails-core</artifactId>
          			<version>${grails-core.version}</version>
          		</dependency>
          		<dependency>
          			<groupId>org.grails</groupId>
          			<artifactId>grails-test</artifactId>
          			<version>${grails-test.version}</version>
          			<scope>test</scope>
          		</dependency>
          		<dependency>
          			<groupId>org.grails</groupId>
          			<artifactId>grails-plugin-i18n</artifactId>
          			<version>2.0.2</version>
          		</dependency>
          		<dependency>
          			<groupId>org.grails</groupId>
          			<artifactId>grails-plugin-datasource</artifactId>
          			<version>2.0.2</version>
          		</dependency>
          
          
          		<dependency>
          			<groupId>javax.servlet</groupId>
          			<artifactId>jstl</artifactId>
          			<version>${jstl.version}</version>
          		</dependency>
          
          		<!-- Grails defaults to Ehache for the second-level Hibernate cache. -->
          		<!--
          		<dependency>
          			<groupId>org.hibernate</groupId>
          			<artifactId>hibernate-ehcache</artifactId>
          			<version>${hibernate-ehcache.version}</version>
          			<exclusions>
          				<exclusion>
          					<groupId>org.slf4j</groupId>
          					<artifactId>slf4j-api</artifactId>
          				</exclusion>
          				<exclusion>
          					<groupId>net.sf.ehcache</groupId>
          					<artifactId>ehcache</artifactId>
          				</exclusion>
          			</exclusions>
          		</dependency>
          		-->
          		<dependency> 
          			<groupId>net.sf.ehcache</groupId> 
          			<artifactId>ehcache</artifactId> 
          			<version>1.5.0</version> 
          		</dependency> 
          
          
          		<!-- Use javassist as the bytecode manipulation provider for Hibernate -->
          		<dependency>
          			<groupId>javassist</groupId>
          			<artifactId>javassist</artifactId>
          			<version>${javassist.version}</version>
          		</dependency>
          
          <!--
          		<dependency>
          			<groupId>net.sf.ehcache</groupId>
          			<artifactId>ehcache-core</artifactId>
          			<version>${ehcache-core.version}</version>
          			<exclusions>
          				<exclusion>
          					<artifactId>jms</artifactId>
          				</exclusion>
          
          				<exclusion>
          					<artifactId>servlet-api</artifactId>
          				</exclusion>
          
          				<exclusion>
          					<groupId>org.slf4j</groupId>
          					<artifactId>slf4j-api</artifactId>
          				</exclusion>
          
          				<exclusion>
          					<artifactId>commons-logging</artifactId>
          				</exclusion>
          			</exclusions>
          		</dependency>
          -->
          
          		<!-- For ease of development and testing, we include the HSQLDB database. -->
          		<!--
          		<dependency>
          			<groupId>hsqldb</groupId>
          			<artifactId>hsqldb</artifactId>
          			<version>${hsqldb.version}</version>
          		</dependency>
          		<dependency>
          			<groupId>postgresql</groupId>
          			<artifactId>postgresql</artifactId>
          			<version>8.4-701.jdbc4</version>
          		</dependency>
          		-->
          
          		<!-- Use Log4J for logging. This artifact also pulls in the Log4J JAR. -->
          		<!--
          		-->
          		<dependency>
          			<groupId>org.slf4j</groupId>
          			<artifactId>slf4j-log4j12</artifactId>
          			<version>${slf4j-log4j12.version}</version>
          			<scope>runtime</scope>
          		</dependency>
          
          		<!-- Needed in the case of AOP usage -->
          		<dependency>
          			<groupId>org.aspectj</groupId>
          			<artifactId>aspectjweaver</artifactId>
          			<version>${aspectjweaver.version}</version>
          		</dependency>
          
          		<dependency>
          			<groupId>org.aspectj</groupId>
          			<artifactId>aspectjrt</artifactId>
          			<version>${aspectjrt.version}</version>
          		</dependency>
          		<dependency>
          			<groupId>org.apache.httpcomponents</groupId>
          			<artifactId>httpclient</artifactId>
          			<version>4.1.2</version>
          		</dependency>
          	</dependencies>
          	<build>
          		<resources>
          			<resource>
          				<directory>src/main/resources</directory>
          				<excludes>
          					<exclude>**/*.*</exclude>
          					<exclude>*.*</exclude>
          				</excludes>
          			</resource>
          		</resources>
          		<pluginManagement />
          		<plugins>
          			<plugin>
          				<groupId>org.grails</groupId>
          				<artifactId>grails-maven-plugin</artifactId>
          				<version>${grails-maven-plugin.version}</version>
          				<extensions>true</extensions>
          				<executions>
          					<execution>
          						<goals>
          							<goal>init</goal>
          							<goal>maven-clean</goal>
          							<goal>validate</goal>
          							<goal>config-directories</goal>
          							<goal>maven-compile</goal>
          							<goal>maven-test</goal>
          							<goal>maven-war</goal>
          							<goal>maven-functional-test</goal>
          						</goals>
          					</execution>
          				</executions>
          			</plugin>
          			<!--
          			<plugin>
          				<artifactId>maven-assembly-plugin</artifactId>
          				<version>2.2-beta-5</version>
          				<executions>
          					<execution>
          						<id>bundle</id>
          						<phase>package</phase>
          						<goals>
          							<goal>single</goal>
          						</goals>
          					</execution>
          				</executions>
          				<configuration>
          					<descriptors>
          						<descriptor>src/main/resources/assemblies/jar-bundle.xml</descriptor>
          					</descriptors>
          				</configuration>
          			</plugin>
          			-->
          		</plugins>
          	</build>
          	<!--
          	<profiles>
          		<profile>
          			<id>tools</id>
          			<activation>
          				<property>
          					<name>java.vendor</name>
          					<value>Sun Microsystems Inc.</value>
          				</property>
          			</activation>
          			<dependencies>
          				<dependency>
          					<groupId>com.sun</groupId>
          					<artifactId>tools</artifactId>
          					<version>${java.version}</version>
          					<scope>system</scope>
          					<systemPath>${java.home}/../lib/tools.jar</systemPath>
          				</dependency>
          			</dependencies>
          		</profile>
          	</profiles>
          	-->
          </project>
          
          Show
          Bram added a comment - Hi Dan, Unfortunately it feels like a step back to me :-S I can post you the pom for now, not sure if I can post the full app. <?xml version="1.0" encoding="utf-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <parent> <artifactId>isp-superpom</artifactId> <groupId>nl.isprojects</groupId> <version>0.0.14-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> <groupId>nl.isprojects.ispinterface</groupId> <artifactId>isplawsonm3interface</artifactId> <packaging>war</packaging> <!-- Also change version in application.properties --> <version>0.0.1-SNAPSHOT</version> <name>ISP Lawson M3 interface</name> <description>ISP Lawson M3 interface</description> <scm> <connection>scm:svn:http://development1:443/svn/dev-repos/ispinterface/trunk/isplawsonm3interface</connection> <developerConnection>scm:svn:http://development1/ispinterface/trunk/isplawsonm3interface</developerConnection> <url>http://development1:443/svn/dev-repos/ispinterface/trunk/isplawsonm3interface/</url> </scm> <properties> <grails.version>2.1.0.RC2</grails.version> <!-- <grails.version>2.1.0.RC1</grails.version> <grails.version>2.0.3</grails.version> --> <grails-core.version>2.0.1</grails-core.version> <grails-bootstrap.version>${grails.version}</grails-bootstrap.version> <grails-gorm.version>1.3.7</grails-gorm.version> <!-- <grails-crud.version>${grails.version}</grails-crud.version> --> <grails-test.version>${grails.version}</grails-test.version> <!-- <grails-maven-plugin.version>2.0.3</grails-maven-plugin.version> --> <grails-maven-plugin.version>2.1.0.RC2</grails-maven-plugin.version> <jstl.version>1.2</jstl.version> <hibernate-ehcache.version>3.3.1.GA</hibernate-ehcache.version> <javassist.version>3.11.0.GA</javassist.version> <ehcache-core.version>2.5.1</ehcache-core.version> <hsqldb.version>1.8.0.10</hsqldb.version> <slf4j-log4j12.version>1.6.1</slf4j-log4j12.version> <aspectjweaver.version>1.6.8</aspectjweaver.version> <aspectjrt.version>1.6.8</aspectjrt.version> <spring.version>3.0.3.RELEASE</spring.version> <sourceDirectory>src/main/groovy</sourceDirectory> </properties> <dependencies> <!-- <dependency> <groupId>jline</groupId> <artifactId>jline</artifactId> <version>2.6</version> </dependency> --> <dependency> <groupId>org.codehaus.mojo</groupId> <artifactId>dashboard-maven-plugin</artifactId> <scope>test</scope> <version>1.0.0-beta-1</version> <exclusions> <exclusion> <groupId>xml-apis</groupId> <artifactId>xml-apis</artifactId> </exclusion> <exclusion> <groupId>xerces</groupId> <artifactId>xercesImpl</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-asm</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-web</artifactId> <version>${spring.version}</version> </dependency> <dependency> <artifactId>groovyws</artifactId> <groupId>org.codehaus.groovy.modules</groupId> <version>0.5.2</version> <exclusions> <exclusion> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-servlet_2.5_spec</artifactId> </exclusion> <exclusion> <artifactId>servlet-api</artifactId> <groupId>org.mortbay.jetty</groupId> </exclusion> <exclusion> <artifactId>jaxb-xjc</artifactId> <groupId>com.sun.xml.bind</groupId> </exclusion> <exclusion> <artifactId>jaxb-impl</artifactId> <groupId>com.sun.xml.bind</groupId> </exclusion> <exclusion> <artifactId>jaxb-api</artifactId> <groupId>javax.xml.bind</groupId> </exclusion> <exclusion> <artifactId>xml-apis</artifactId> <groupId>xml-apis</groupId> </exclusion> <exclusion> <artifactId>saaj-impl</artifactId> <groupId>com.sun.xml.messaging.saaj</groupId> </exclusion> <exclusion> <artifactId>saaj-api</artifactId> <groupId>javax.xml.soap</groupId> </exclusion> <exclusion> <artifactId>xmlbeans</artifactId> <groupId>org.apache.xmlbeans</groupId> </exclusion> <exclusion> <artifactId>jaxen</artifactId> <groupId>jaxen</groupId> </exclusion> <exclusion> <artifactId>geronimo-stax-api_1.0_spec</artifactId> <groupId>org.apache.geronimo.specs</groupId> </exclusion> <exclusion> <artifactId>geronimo-activation_1.1_spec</artifactId> <groupId>org.apache.geronimo.specs</groupId> </exclusion> </exclusions> </dependency> <!-- <dependency> <groupId>org.grails</groupId> <artifactId>grails-bootstrap</artifactId> <version>${grails-bootstrap.version}</version> </dependency> <dependency> <groupId>org.grails</groupId> <artifactId>grails-crud</artifactId> <version>${grails-crud.version}</version> </dependency> --> <!-- <dependency> <groupId>org.grails</groupId> <artifactId>grails-gorm</artifactId> <version>${grails-gorm.version}</version> </dependency> --> <dependency> <groupId>org.codehaus.groovy</groupId> <artifactId>groovy-all</artifactId> <version>1.8.6</version> </dependency> <dependency> <groupId>org.grails</groupId> <artifactId>grails-core</artifactId> <version>${grails-core.version}</version> </dependency> <dependency> <groupId>org.grails</groupId> <artifactId>grails-test</artifactId> <version>${grails-test.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.grails</groupId> <artifactId>grails-plugin-i18n</artifactId> <version>2.0.2</version> </dependency> <dependency> <groupId>org.grails</groupId> <artifactId>grails-plugin-datasource</artifactId> <version>2.0.2</version> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>jstl</artifactId> <version>${jstl.version}</version> </dependency> <!-- Grails defaults to Ehache for the second-level Hibernate cache. --> <!-- <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-ehcache</artifactId> <version>${hibernate-ehcache.version}</version> <exclusions> <exclusion> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> </exclusion> <exclusion> <groupId>net.sf.ehcache</groupId> <artifactId>ehcache</artifactId> </exclusion> </exclusions> </dependency> --> <dependency> <groupId>net.sf.ehcache</groupId> <artifactId>ehcache</artifactId> <version>1.5.0</version> </dependency> <!-- Use javassist as the bytecode manipulation provider for Hibernate --> <dependency> <groupId>javassist</groupId> <artifactId>javassist</artifactId> <version>${javassist.version}</version> </dependency> <!-- <dependency> <groupId>net.sf.ehcache</groupId> <artifactId>ehcache-core</artifactId> <version>${ehcache-core.version}</version> <exclusions> <exclusion> <artifactId>jms</artifactId> </exclusion> <exclusion> <artifactId>servlet-api</artifactId> </exclusion> <exclusion> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> </exclusion> <exclusion> <artifactId>commons-logging</artifactId> </exclusion> </exclusions> </dependency> --> <!-- For ease of development and testing, we include the HSQLDB database. --> <!-- <dependency> <groupId>hsqldb</groupId> <artifactId>hsqldb</artifactId> <version>${hsqldb.version}</version> </dependency> <dependency> <groupId>postgresql</groupId> <artifactId>postgresql</artifactId> <version>8.4-701.jdbc4</version> </dependency> --> <!-- Use Log4J for logging. This artifact also pulls in the Log4J JAR. --> <!-- --> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> <version>${slf4j-log4j12.version}</version> <scope>runtime</scope> </dependency> <!-- Needed in the case of AOP usage --> <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjweaver</artifactId> <version>${aspectjweaver.version}</version> </dependency> <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjrt</artifactId> <version>${aspectjrt.version}</version> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> <version>4.1.2</version> </dependency> </dependencies> <build> <resources> <resource> <directory>src/main/resources</directory> <excludes> <exclude>**/*.*</exclude> <exclude>*.*</exclude> </excludes> </resource> </resources> <pluginManagement /> <plugins> <plugin> <groupId>org.grails</groupId> <artifactId>grails-maven-plugin</artifactId> <version>${grails-maven-plugin.version}</version> <extensions>true</extensions> <executions> <execution> <goals> <goal>init</goal> <goal>maven-clean</goal> <goal>validate</goal> <goal>config-directories</goal> <goal>maven-compile</goal> <goal>maven-test</goal> <goal>maven-war</goal> <goal>maven-functional-test</goal> </goals> </execution> </executions> </plugin> <!-- <plugin> <artifactId>maven-assembly-plugin</artifactId> <version>2.2-beta-5</version> <executions> <execution> <id>bundle</id> <phase>package</phase> <goals> <goal>single</goal> </goals> </execution> </executions> <configuration> <descriptors> <descriptor>src/main/resources/assemblies/jar-bundle.xml</descriptor> </descriptors> </configuration> </plugin> --> </plugins> </build> <!-- <profiles> <profile> <id>tools</id> <activation> <property> <name>java.vendor</name> <value>Sun Microsystems Inc.</value> </property> </activation> <dependencies> <dependency> <groupId>com.sun</groupId> <artifactId>tools</artifactId> <version>${java.version}</version> <scope>system</scope> <systemPath>${java.home}/../lib/tools.jar</systemPath> </dependency> </dependencies> </profile> </profiles> --> </project>
          Hide
          Juan Manuel Barroso added a comment - - edited

          @Bram , In my opinion, the pom file looks strange. You have the following versions assigned:
          $

          {grails.version} = 2.1.0.RC2
          ${grails-test.version] = ${grails.version}

          = 2.1.0.RC2
          $

          {grails-core.version}

          = 2.0.1

          With those versions we find the following dependencies:

          grails-core in 2.0.1 , grails-test in 2.1.0.RC2 , ....

          Could be a problem for mixing versions?

          I just update to grails 2.1.0.RC2 and problems of 2.0.3 seem to have been solved. I'm able to launch de run-app from maven, mvn install from my machine (Windows 7,java 1.6.0_20) and from Jenkins server (Ubuntu with java 1.6.0_24).

          My dependencies:

          <!-- GRAILS -->
          <grails.version>2.1.0.RC2</grails.version>
          <!-- PLUGINS GRAILS -->
          <jbossas-version>1.0</jbossas-version>
          <less-version>1.3.0.3</less-version>
          <cxf-plugin-version>1.3.1</cxf-plugin-version>
          <resources-version>1.1.6</resources-version>
          <jquery-version>1.7.1</jquery-version>
          <resources-version>1.1.6</resources-version>
          
          ...
          
                <!-- GRAILS APP CORE -->
                      <dependency>
                           <groupId>org.grails</groupId>
                           <artifactId>grails-dependencies</artifactId>
                           <version>${grails.version}</version>
                           <type>pom</type>
                      </dependency>
                      <dependency>
                          <groupId>org.grails</groupId>
                          <artifactId>grails-plugin-testing</artifactId>
                          <version>${grails.version}</version>
                          <scope>test</scope>
                      </dependency>
                      <dependency>
                           <groupId>org.grails.plugins</groupId>
                           <artifactId>tomcat</artifactId>
                           <version>${grails.version}</version>
                           <type>zip</type>
                           <scope>provided</scope>
                      </dependency>
                      <dependency>
                          <groupId>org.grails.plugins</groupId>
                          <artifactId>hibernate</artifactId>
                          <version>${grails.version}</version>
                          <type>zip</type>
                          <scope>compile</scope>
                      </dependency>
                      <dependency>
                           <groupId>org.grails.plugins</groupId>
                           <artifactId>jquery</artifactId>
                           <version>${jquery-version}</version>
                           <type>zip</type>
                          <scope>runtime</scope>
                      </dependency>
                      <dependency>
                          <groupId>org.grails.plugins</groupId>
                          <artifactId>resources</artifactId>
                          <version>${resources-version}</version>
                          <type>zip</type>
                          <scope>runtime</scope>
                      </dependency>
                      <!-- JBOSSAS -->
                      <dependency>
                          <groupId>org.grails.plugins</groupId>
                          <artifactId>jbossas</artifactId>
                          <type>zip</type>
                          <version>${jbossas-version}</version>
                      </dependency>
                      <!-- LESSCSS -->
                      <dependency>
                          <groupId>org.grails.plugins</groupId>
                          <artifactId>lesscss-resources</artifactId>
                          <type>zip</type>
                          <version>${less-version}</version>
                      </dependency>
                      <!-- CXF-Client Plugin -->
                      <dependency>
                          <groupId>org.grails.plugins</groupId>
                          <artifactId>cxf-client</artifactId>
                          <type>zip</type>
                          <version>${cxf-plugin-version}</version>
                      </dependency>
          ...
          
          Show
          Juan Manuel Barroso added a comment - - edited @Bram , In my opinion, the pom file looks strange. You have the following versions assigned: $ {grails.version} = 2.1.0.RC2 ${grails-test.version] = ${grails.version} = 2.1.0.RC2 $ {grails-core.version} = 2.0.1 With those versions we find the following dependencies: grails-core in 2.0.1 , grails-test in 2.1.0.RC2 , .... Could be a problem for mixing versions? I just update to grails 2.1.0.RC2 and problems of 2.0.3 seem to have been solved. I'm able to launch de run-app from maven, mvn install from my machine (Windows 7,java 1.6.0_20) and from Jenkins server (Ubuntu with java 1.6.0_24). My dependencies: <!-- GRAILS --> <grails.version> 2.1.0.RC2 </grails.version> <!-- PLUGINS GRAILS --> <jbossas-version> 1.0 </jbossas-version> <less-version> 1.3.0.3 </less-version> <cxf-plugin-version> 1.3.1 </cxf-plugin-version> <resources-version> 1.1.6 </resources-version> <jquery-version> 1.7.1 </jquery-version> <resources-version> 1.1.6 </resources-version> ... <!-- GRAILS APP CORE --> <dependency> <groupId> org.grails </groupId> <artifactId> grails-dependencies </artifactId> <version> ${grails.version} </version> <type> pom </type> </dependency> <dependency> <groupId> org.grails </groupId> <artifactId> grails-plugin-testing </artifactId> <version> ${grails.version} </version> <scope> test </scope> </dependency> <dependency> <groupId> org.grails.plugins </groupId> <artifactId> tomcat </artifactId> <version> ${grails.version} </version> <type> zip </type> <scope> provided </scope> </dependency> <dependency> <groupId> org.grails.plugins </groupId> <artifactId> hibernate </artifactId> <version> ${grails.version} </version> <type> zip </type> <scope> compile </scope> </dependency> <dependency> <groupId> org.grails.plugins </groupId> <artifactId> jquery </artifactId> <version> ${jquery-version} </version> <type> zip </type> <scope> runtime </scope> </dependency> <dependency> <groupId> org.grails.plugins </groupId> <artifactId> resources </artifactId> <version> ${resources-version} </version> <type> zip </type> <scope> runtime </scope> </dependency> <!-- JBOSSAS --> <dependency> <groupId> org.grails.plugins </groupId> <artifactId> jbossas </artifactId> <type> zip </type> <version> ${jbossas-version} </version> </dependency> <!-- LESSCSS --> <dependency> <groupId> org.grails.plugins </groupId> <artifactId> lesscss-resources </artifactId> <type> zip </type> <version> ${less-version} </version> </dependency> <!-- CXF-Client Plugin --> <dependency> <groupId> org.grails.plugins </groupId> <artifactId> cxf-client </artifactId> <type> zip </type> <version> ${cxf-plugin-version} </version> </dependency> ...
          Hide
          Bram added a comment -

          Hi Juan,

          I've changed all Grails-related dependencies to 2.1.0.RC2.
          I've build that on Jenkins, but without results.
          Unfortunately, I still get the same message in Jenkins, while the local build works like a charm.

          <?xml version="1.0" encoding="utf-8"?>
          <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
          
          	<parent>
          		<artifactId>isp-superpom</artifactId>
          		<groupId>nl.isprojects</groupId>
          		<version>0.0.14-SNAPSHOT</version>
          	</parent>
          	<modelVersion>4.0.0</modelVersion>
          	<groupId>nl.isprojects.ispinterface</groupId>
          	<artifactId>isplawsonm3interface</artifactId>
          	<packaging>war</packaging>
          	<!-- Also change version in application.properties -->
          	<version>0.0.1-SNAPSHOT</version>
          	<name>ISP Lawson M3 interface</name>
          	<description>ISP Lawson M3 interface</description>
           	
          	<scm>
          		<connection>scm:svn:http://development1:443/svn/dev-repos/ispinterface/trunk/isplawsonm3interface</connection>
          		<developerConnection>scm:svn:http://development1/ispinterface/trunk/isplawsonm3interface</developerConnection>
          		<url>http://development1:443/svn/dev-repos/ispinterface/trunk/isplawsonm3interface/</url>
          	</scm>
          
          	<properties>
          		<grails.version>2.1.0.RC2</grails.version>
          		<!--
          		<grails.version>2.1.0.RC1</grails.version>
          		<grails.version>2.0.3</grails.version>
          		-->
          		
          		
          		<grails-core.version>2.1.0.RC2</grails-core.version>
          		<grails-bootstrap.version>${grails.version}</grails-bootstrap.version>
          		<grails-gorm.version>1.3.7</grails-gorm.version>
          		<!--
          		<grails-crud.version>${grails.version}</grails-crud.version>
          		-->
          		<grails-test.version>${grails.version}</grails-test.version>
          
          <!--
          		<grails-maven-plugin.version>2.0.3</grails-maven-plugin.version>
          -->
          		<grails-maven-plugin.version>2.1.0.RC2</grails-maven-plugin.version>
          
          		<jstl.version>1.2</jstl.version>
          		<hibernate-ehcache.version>3.3.1.GA</hibernate-ehcache.version>
          		<javassist.version>3.11.0.GA</javassist.version>
          		<ehcache-core.version>2.5.1</ehcache-core.version>
          		<hsqldb.version>1.8.0.10</hsqldb.version>
          		<slf4j-log4j12.version>1.6.1</slf4j-log4j12.version>
          		<aspectjweaver.version>1.6.8</aspectjweaver.version>
          		<aspectjrt.version>1.6.8</aspectjrt.version>
          		<spring.version>3.0.3.RELEASE</spring.version>
          		<sourceDirectory>src/main/groovy</sourceDirectory>
          	</properties>
          
          	<dependencies>
          	<!--
          		<dependency>
          			<groupId>jline</groupId>
          			<artifactId>jline</artifactId>
          			<version>2.6</version>
          		</dependency>
          	-->
          
          		<dependency>
          			<groupId>org.codehaus.mojo</groupId>
          			<artifactId>dashboard-maven-plugin</artifactId>
          			<scope>test</scope>
          			<version>1.0.0-beta-1</version>
          			<exclusions>
          				<exclusion>
          					<groupId>xml-apis</groupId>
          					<artifactId>xml-apis</artifactId>
          				</exclusion>
          				<exclusion>
          					<groupId>xerces</groupId>
          					<artifactId>xercesImpl</artifactId>
            				</exclusion>
          			</exclusions>
          		</dependency>
          
          		<dependency>
          			<groupId>org.springframework</groupId>
          			<artifactId>spring-asm</artifactId>
          			<version>${spring.version}</version>
          		</dependency>
          		<dependency>
          			<groupId>org.springframework</groupId>
          			<artifactId>spring-web</artifactId>
          			<version>${spring.version}</version>
          		</dependency>
          		<dependency>
          			<artifactId>groovyws</artifactId>
          			<groupId>org.codehaus.groovy.modules</groupId>
          			<version>0.5.2</version>
          			<exclusions>
          				<exclusion>
          					<groupId>org.apache.geronimo.specs</groupId>
          					<artifactId>geronimo-servlet_2.5_spec</artifactId>
          				</exclusion>
          				<exclusion>
          					<artifactId>servlet-api</artifactId>
          					<groupId>org.mortbay.jetty</groupId>
          				</exclusion>
          				<exclusion>
          					<artifactId>jaxb-xjc</artifactId>
          					<groupId>com.sun.xml.bind</groupId>
          				</exclusion>
          				<exclusion>
          					<artifactId>jaxb-impl</artifactId>
          					<groupId>com.sun.xml.bind</groupId>
          				</exclusion>
          				<exclusion>
          					<artifactId>jaxb-api</artifactId>
          					<groupId>javax.xml.bind</groupId>
          				</exclusion>
          				<exclusion>
          					<artifactId>xml-apis</artifactId>
          					<groupId>xml-apis</groupId>
          				</exclusion>
          				<exclusion>
          					<artifactId>saaj-impl</artifactId>
          					<groupId>com.sun.xml.messaging.saaj</groupId>
          				</exclusion>
          				<exclusion>
          					<artifactId>saaj-api</artifactId>
          					<groupId>javax.xml.soap</groupId>
          				</exclusion>
          				<exclusion>
          					<artifactId>xmlbeans</artifactId>
          					<groupId>org.apache.xmlbeans</groupId>
          				</exclusion>
          				<exclusion>
          					<artifactId>jaxen</artifactId>
          					<groupId>jaxen</groupId>
          				</exclusion>
          				<exclusion>
          					<artifactId>geronimo-stax-api_1.0_spec</artifactId>
          					<groupId>org.apache.geronimo.specs</groupId>
          				</exclusion>
          				<exclusion>
          					<artifactId>geronimo-activation_1.1_spec</artifactId>
          					<groupId>org.apache.geronimo.specs</groupId>
          				</exclusion>
          			</exclusions>
          		</dependency>
          
          <!--
          		<dependency>
          			<groupId>org.grails</groupId>
          			<artifactId>grails-bootstrap</artifactId>
          			<version>${grails-bootstrap.version}</version>
          		</dependency>
          
          		<dependency>
          			<groupId>org.grails</groupId>
          			<artifactId>grails-crud</artifactId>
          			<version>${grails-crud.version}</version>
          		</dependency>
          -->
          
          <!--
          		<dependency>
          			<groupId>org.grails</groupId>
          			<artifactId>grails-gorm</artifactId>
          			<version>${grails-gorm.version}</version>
          		</dependency>
          -->
          		<dependency>
          			<groupId>org.codehaus.groovy</groupId>
          			<artifactId>groovy-all</artifactId>
          			<version>1.8.6</version>
          		</dependency>
          		<dependency>
          			<groupId>org.grails</groupId>
          			<artifactId>grails-core</artifactId>
          			<version>${grails-core.version}</version>
          		</dependency>
          		<dependency>
          			<groupId>org.grails</groupId>
          			<artifactId>grails-test</artifactId>
          			<version>${grails-test.version}</version>
          			<scope>test</scope>
          		</dependency>
          		<dependency>
          			<groupId>org.grails</groupId>
          			<artifactId>grails-plugin-i18n</artifactId>
          			<!--
          			<version>2.0.2</version>
          			-->
          			<version>${grails.version}</version>
          		</dependency>
          		<dependency>
          			<groupId>org.grails</groupId>
          			<artifactId>grails-plugin-datasource</artifactId>
          			<!--
          			<version>2.0.2</version>
          			-->
          			<version>${grails.version}</version>
          		</dependency>
          
          
          		<dependency>
          			<groupId>javax.servlet</groupId>
          			<artifactId>jstl</artifactId>
          			<version>${jstl.version}</version>
          		</dependency>
          
          		<!-- Grails defaults to Ehache for the second-level Hibernate cache. -->
          		<!--
          		<dependency>
          			<groupId>org.hibernate</groupId>
          			<artifactId>hibernate-ehcache</artifactId>
          			<version>${hibernate-ehcache.version}</version>
          			<exclusions>
          				<exclusion>
          					<groupId>org.slf4j</groupId>
          					<artifactId>slf4j-api</artifactId>
          				</exclusion>
          				<exclusion>
          					<groupId>net.sf.ehcache</groupId>
          					<artifactId>ehcache</artifactId>
          				</exclusion>
          			</exclusions>
          		</dependency>
          		-->
          		<dependency> 
          			<groupId>net.sf.ehcache</groupId> 
          			<artifactId>ehcache</artifactId> 
          			<version>1.5.0</version> 
          		</dependency> 
          
          
          		<!-- Use javassist as the bytecode manipulation provider for Hibernate -->
          		<dependency>
          			<groupId>javassist</groupId>
          			<artifactId>javassist</artifactId>
          			<version>${javassist.version}</version>
          		</dependency>
          
          <!--
          		<dependency>
          			<groupId>net.sf.ehcache</groupId>
          			<artifactId>ehcache-core</artifactId>
          			<version>${ehcache-core.version}</version>
          			<exclusions>
          				<exclusion>
          					<artifactId>jms</artifactId>
          				</exclusion>
          
          				<exclusion>
          					<artifactId>servlet-api</artifactId>
          				</exclusion>
          
          				<exclusion>
          					<groupId>org.slf4j</groupId>
          					<artifactId>slf4j-api</artifactId>
          				</exclusion>
          
          				<exclusion>
          					<artifactId>commons-logging</artifactId>
          				</exclusion>
          			</exclusions>
          		</dependency>
          -->
          
          		<!-- For ease of development and testing, we include the HSQLDB database. -->
          		<!--
          		<dependency>
          			<groupId>hsqldb</groupId>
          			<artifactId>hsqldb</artifactId>
          			<version>${hsqldb.version}</version>
          		</dependency>
          		<dependency>
          			<groupId>postgresql</groupId>
          			<artifactId>postgresql</artifactId>
          			<version>8.4-701.jdbc4</version>
          		</dependency>
          		-->
          
          		<!-- Use Log4J for logging. This artifact also pulls in the Log4J JAR. -->
          		<!--
          		-->
          		<dependency>
          			<groupId>org.slf4j</groupId>
          			<artifactId>slf4j-log4j12</artifactId>
          			<version>${slf4j-log4j12.version}</version>
          			<scope>runtime</scope>
          		</dependency>
          
          		<!-- Needed in the case of AOP usage -->
          		<dependency>
          			<groupId>org.aspectj</groupId>
          			<artifactId>aspectjweaver</artifactId>
          			<version>${aspectjweaver.version}</version>
          		</dependency>
          
          		<dependency>
          			<groupId>org.aspectj</groupId>
          			<artifactId>aspectjrt</artifactId>
          			<version>${aspectjrt.version}</version>
          		</dependency>
          		<dependency>
          			<groupId>org.apache.httpcomponents</groupId>
          			<artifactId>httpclient</artifactId>
          			<version>4.1.2</version>
          		</dependency>
          	</dependencies>
          	<build>
          		<resources>
          			<resource>
          				<directory>src/main/resources</directory>
          				<excludes>
          					<exclude>**/*.*</exclude>
          					<exclude>*.*</exclude>
          				</excludes>
          			</resource>
          		</resources>
          		<pluginManagement />
          		<plugins>
          			<plugin>
          				<groupId>org.grails</groupId>
          				<artifactId>grails-maven-plugin</artifactId>
          				<version>${grails-maven-plugin.version}</version>
          				<extensions>true</extensions>
          				<executions>
          					<execution>
          						<goals>
          							<goal>init</goal>
          							<goal>maven-clean</goal>
          							<goal>validate</goal>
          							<goal>config-directories</goal>
          							<goal>maven-compile</goal>
          							<goal>maven-test</goal>
          							<goal>maven-war</goal>
          							<goal>maven-functional-test</goal>
          						</goals>
          					</execution>
          				</executions>
          				<configuration>
          					<fork>true</fork>
          				</configuration>
          			</plugin>
          			<!--
          			<plugin>
          				<artifactId>maven-assembly-plugin</artifactId>
          				<version>2.2-beta-5</version>
          				<executions>
          					<execution>
          						<id>bundle</id>
          						<phase>package</phase>
          						<goals>
          							<goal>single</goal>
          						</goals>
          					</execution>
          				</executions>
          				<configuration>
          					<descriptors>
          						<descriptor>src/main/resources/assemblies/jar-bundle.xml</descriptor>
          					</descriptors>
          				</configuration>
          			</plugin>
          			-->
          		</plugins>
          	</build>
          	<!--
          	<profiles>
          		<profile>
          			<id>tools</id>
          			<activation>
          				<property>
          					<name>java.vendor</name>
          					<value>Sun Microsystems Inc.</value>
          				</property>
          			</activation>
          			<dependencies>
          				<dependency>
          					<groupId>com.sun</groupId>
          					<artifactId>tools</artifactId>
          					<version>${java.version}</version>
          					<scope>system</scope>
          					<systemPath>${java.home}/../lib/tools.jar</systemPath>
          				</dependency>
          			</dependencies>
          		</profile>
          	</profiles>
          	-->
          </project>
          
          Show
          Bram added a comment - Hi Juan, I've changed all Grails-related dependencies to 2.1.0.RC2. I've build that on Jenkins, but without results. Unfortunately, I still get the same message in Jenkins, while the local build works like a charm. <?xml version="1.0" encoding="utf-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <parent> <artifactId>isp-superpom</artifactId> <groupId>nl.isprojects</groupId> <version>0.0.14-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> <groupId>nl.isprojects.ispinterface</groupId> <artifactId>isplawsonm3interface</artifactId> <packaging>war</packaging> <!-- Also change version in application.properties --> <version>0.0.1-SNAPSHOT</version> <name>ISP Lawson M3 interface</name> <description>ISP Lawson M3 interface</description> <scm> <connection>scm:svn:http://development1:443/svn/dev-repos/ispinterface/trunk/isplawsonm3interface</connection> <developerConnection>scm:svn:http://development1/ispinterface/trunk/isplawsonm3interface</developerConnection> <url>http://development1:443/svn/dev-repos/ispinterface/trunk/isplawsonm3interface/</url> </scm> <properties> <grails.version>2.1.0.RC2</grails.version> <!-- <grails.version>2.1.0.RC1</grails.version> <grails.version>2.0.3</grails.version> --> <grails-core.version>2.1.0.RC2</grails-core.version> <grails-bootstrap.version>${grails.version}</grails-bootstrap.version> <grails-gorm.version>1.3.7</grails-gorm.version> <!-- <grails-crud.version>${grails.version}</grails-crud.version> --> <grails-test.version>${grails.version}</grails-test.version> <!-- <grails-maven-plugin.version>2.0.3</grails-maven-plugin.version> --> <grails-maven-plugin.version>2.1.0.RC2</grails-maven-plugin.version> <jstl.version>1.2</jstl.version> <hibernate-ehcache.version>3.3.1.GA</hibernate-ehcache.version> <javassist.version>3.11.0.GA</javassist.version> <ehcache-core.version>2.5.1</ehcache-core.version> <hsqldb.version>1.8.0.10</hsqldb.version> <slf4j-log4j12.version>1.6.1</slf4j-log4j12.version> <aspectjweaver.version>1.6.8</aspectjweaver.version> <aspectjrt.version>1.6.8</aspectjrt.version> <spring.version>3.0.3.RELEASE</spring.version> <sourceDirectory>src/main/groovy</sourceDirectory> </properties> <dependencies> <!-- <dependency> <groupId>jline</groupId> <artifactId>jline</artifactId> <version>2.6</version> </dependency> --> <dependency> <groupId>org.codehaus.mojo</groupId> <artifactId>dashboard-maven-plugin</artifactId> <scope>test</scope> <version>1.0.0-beta-1</version> <exclusions> <exclusion> <groupId>xml-apis</groupId> <artifactId>xml-apis</artifactId> </exclusion> <exclusion> <groupId>xerces</groupId> <artifactId>xercesImpl</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-asm</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-web</artifactId> <version>${spring.version}</version> </dependency> <dependency> <artifactId>groovyws</artifactId> <groupId>org.codehaus.groovy.modules</groupId> <version>0.5.2</version> <exclusions> <exclusion> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-servlet_2.5_spec</artifactId> </exclusion> <exclusion> <artifactId>servlet-api</artifactId> <groupId>org.mortbay.jetty</groupId> </exclusion> <exclusion> <artifactId>jaxb-xjc</artifactId> <groupId>com.sun.xml.bind</groupId> </exclusion> <exclusion> <artifactId>jaxb-impl</artifactId> <groupId>com.sun.xml.bind</groupId> </exclusion> <exclusion> <artifactId>jaxb-api</artifactId> <groupId>javax.xml.bind</groupId> </exclusion> <exclusion> <artifactId>xml-apis</artifactId> <groupId>xml-apis</groupId> </exclusion> <exclusion> <artifactId>saaj-impl</artifactId> <groupId>com.sun.xml.messaging.saaj</groupId> </exclusion> <exclusion> <artifactId>saaj-api</artifactId> <groupId>javax.xml.soap</groupId> </exclusion> <exclusion> <artifactId>xmlbeans</artifactId> <groupId>org.apache.xmlbeans</groupId> </exclusion> <exclusion> <artifactId>jaxen</artifactId> <groupId>jaxen</groupId> </exclusion> <exclusion> <artifactId>geronimo-stax-api_1.0_spec</artifactId> <groupId>org.apache.geronimo.specs</groupId> </exclusion> <exclusion> <artifactId>geronimo-activation_1.1_spec</artifactId> <groupId>org.apache.geronimo.specs</groupId> </exclusion> </exclusions> </dependency> <!-- <dependency> <groupId>org.grails</groupId> <artifactId>grails-bootstrap</artifactId> <version>${grails-bootstrap.version}</version> </dependency> <dependency> <groupId>org.grails</groupId> <artifactId>grails-crud</artifactId> <version>${grails-crud.version}</version> </dependency> --> <!-- <dependency> <groupId>org.grails</groupId> <artifactId>grails-gorm</artifactId> <version>${grails-gorm.version}</version> </dependency> --> <dependency> <groupId>org.codehaus.groovy</groupId> <artifactId>groovy-all</artifactId> <version>1.8.6</version> </dependency> <dependency> <groupId>org.grails</groupId> <artifactId>grails-core</artifactId> <version>${grails-core.version}</version> </dependency> <dependency> <groupId>org.grails</groupId> <artifactId>grails-test</artifactId> <version>${grails-test.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.grails</groupId> <artifactId>grails-plugin-i18n</artifactId> <!-- <version>2.0.2</version> --> <version>${grails.version}</version> </dependency> <dependency> <groupId>org.grails</groupId> <artifactId>grails-plugin-datasource</artifactId> <!-- <version>2.0.2</version> --> <version>${grails.version}</version> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>jstl</artifactId> <version>${jstl.version}</version> </dependency> <!-- Grails defaults to Ehache for the second-level Hibernate cache. --> <!-- <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-ehcache</artifactId> <version>${hibernate-ehcache.version}</version> <exclusions> <exclusion> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> </exclusion> <exclusion> <groupId>net.sf.ehcache</groupId> <artifactId>ehcache</artifactId> </exclusion> </exclusions> </dependency> --> <dependency> <groupId>net.sf.ehcache</groupId> <artifactId>ehcache</artifactId> <version>1.5.0</version> </dependency> <!-- Use javassist as the bytecode manipulation provider for Hibernate --> <dependency> <groupId>javassist</groupId> <artifactId>javassist</artifactId> <version>${javassist.version}</version> </dependency> <!-- <dependency> <groupId>net.sf.ehcache</groupId> <artifactId>ehcache-core</artifactId> <version>${ehcache-core.version}</version> <exclusions> <exclusion> <artifactId>jms</artifactId> </exclusion> <exclusion> <artifactId>servlet-api</artifactId> </exclusion> <exclusion> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> </exclusion> <exclusion> <artifactId>commons-logging</artifactId> </exclusion> </exclusions> </dependency> --> <!-- For ease of development and testing, we include the HSQLDB database. --> <!-- <dependency> <groupId>hsqldb</groupId> <artifactId>hsqldb</artifactId> <version>${hsqldb.version}</version> </dependency> <dependency> <groupId>postgresql</groupId> <artifactId>postgresql</artifactId> <version>8.4-701.jdbc4</version> </dependency> --> <!-- Use Log4J for logging. This artifact also pulls in the Log4J JAR. --> <!-- --> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> <version>${slf4j-log4j12.version}</version> <scope>runtime</scope> </dependency> <!-- Needed in the case of AOP usage --> <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjweaver</artifactId> <version>${aspectjweaver.version}</version> </dependency> <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjrt</artifactId> <version>${aspectjrt.version}</version> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> <version>4.1.2</version> </dependency> </dependencies> <build> <resources> <resource> <directory>src/main/resources</directory> <excludes> <exclude>**/*.*</exclude> <exclude>*.*</exclude> </excludes> </resource> </resources> <pluginManagement /> <plugins> <plugin> <groupId>org.grails</groupId> <artifactId>grails-maven-plugin</artifactId> <version>${grails-maven-plugin.version}</version> <extensions>true</extensions> <executions> <execution> <goals> <goal>init</goal> <goal>maven-clean</goal> <goal>validate</goal> <goal>config-directories</goal> <goal>maven-compile</goal> <goal>maven-test</goal> <goal>maven-war</goal> <goal>maven-functional-test</goal> </goals> </execution> </executions> <configuration> <fork>true</fork> </configuration> </plugin> <!-- <plugin> <artifactId>maven-assembly-plugin</artifactId> <version>2.2-beta-5</version> <executions> <execution> <id>bundle</id> <phase>package</phase> <goals> <goal>single</goal> </goals> </execution> </executions> <configuration> <descriptors> <descriptor>src/main/resources/assemblies/jar-bundle.xml</descriptor> </descriptors> </configuration> </plugin> --> </plugins> </build> <!-- <profiles> <profile> <id>tools</id> <activation> <property> <name>java.vendor</name> <value>Sun Microsystems Inc.</value> </property> </activation> <dependencies> <dependency> <groupId>com.sun</groupId> <artifactId>tools</artifactId> <version>${java.version}</version> <scope>system</scope> <systemPath>${java.home}/../lib/tools.jar</systemPath> </dependency> </dependencies> </profile> </profiles> --> </project>
          Hide
          Graeme Rocher added a comment -

          @Bram - you POM looks completely out of date and is almost certainly the problem. I recommend generating a new POM with the 2.1 RC2 archetype or installing Grails 2.1 RC2 and using the 'grails create-pom' command

          Show
          Graeme Rocher added a comment - @Bram - you POM looks completely out of date and is almost certainly the problem. I recommend generating a new POM with the 2.1 RC2 archetype or installing Grails 2.1 RC2 and using the 'grails create-pom' command
          Hide
          Bram added a comment -

          Hi Graeme,

          I've created a new project and added the Grails repositories to our Artifactory configuration. When I build my project based on that pom, there's obviously a lot of libs downloaded. Eventually, I get an InvocationTargetException:

          |Packaging Grails application
          .....Loading extra config for context-path:
          .........Loading extra config for context-path:
          Loading extra config for context-path:
          .[INFO] ------------------------------------------------------------------------
          [ERROR] BUILD ERROR
          [INFO] ------------------------------------------------------------------------
          [INFO] Unable to start Grails
          
          Embedded error: java.lang.reflect.InvocationTargetException
          loader constraint violation in interface itable initialization: when resolving method "org.apache.xerces.dom.NodeImpl.getChildNodes()Lorg/w3c/dom/NodeList;" the class loader (instance of org/grails/la
          uncher/RootLoader) of the current class, org/apache/xerces/dom/NodeImpl, and the class loader (instance of <bootloader>) for interface org/w3c/dom/Node have different Class objects for the type org/w3
          c/dom/NodeList used in the signature
          [INFO] ------------------------------------------------------------------------
          [INFO] For more information, run Maven with the -e switch
          [INFO] ------------------------------------------------------------------------
          [INFO] Total time: 56 seconds
          

          I'm really lost here. The full pom:

          <?xml version="1.0" encoding="utf-8"?>
          <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
          	<parent>
          		<artifactId>isp-superpom</artifactId>
          		<groupId>nl.isprojects</groupId>
          		<version>0.0.14-SNAPSHOT</version>
          	</parent>
          	<modelVersion>4.0.0</modelVersion>
          	<groupId>nl.isprojects.ispinterface</groupId>
          	<artifactId>isplawsonm3interface</artifactId>
          	<packaging>war</packaging>
          	<version>0.0.1-SNAPSHOT</version>
          
          	<name>ISP Lawson M3 interface</name>
          	<description>ISP Lawson M3 interface</description>
           	
          	<scm>
          		<connection>scm:svn:http://development1:443/svn/dev-repos/ispinterface/trunk/isplawsonm3interface</connection>
          		<developerConnection>scm:svn:http://development1/ispinterface/trunk/isplawsonm3interface</developerConnection>
          		<url>http://development1:443/svn/dev-repos/ispinterface/trunk/isplawsonm3interface/</url>
          	</scm>
          
          	<properties>
          		<grails.version>2.1.0.RC2</grails.version>
          		<grails-core.version>2.0.1</grails-core.version>
          		<grails-bootstrap.version>${grails.version}</grails-bootstrap.version>
          		<grails-gorm.version>1.3.7</grails-gorm.version>
          		<grails-test.version>${grails.version}</grails-test.version>
          		<grails-maven-plugin.version>2.1.0.RC2</grails-maven-plugin.version>
          		<jstl.version>1.2</jstl.version>
          		<hibernate-ehcache.version>3.3.1.GA</hibernate-ehcache.version>
          		<javassist.version>3.11.0.GA</javassist.version>
          		<ehcache-core.version>2.5.1</ehcache-core.version>
          		<hsqldb.version>1.8.0.10</hsqldb.version>
          		<slf4j-log4j12.version>1.6.1</slf4j-log4j12.version>
          		<aspectjweaver.version>1.6.8</aspectjweaver.version>
          		<aspectjrt.version>1.6.8</aspectjrt.version>
          		<spring.version>3.0.3.RELEASE</spring.version>
          		<sourceDirectory>src/main/groovy</sourceDirectory>
          	</properties>
          
          	<dependencies>
          	<dependency>
                <groupId>org.grails</groupId>
                <artifactId>grails-dependencies</artifactId>
                <version>${grails.version}</version>
          	  <type>pom</type>
              </dependency>
                  
              <dependency>
                  <groupId>org.grails</groupId>
                  <artifactId>grails-plugin-testing</artifactId>
                  <version>${grails.version}</version>
                  <scope>test</scope>
              </dependency>    
              
              <dependency>
                  <groupId>org.grails.plugins</groupId>
                  <artifactId>tomcat</artifactId>
                  <version>${grails.version}</version>
                  <type>zip</type>
                  <scope>provided</scope>
              </dependency>
              
              <dependency>
                  <groupId>org.grails.plugins</groupId>
                  <artifactId>hibernate</artifactId>
                  <version>${grails.version}</version>
                  <type>zip</type>
                  <scope>compile</scope>
              </dependency>   
              
              <dependency>
                  <groupId>org.grails.plugins</groupId>
                  <artifactId>jquery</artifactId>
                  <version>1.7.1</version>
                  <type>zip</type>
                  <scope>runtime</scope>
              </dependency> 
              
              <dependency>
                  <groupId>org.grails.plugins</groupId>
                  <artifactId>resources</artifactId>
                  <version>1.1.6</version>
                  <type>zip</type>
                  <scope>runtime</scope>
              </dependency> 
              
              <dependency>
                  <groupId>org.grails.plugins</groupId>
                  <artifactId>database-migration</artifactId>
                  <version>1.1</version>
                  <type>zip</type>
                  <scope>runtime</scope>
              </dependency>           
            </dependencies>
          	<build>
          		<resources>
          			<resource>
          				<directory>src/main/resources</directory>
          				<excludes>
          					<exclude>**/*.*</exclude>
          					<exclude>*.*</exclude>
          				</excludes>
          			</resource>
          		</resources>
          		<pluginManagement />
          		<plugins>
                  <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-surefire-plugin</artifactId>
                     <configuration>
                       <skip>true</skip>
                     </configuration>
                     <executions>
                       <execution>
                         <id>surefire-it</id>
                         <phase>integration-test</phase>
                         <goals>
                           <goal>test</goal>
                         </goals>
                         <configuration>
                           <skip>false</skip>
                         </configuration>
                       </execution>
                     </executions>
                   </plugin>        
          	  <plugin>
          		<groupId>org.apache.maven.plugins</groupId>
                  <artifactId>maven-clean-plugin</artifactId>
                  <version>2.4.1</version>
          		<configuration>
          		    <filesets>
          		        <fileset>
          		            <directory>plugins</directory>
          		            <includes>
          		                <include>**/*</include>
          		            </includes>
          		            <followSymlinks>false</followSymlinks>
          		        </fileset>
          		    </filesets>
                   </configuration>
                </plugin>
          		<plugin>
          				<groupId>org.grails</groupId>
          				<artifactId>grails-maven-plugin</artifactId>
          				<version>${grails.version}</version>
                  <configuration>
                      <fork></fork>
                  </configuration>
          				<extensions>true</extensions>
          				<executions>
          					<execution>
          						<goals>
          							<goal>init</goal>
          							<goal>maven-clean</goal>
          							<goal>validate</goal>
          							<goal>config-directories</goal>
          							<goal>maven-compile</goal>
          							<goal>maven-test</goal>
          							<goal>maven-war</goal>
          							<goal>maven-functional-test</goal>
          						</goals>
          					</execution>
          				</executions>
          			</plugin>
          			<!--
          			<plugin>
          				<artifactId>maven-assembly-plugin</artifactId>
          				<version>2.2-beta-5</version>
          				<executions>
          					<execution>
          						<id>bundle</id>
          						<phase>package</phase>
          						<goals>
          							<goal>single</goal>
          						</goals>
          					</execution>
          				</executions>
          				<configuration>
          					<descriptors>
          						<descriptor>src/main/resources/assemblies/jar-bundle.xml</descriptor>
          					</descriptors>
          				</configuration>
          			</plugin>
          			-->
                <plugin>
          		<groupId>org.apache.maven.plugins</groupId>	
                  <artifactId>maven-compiler-plugin</artifactId>
                  <configuration>
                    <source>1.5</source>
                    <target>1.5</target>
                  </configuration>
                </plugin>
          		</plugins>
          	</build>
          	<profiles>
          		<profile>
          			<id>tools</id>
          			<activation>
          				<property>
          					<name>java.vendor</name>
          					<value>Sun Microsystems Inc.</value>
          				</property>
          			</activation>
          			<dependencies>
          				<dependency>
          					<groupId>com.sun</groupId>
          					<artifactId>tools</artifactId>
          					<version>${java.version}</version>
          					<scope>system</scope>
          					<systemPath>${java.home}/../lib/tools.jar</systemPath>
          				</dependency>
          			</dependencies>
          		</profile>
          	</profiles>
          </project>
          
          Show
          Bram added a comment - Hi Graeme, I've created a new project and added the Grails repositories to our Artifactory configuration. When I build my project based on that pom, there's obviously a lot of libs downloaded. Eventually, I get an InvocationTargetException: |Packaging Grails application .....Loading extra config for context-path: .........Loading extra config for context-path: Loading extra config for context-path: .[INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Unable to start Grails Embedded error: java.lang.reflect.InvocationTargetException loader constraint violation in interface itable initialization: when resolving method "org.apache.xerces.dom.NodeImpl.getChildNodes()Lorg/w3c/dom/NodeList;" the class loader (instance of org/grails/la uncher/RootLoader) of the current class, org/apache/xerces/dom/NodeImpl, and the class loader (instance of <bootloader>) for interface org/w3c/dom/Node have different Class objects for the type org/w3 c/dom/NodeList used in the signature [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 56 seconds I'm really lost here. The full pom: <?xml version="1.0" encoding="utf-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <parent> <artifactId>isp-superpom</artifactId> <groupId>nl.isprojects</groupId> <version>0.0.14-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> <groupId>nl.isprojects.ispinterface</groupId> <artifactId>isplawsonm3interface</artifactId> <packaging>war</packaging> <version>0.0.1-SNAPSHOT</version> <name>ISP Lawson M3 interface</name> <description>ISP Lawson M3 interface</description> <scm> <connection>scm:svn:http://development1:443/svn/dev-repos/ispinterface/trunk/isplawsonm3interface</connection> <developerConnection>scm:svn:http://development1/ispinterface/trunk/isplawsonm3interface</developerConnection> <url>http://development1:443/svn/dev-repos/ispinterface/trunk/isplawsonm3interface/</url> </scm> <properties> <grails.version>2.1.0.RC2</grails.version> <grails-core.version>2.0.1</grails-core.version> <grails-bootstrap.version>${grails.version}</grails-bootstrap.version> <grails-gorm.version>1.3.7</grails-gorm.version> <grails-test.version>${grails.version}</grails-test.version> <grails-maven-plugin.version>2.1.0.RC2</grails-maven-plugin.version> <jstl.version>1.2</jstl.version> <hibernate-ehcache.version>3.3.1.GA</hibernate-ehcache.version> <javassist.version>3.11.0.GA</javassist.version> <ehcache-core.version>2.5.1</ehcache-core.version> <hsqldb.version>1.8.0.10</hsqldb.version> <slf4j-log4j12.version>1.6.1</slf4j-log4j12.version> <aspectjweaver.version>1.6.8</aspectjweaver.version> <aspectjrt.version>1.6.8</aspectjrt.version> <spring.version>3.0.3.RELEASE</spring.version> <sourceDirectory>src/main/groovy</sourceDirectory> </properties> <dependencies> <dependency> <groupId>org.grails</groupId> <artifactId>grails-dependencies</artifactId> <version>${grails.version}</version> <type>pom</type> </dependency> <dependency> <groupId>org.grails</groupId> <artifactId>grails-plugin-testing</artifactId> <version>${grails.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.grails.plugins</groupId> <artifactId>tomcat</artifactId> <version>${grails.version}</version> <type>zip</type> <scope>provided</scope> </dependency> <dependency> <groupId>org.grails.plugins</groupId> <artifactId>hibernate</artifactId> <version>${grails.version}</version> <type>zip</type> <scope>compile</scope> </dependency> <dependency> <groupId>org.grails.plugins</groupId> <artifactId>jquery</artifactId> <version>1.7.1</version> <type>zip</type> <scope>runtime</scope> </dependency> <dependency> <groupId>org.grails.plugins</groupId> <artifactId>resources</artifactId> <version>1.1.6</version> <type>zip</type> <scope>runtime</scope> </dependency> <dependency> <groupId>org.grails.plugins</groupId> <artifactId>database-migration</artifactId> <version>1.1</version> <type>zip</type> <scope>runtime</scope> </dependency> </dependencies> <build> <resources> <resource> <directory>src/main/resources</directory> <excludes> <exclude>**/*.*</exclude> <exclude>*.*</exclude> </excludes> </resource> </resources> <pluginManagement /> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <skip>true</skip> </configuration> <executions> <execution> <id>surefire-it</id> <phase>integration-test</phase> <goals> <goal>test</goal> </goals> <configuration> <skip>false</skip> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-clean-plugin</artifactId> <version>2.4.1</version> <configuration> <filesets> <fileset> <directory>plugins</directory> <includes> <include>**/*</include> </includes> <followSymlinks>false</followSymlinks> </fileset> </filesets> </configuration> </plugin> <plugin> <groupId>org.grails</groupId> <artifactId>grails-maven-plugin</artifactId> <version>${grails.version}</version> <configuration> <fork></fork> </configuration> <extensions>true</extensions> <executions> <execution> <goals> <goal>init</goal> <goal>maven-clean</goal> <goal>validate</goal> <goal>config-directories</goal> <goal>maven-compile</goal> <goal>maven-test</goal> <goal>maven-war</goal> <goal>maven-functional-test</goal> </goals> </execution> </executions> </plugin> <!-- <plugin> <artifactId>maven-assembly-plugin</artifactId> <version>2.2-beta-5</version> <executions> <execution> <id>bundle</id> <phase>package</phase> <goals> <goal>single</goal> </goals> </execution> </executions> <configuration> <descriptors> <descriptor>src/main/resources/assemblies/jar-bundle.xml</descriptor> </descriptors> </configuration> </plugin> --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.5</source> <target>1.5</target> </configuration> </plugin> </plugins> </build> <profiles> <profile> <id>tools</id> <activation> <property> <name>java.vendor</name> <value>Sun Microsystems Inc.</value> </property> </activation> <dependencies> <dependency> <groupId>com.sun</groupId> <artifactId>tools</artifactId> <version>${java.version}</version> <scope>system</scope> <systemPath>${java.home}/../lib/tools.jar</systemPath> </dependency> </dependencies> </profile> </profiles> </project>
          Hide
          Juan Manuel Barroso added a comment -

          Hi,

          I thing I have a problem with hot reloading in Grails 2.1.0-RC2.

          When I run run-app from maven, the hot reload class doesn't work, any change I make in Controller or Service is not avaliable until I stop and relaunch the run-app.

          Regards

          Show
          Juan Manuel Barroso added a comment - Hi, I thing I have a problem with hot reloading in Grails 2.1.0-RC2. When I run run-app from maven, the hot reload class doesn't work, any change I make in Controller or Service is not avaliable until I stop and relaunch the run-app. Regards
          Hide
          John Holme added a comment - - edited

          Using Grails 2.0.3 with Maven 2.2.1, I mavenized an existing grails project using the create-pom command (the fresh pom had grails-version set to 2.1.0.RC2 but I changed it to 2.0.3 so my dependencies would load). "mvn initialize" and "mvn grails:maven-clean" finished successfully, but "mvn grails:maven-compile" results in this cryptic error:

          "Fatal error during compilation org.apache.tools.ant.BuildException: Compilation Failed (Use --stacktrace to see the full trace)"

          This is odd, because when I run "grails compile", it finishes OK.

          1) Is there actually a way to turn on the --stacktrace flag when running the grails compile target through maven?
          2) Is there someplace where more informative error messages are logged by maven?
          3) Any idea what's causing this impedance between the "mvn grails:compile" command and the underlying "grails compile"? I thought maven just passed these commands through to grails - why is there a difference in the outcomes?

          By the way, I noticed that grails plugins incorporated via the maven markup are entered in application.properties. However, I have read in other posts that Grails 2.x no longer supports plugin configuration in application.properties, but prefers BuildConfig.groovy. Should these entries be manually removed from application.properties? Should they be manually added to BuildConfig.groovy?

          Show
          John Holme added a comment - - edited Using Grails 2.0.3 with Maven 2.2.1, I mavenized an existing grails project using the create-pom command (the fresh pom had grails-version set to 2.1.0.RC2 but I changed it to 2.0.3 so my dependencies would load). "mvn initialize" and "mvn grails:maven-clean" finished successfully, but "mvn grails:maven-compile" results in this cryptic error: "Fatal error during compilation org.apache.tools.ant.BuildException: Compilation Failed (Use --stacktrace to see the full trace)" This is odd, because when I run "grails compile", it finishes OK. 1) Is there actually a way to turn on the --stacktrace flag when running the grails compile target through maven? 2) Is there someplace where more informative error messages are logged by maven? 3) Any idea what's causing this impedance between the "mvn grails:compile" command and the underlying "grails compile"? I thought maven just passed these commands through to grails - why is there a difference in the outcomes? By the way, I noticed that grails plugins incorporated via the maven markup are entered in application.properties. However, I have read in other posts that Grails 2.x no longer supports plugin configuration in application.properties, but prefers BuildConfig.groovy. Should these entries be manually removed from application.properties? Should they be manually added to BuildConfig.groovy?
          Hide
          Juan Manuel Barroso added a comment -

          Hi John,

          If you need turn on the --stacktrace, you can use -Dgrails.full.stacktrace=true:

          • mvn grails:run-app -Dgrails.full.stacktrace=true

          Respecting supports plugins configuration, I'm using Grails 2.1.0-RC2 and I have moved all my plugings to pom.xml.

          Show
          Juan Manuel Barroso added a comment - Hi John, If you need turn on the --stacktrace, you can use -Dgrails.full.stacktrace=true: mvn grails:run-app -Dgrails.full.stacktrace=true Respecting supports plugins configuration, I'm using Grails 2.1.0-RC2 and I have moved all my plugings to pom.xml.
          Hide
          John Holme added a comment -

          thanks, Juan. running "mvn grails:maven-compile -Dgrails.full.stacktrace=true" doesn't provide any additional insights into the nature of the error that kills the build; neither does running maven in verbose mode ("mvn grails:maven-compile -X") or error mode ("mvn grails:maven-compile -e"). the result is the same as before:

          Fatal error during compilation org.apache.tools.ant.BuildException: Compilation Failed (Use --stacktrace to see the full trace)

          I still can't see what's behind that ant BuildException! (yet "grails compile" finishes successfully.) seems like what I want to do is modify maven's ant call so it runs ant in debug mode. can that be done?

          Show
          John Holme added a comment - thanks, Juan. running "mvn grails:maven-compile -Dgrails.full.stacktrace=true" doesn't provide any additional insights into the nature of the error that kills the build; neither does running maven in verbose mode ("mvn grails:maven-compile -X") or error mode ("mvn grails:maven-compile -e"). the result is the same as before: Fatal error during compilation org.apache.tools.ant.BuildException: Compilation Failed (Use --stacktrace to see the full trace) I still can't see what's behind that ant BuildException! (yet "grails compile" finishes successfully.) seems like what I want to do is modify maven's ant call so it runs ant in debug mode. can that be done?
          Hide
          John Holme added a comment -

          mvn grails:maven-compile works when I move dependency declarations from pom.xml to BuildConfig.groovy. The reasoning behind this step is that the maven grails commands are simple wrappers around the grails command-line, and my guess now is that the grails runtime doesn't know anything about dependencies declared in the maven pom.

          So now that the project compiles, there's a new error on the packaging step "mvn grails:package-plugin": Error generating web.xml file. File permissions have all been fixed to make sure anyone can read/write web.xml, so this is another unfathomable error.

          By the way, I notice there's no "mvn grails:maven-install" command for the grails-maven plugin. Is there a maven command I can use to install the packaged grails plugin to my local repo, or should I use the grails "maven-install" command directly? Where are the docs for all this, anyway?

          Show
          John Holme added a comment - mvn grails:maven-compile works when I move dependency declarations from pom.xml to BuildConfig.groovy. The reasoning behind this step is that the maven grails commands are simple wrappers around the grails command-line, and my guess now is that the grails runtime doesn't know anything about dependencies declared in the maven pom. So now that the project compiles, there's a new error on the packaging step "mvn grails:package-plugin": Error generating web.xml file. File permissions have all been fixed to make sure anyone can read/write web.xml, so this is another unfathomable error. By the way, I notice there's no "mvn grails:maven-install" command for the grails-maven plugin. Is there a maven command I can use to install the packaged grails plugin to my local repo, or should I use the grails "maven-install" command directly? Where are the docs for all this, anyway?
          Hide
          Juan Manuel Barroso added a comment -

          Have you tried to tell grails dependency resolution to look at the pom?

          • To do this you should add "pom true" in "grails.project.dependency.resolution" (BuildConfig.groovy):
          BuildConfig.groovy
          .....
          grails.project.dependency.resolution = {         
              pom true 
              ... 
          }
          ...
          
          Show
          Juan Manuel Barroso added a comment - Have you tried to tell grails dependency resolution to look at the pom? To do this you should add "pom true" in "grails.project.dependency.resolution" (BuildConfig.groovy): BuildConfig.groovy ..... grails.project.dependency.resolution = {         pom true ... } ...
          Hide
          John Holme added a comment - - edited

          Juan, yes - that's what I tried first. As mentioned in a previous post, the "mvn grails:maven-compile" step succeeds when dependencies are declared in BuildConfig, but not when they are declared in the pom (with "pom true" in BuildConfig). The "mvn grails:package-plugin" command fails in both cases. This is a blocker for grails development at my shop because the whole codebase is wired together with maven.

          Maybe I should mention that my project is a plugin, so I changed the packaging value in pom.xml from "war" to "grails-plugin" (the "mvn grails:validate-plugin" command finishes successfully). It appears that most of the grails plugin* commands are supported by the maven-grails plugin (with the notable exception of maven-install) so I assume that developing a grails plugin under maven should be about the same as developing any other grails project.

          I added println statements to the $GRAILS_HOME/scripts/_GrailsCompile.groovy script to generate more information about the errors I've encountered; this output is NOT available when running "mvn grails:maven-compile", but DOES appear when running "grails compile" (but in this case the build finishes successfully, so no errors appear) - so perhaps the maven-grails commands are not simple wrappers around grails commands (as suggested by the docs), but use their own scripts (which I have yet to find) - can you show me where these scripts are located?

          Show
          John Holme added a comment - - edited Juan, yes - that's what I tried first. As mentioned in a previous post, the "mvn grails:maven-compile" step succeeds when dependencies are declared in BuildConfig, but not when they are declared in the pom (with "pom true" in BuildConfig). The "mvn grails:package-plugin" command fails in both cases. This is a blocker for grails development at my shop because the whole codebase is wired together with maven. Maybe I should mention that my project is a plugin, so I changed the packaging value in pom.xml from "war" to "grails-plugin" (the "mvn grails:validate-plugin" command finishes successfully). It appears that most of the grails plugin* commands are supported by the maven-grails plugin (with the notable exception of maven-install) so I assume that developing a grails plugin under maven should be about the same as developing any other grails project. I added println statements to the $GRAILS_HOME/scripts/_GrailsCompile.groovy script to generate more information about the errors I've encountered; this output is NOT available when running "mvn grails:maven-compile", but DOES appear when running "grails compile" (but in this case the build finishes successfully, so no errors appear) - so perhaps the maven-grails commands are not simple wrappers around grails commands (as suggested by the docs), but use their own scripts (which I have yet to find) - can you show me where these scripts are located?
          Hide
          Graeme Rocher added a comment -

          @John - versions 2.0.x and below of the plugin do not support plugins declared in the pom.xml, they have to be declared in BuildConfig.groovy.

          Versions 2.1.x and above have rectified this. To get started I suggest downloading Grails 2.1 RC2 and using the 'grails create-pom' command which will constructor an example application with a POM to show you how to get started.

          @Juan - Reloading doesn't work unless you used forked mode in 2.1 RC2. See the documentation on forked mode in http://grails.org/doc/2.1.x/guide/commandLine.html#antAndMaven section "Forked Grails Execution"

          Show
          Graeme Rocher added a comment - @John - versions 2.0.x and below of the plugin do not support plugins declared in the pom.xml, they have to be declared in BuildConfig.groovy. Versions 2.1.x and above have rectified this. To get started I suggest downloading Grails 2.1 RC2 and using the 'grails create-pom' command which will constructor an example application with a POM to show you how to get started. @Juan - Reloading doesn't work unless you used forked mode in 2.1 RC2. See the documentation on forked mode in http://grails.org/doc/2.1.x/guide/commandLine.html#antAndMaven section "Forked Grails Execution"
          Hide
          John Holme added a comment - - edited

          thanks Graeme. seems like for now we're going to stick with 2.0.3 and BuildConfig settings; might write our own maven wrappers on grails commands using "exec". however, looking forward to 2.1.0 release and moving to full maven-grails integration.

          Show
          John Holme added a comment - - edited thanks Graeme. seems like for now we're going to stick with 2.0.3 and BuildConfig settings; might write our own maven wrappers on grails commands using "exec". however, looking forward to 2.1.0 release and moving to full maven-grails integration.
          Hide
          Chris Latimer added a comment -

          Thanks Graeme and everyone who helped get this working! I gave up on the 2.0.x version, but just tried with the 2.1.0 release and was able to get a new application up and running with the maven plugin. The one problem I ran into was that when running in forked execution mode, an exception was thrown:

          Caused by: java.lang.NoClassDefFoundError: org/apache/catalina/startup/Tomcat
          

          I was able to work around it by setting <fork>false</fork> within the grails-maven-plugin definition in my pom file. Once I moved the org.grails.plugins:tomcat:2.1.0 dependency over to my pom file I was able to run it in forked mode with no issues. I documented the steps I followed so if I made mistake that would have prevented this problem please let me know.

          Show
          Chris Latimer added a comment - Thanks Graeme and everyone who helped get this working! I gave up on the 2.0.x version, but just tried with the 2.1.0 release and was able to get a new application up and running with the maven plugin. The one problem I ran into was that when running in forked execution mode, an exception was thrown: Caused by: java.lang.NoClassDefFoundError: org/apache/catalina/startup/Tomcat I was able to work around it by setting <fork>false</fork> within the grails-maven-plugin definition in my pom file. Once I moved the org.grails.plugins:tomcat:2.1.0 dependency over to my pom file I was able to run it in forked mode with no issues. I documented the steps I followed so if I made mistake that would have prevented this problem please let me know.
          Hide
          Bram added a comment -

          Just tried Chris Latimer's approach, but didn't get the forked mode to work. Switched to non-forked, but got:

          |Compiling 113 source files
          Note: D:\workspace\new-maven\plugins\cache-1.0.0\src\java\grails\plugin\cache\web\GenericResponseWrapper.java uses or overrides a deprecated API.
          Note: Recompile with -Xlint:deprecation for details.
          ..
          |Compiling 8 source files
          .[INFO] [grails:maven-test {execution: default-maven-test}]
          
          |Loading Grails 2.1.0
          |Configuring classpath
          |Running pre-compiled script
          ...............
          |Compiling 1 source files
          .......
          |Tests PASSED - view reports in D:\workspace\new-maven\target\test-reports
          [INFO] [grails:maven-grails-app-war {execution: default-maven-grails-app-war}]
          
          |Loading Grails 2.1.0
          |Configuring classpath
          |Running pre-compiled script
          ..................................
          |Packaging Grails application
          ....
          |Compiling 1 source files
          ...........[INFO] ------------------------------------------------------------------------
          [ERROR] BUILD ERROR
          [INFO] ------------------------------------------------------------------------
          [INFO] Unable to start Grails
          
          Embedded error: java.lang.reflect.InvocationTargetException
          loader constraint violation in interface itable initialization: when resolving method "org.apache.xerces.dom.NodeImpl.getChildNodes()Lorg/w3c/dom/NodeList;" the class loader (instance of org/grails/la
          uncher/RootLoader) of the current class, org/apache/xerces/dom/NodeImpl, and the class loader (instance of <bootloader>) for interface org/w3c/dom/Node have different Class objects for the type org/w3
          c/dom/NodeList used in the signature
          [INFO] ------------------------------------------------------------------------
          [INFO] For more information, run Maven with the -e switch
          [INFO] ------------------------------------------------------------------------
          [INFO] Total time: 1 minute
          [INFO] Finished at: Mon Jul 23 10:20:57 CEST 2012
          [INFO] Final Memory: 108M/258M
          [INFO] ------------------------------------------------------------------------
          D:\workspace\new-maven>
          
          Show
          Bram added a comment - Just tried Chris Latimer's approach, but didn't get the forked mode to work. Switched to non-forked, but got: |Compiling 113 source files Note: D:\workspace\new-maven\plugins\cache-1.0.0\src\java\grails\plugin\cache\web\GenericResponseWrapper.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. .. |Compiling 8 source files .[INFO] [grails:maven-test {execution: default-maven-test}] |Loading Grails 2.1.0 |Configuring classpath |Running pre-compiled script ............... |Compiling 1 source files ....... |Tests PASSED - view reports in D:\workspace\new-maven\target\test-reports [INFO] [grails:maven-grails-app-war {execution: default-maven-grails-app-war}] |Loading Grails 2.1.0 |Configuring classpath |Running pre-compiled script .................................. |Packaging Grails application .... |Compiling 1 source files ...........[INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Unable to start Grails Embedded error: java.lang.reflect.InvocationTargetException loader constraint violation in interface itable initialization: when resolving method "org.apache.xerces.dom.NodeImpl.getChildNodes()Lorg/w3c/dom/NodeList;" the class loader (instance of org/grails/la uncher/RootLoader) of the current class, org/apache/xerces/dom/NodeImpl, and the class loader (instance of <bootloader>) for interface org/w3c/dom/Node have different Class objects for the type org/w3 c/dom/NodeList used in the signature [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1 minute [INFO] Finished at: Mon Jul 23 10:20:57 CEST 2012 [INFO] Final Memory: 108M/258M [INFO] ------------------------------------------------------------------------ D:\workspace\new-maven>
          Hide
          Chris Latimer added a comment -

          Hey Bram,

          You may want to:

          • Move all your dependencies from BuildConfig.groovy into pom.xml, make sure you set pom true in the grails.project.dependency.resolution closure of BuildConfig.groovy.
            • This may solve your problem on its since maven will evict conflicting dependencies, if not...
          • Run mvn dependency:tree and look for conflicting xml artifacts, especially xerces, xalan, and xml-apis.
          • Run grails dependency-report and look for the conflicts with those same artifacts
          • If you find conflicting versions, modify your pom.xml to exclude the problematic dependencies like so:
            <dependency>
              <groupId>...</groupId>
              <artifactId>...</artifactId>
              <version>...</version>
              ...scope, type, etc
              <exclusions>
                <exclusion>
                  <groupId>xml-apis</groupId>
                  <artifactId>xml-apis</artifactId>
                </exclusion>
              </exclusions>
            </dependency>
          
          Show
          Chris Latimer added a comment - Hey Bram, You may want to: Move all your dependencies from BuildConfig.groovy into pom.xml , make sure you set pom true in the grails.project.dependency.resolution closure of BuildConfig.groovy . This may solve your problem on its since maven will evict conflicting dependencies, if not... Run mvn dependency:tree and look for conflicting xml artifacts, especially xerces , xalan , and xml-apis . Run grails dependency-report and look for the conflicts with those same artifacts If you find conflicting versions, modify your pom.xml to exclude the problematic dependencies like so: <dependency> <groupId>...</groupId> <artifactId>...</artifactId> <version>...</version> ...scope, type, etc <exclusions> <exclusion> <groupId>xml-apis</groupId> <artifactId>xml-apis</artifactId> </exclusion> </exclusions> </dependency>
          Hide
          Graeme Rocher added a comment -

          @Chris Latimer - To fix the "Caused by: java.lang.NoClassDefFoundError: org/apache/catalina/startup/Tomcat" error add the following dependency to your POM:

                  <dependency>
                      <groupId>org.grails.plugins</groupId>
                      <artifactId>tomcat</artifactId>
                      <version>${grails.version}</version>
                      <type>zip</type>
                      <scope>provided</scope>
                  </dependency>
          
          
          Show
          Graeme Rocher added a comment - @Chris Latimer - To fix the "Caused by: java.lang.NoClassDefFoundError: org/apache/catalina/startup/Tomcat" error add the following dependency to your POM: <dependency> <groupId>org.grails.plugins</groupId> <artifactId>tomcat</artifactId> <version>${grails.version}</version> <type>zip</type> <scope>provided</scope> </dependency>
          Hide
          Graeme Rocher added a comment -

          I'm closing this issue as fixed, folks can feel free to comment on the issue to ask questions (although the mailing list may be more appropriate) but the Maven support is now working fine in 2.1.0+

          Show
          Graeme Rocher added a comment - I'm closing this issue as fixed, folks can feel free to comment on the issue to ask questions (although the mailing list may be more appropriate) but the Maven support is now working fine in 2.1.0+
          Hide
          Ives Stoddard added a comment -

          Has anyone running Jenkins run into issue http://jira.grails.org/browse/GRAILS-9038 yet? (in-line plugins and unique paths for concurrent builds)

          Show
          Ives Stoddard added a comment - Has anyone running Jenkins run into issue http://jira.grails.org/browse/GRAILS-9038 yet? (in-line plugins and unique paths for concurrent builds)
          Hide
          Fabian Gebert added a comment -

          still exists with 2.2.0 - merge was only applied to 2.1 branch

          Show
          Fabian Gebert added a comment - still exists with 2.2.0 - merge was only applied to 2.1 branch
          Hide
          Nelson Ferreira added a comment -

          Still exists with 2.2.4

          Show
          Nelson Ferreira added a comment - Still exists with 2.2.4

            People

            • Assignee:
              Graeme Rocher
              Reporter:
              mike
            • Votes:
              21 Vote for this issue
              Watchers:
              35 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: