Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regression introduce by pull-request #38 merge #40

Open
jfougere opened this issue Apr 23, 2014 · 0 comments
Open

Regression introduce by pull-request #38 merge #40

jfougere opened this issue Apr 23, 2014 · 0 comments

Comments

@jfougere
Copy link

The modification done with the pull-request #38 makes the build failed when running tests.

Plugins classes are no more included in classpath when running maven-test goal.
Reverting changes made in this pull-request make the build and tests succeed.

Build was OK when using 2.3.4 maven plugin.

Below is the stack trace obtained with the official 2.3.7 maven plugin:

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:168)
Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at org.grails.launcher.GrailsLauncher.launch(GrailsLauncher.java:144)
    ... 1 more
Caused by: java.lang.NoClassDefFoundError: KickstartResources
    at Config.run(Config.groovy:137)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
......
Caused by: java.lang.ClassNotFoundException: KickstartResources
    at org.grails.launcher.RootLoader.findClass(RootLoader.java:147)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
    at org.grails.launcher.RootLoader.loadClass(RootLoader.java:119)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
    ... 435 more

KickstartResources is a plugin class.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant