Grails Maven Plugin

mvn install fails "Unable to start grails"

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Cannot Reproduce
  • Affects Version/s: None
  • Fix Version/s: 2.1.0
  • Component/s: None
  • Labels:
    None
  • Environment:
    windows XP, maven 2.2.1

Description

mvn install on a new project (archetype + initialize) will display the following error

[INFO] Unable to start Grails

Embedded error: java.lang.reflect.InvocationTargetException
Could not compile stylesheet

Activity

Hide
laurentWokup added a comment -

i have exactly the same error when i do the mvn initialize (after the archetype), as describe in the doc :

Embedded error: java.lang.reflect.InvocationTargetException
This code should have never made it into the jar
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Unable to start Grails
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:719)
...
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(Abs
tractCallSite.java:155)
at gant.Gant.processTargets(Gant.groovy:480)
at org.codehaus.groovy.grails.cli.GrailsScriptRunner.callPluginOrGrailsS
cript(GrailsScriptRunner.java:542)
at org.codehaus.groovy.grails.cli.GrailsScriptRunner.executeCommand(Grai
lsScriptRunner.java:301)
... 26 more
Caused by: java.lang.UnsupportedOperationException: This code should have never
made it into the jar
at org.slf4j.impl.StaticLoggerBinder.<init>(StaticLoggerBinder.java:67)
at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:48
)
... 167 more

any idea ?

Show
laurentWokup added a comment - i have exactly the same error when i do the mvn initialize (after the archetype), as describe in the doc : Embedded error: java.lang.reflect.InvocationTargetException This code should have never made it into the jar [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Unable to start Grails at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa ultLifecycleExecutor.java:719) ... at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(Abs tractCallSite.java:155) at gant.Gant.processTargets(Gant.groovy:480) at org.codehaus.groovy.grails.cli.GrailsScriptRunner.callPluginOrGrailsS cript(GrailsScriptRunner.java:542) at org.codehaus.groovy.grails.cli.GrailsScriptRunner.executeCommand(Grai lsScriptRunner.java:301) ... 26 more Caused by: java.lang.UnsupportedOperationException: This code should have never made it into the jar at org.slf4j.impl.StaticLoggerBinder.<init>(StaticLoggerBinder.java:67) at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:48 ) ... 167 more any idea ?
Hide
Graeme Rocher added a comment -

works fine in 2.1 snapshot version

Show
Graeme Rocher added a comment - works fine in 2.1 snapshot version

People

Vote (1)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: