dogtperfect / jstd-maven-plugin

Automatically exported from code.google.com/p/jstd-maven-plugin
0 stars 0 forks source link

[FATAL ERROR] com.google.jstestdriver.JsTestDriverMojo#execute() #3

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Does anyone know what would cause this error?

-------------------------------------------
 J S  T E S T  D R I V E R
-------------------------------------------

[FATAL ERROR] com.google.jstestdriver.JsTestDriverMojo#execute() caused a linkag
e error (java.lang.NoClassDefFoundError) and may be out-of-date. Check the realm
s:
[FATAL ERROR] Plugin realm = app0.child-container[com.google.jstestdriver:maven-
jstestdriver-plugin:1.2.2-SNAPSHOT]
urls[0] = file:/C:/Users/mchu/.m2/repository/com/google/jstestdriver/maven-jstes
tdriver-plugin/1.2.2-SNAPSHOT/maven-jstestdriver-plugin-1.2.2-SNAPSHOT.jar
urls[1] = file:/C:/Users/mchu/.m2/repository/org/codehaus/plexus/plexus-utils/1.
1/plexus-utils-1.1.jar
[FATAL ERROR] Container realm = plexus.core
urls[0] = file:/C:/Program Files/Apache Software Foundation/apache-maven-2.2.1/l
ib/maven-2.2.1-uber.jar
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] org/apache/commons/lang/StringUtils
org.apache.commons.lang.StringUtils
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils
        at com.google.jstestdriver.JsTestDriverMojo.buildProcessConfiguration(Js
TestDriverMojo.java:169)
        at com.google.jstestdriver.JsTestDriverMojo.execute(JsTestDriverMojo.jav
a:159)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:490)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:694)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:556)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:535)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:387)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:348)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.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:6
0)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.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: java.lang.ClassNotFoundException: org.apache.commons.lang.StringUtils

        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
        at org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassL
oader.java:195)
        at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassReal
m.java:255)
        at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassReal
m.java:274)
        at org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.
java:214)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
        ... 21 more

Original issue reported on code.google.com by ocean.55...@gmail.com on 17 Jun 2010 at 1:41

GoogleCodeExporter commented 8 years ago
Try using the 1.2.1-SNAPSHOT.  I just put up the 1.2.2 version, and apparently 
there are some issues with it.

Original comment by burke.we...@gmail.com on 17 Jun 2010 at 2:13

GoogleCodeExporter commented 8 years ago
Not able to reproduce this.  If this is still an issue, please let me know.  
I'd like to see the pom.xml you are using, which might point to the issue.  
Otherwise, I'm going to close it.

Original comment by burke.we...@gmail.com on 13 Aug 2010 at 5:12