Forum Discussion
Seshan
11 years agoNew Contributor
Now, I am getting the following error message
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.smartbear.soapui:soapui-maven-plugin:4.6.2:test (default-cli) on project soapui_maven: Execution default-cli of goal com.smartbear.soapui:soapui-
maven-plugin:4.6.2:test failed: A required class was missing while executing com.smartbear.soapui:soapui-maven-plugin:4.6.2:test: com/eviware/soapui/tools/SoapUITestCaseRunner
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>com.smartbear.soapui:soapui-maven-plugin:4.6.2
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/C:/Users/xxxx/.m2/repository/com/smartbear/soapui/soapui-maven-plugin/4.6.2/soapui-maven-plugin-4.6.2.jar
[ERROR] urls[1] = file:/C:/Users/xxxx/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]
[ERROR]
[ERROR] -----------------------------------------------------: com.eviware.soapui.tools.SoapUITestCaseRunner
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.smartbear.soapui:soapui-maven-plugin:4.6.2:test (default-cli) on project soapui_maven: Execution
default-cli of goal com.smartbear.soapui:soapui-maven-plugin:4.6.2:test failed: A required class was missing while executing com.smartbear.soapui:soapui-maven-plugin:4.6.2:test: co
m/eviware/soapui/tools/SoapUITestCaseRunner
-----------------------------------------------------
realm = plugin>com.smartbear.soapui:soapui-maven-plugin:4.6.2
strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
urls[0] = file:/C:/Users/xxxx/.m2/repository/com/smartbear/soapui/soapui-maven-plugin/4.6.2/soapui-maven-plugin-4.6.2.jar
urls[1] = file:/C:/Users/xxxx/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
Number of foreign imports: 1
import: Entry[import from realm ClassRealm[maven.api, parent: null]]
-----------------------------------------------------
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224)
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:317)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
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:606)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-cli of goal com.smartbear.soapui:soapui-maven-plugin:4.6.2:test failed: A required class was missing
while executing com.smartbear.soapui:soapui-maven-plugin:4.6.2:test: com/eviware/soapui/tools/SoapUITestCaseRunner
-----------------------------------------------------
realm = plugin>com.smartbear.soapui:soapui-maven-plugin:4.6.2
strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
urls[0] = file:/C:/Users/xxxx/.m2/repository/com/smartbear/soapui/soapui-maven-plugin/4.6.2/soapui-maven-plugin-4.6.2.jar
urls[1] = file:/C:/Users/xxxx/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
Number of foreign imports: 1
import: Entry[import from realm ClassRealm[maven.api, parent: null]]
-----------------------------------------------------
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
... 19 more
Caused by: org.apache.maven.plugin.PluginContainerException: A required class was missing while executing com.smartbear.soapui:soapui-maven-plugin:4.6.2:test: com/eviware/soapui/to
ols/SoapUITestCaseRunner
-----------------------------------------------------
realm = plugin>com.smartbear.soapui:soapui-maven-plugin:4.6.2
strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
urls[0] = file:/C:/Users/xxxx/.m2/repository/com/smartbear/soapui/soapui-maven-plugin/4.6.2/soapui-maven-plugin-4.6.2.jar
urls[1] = file:/C:/Users/xxxx/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
Number of foreign imports: 1
import: Entry[import from realm ClassRealm[maven.api, parent: null]]
-----------------------------------------------------
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:130)
... 20 more
Caused by: java.lang.NoClassDefFoundError: com/eviware/soapui/tools/SoapUITestCaseRunner
at com.eviware.soapui.maven2.TestMojo.execute(TestMojo.java:51)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
... 20 more
Caused by: java.lang.ClassNotFoundException: com.eviware.soapui.tools.SoapUITestCaseRunner
at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:259)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:235)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:227)
... 22 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/disp ... rException
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.smartbear.soapui:soapui-maven-plugin:4.6.2:test (default-cli) on project soapui_maven: Execution default-cli of goal com.smartbear.soapui:soapui-
maven-plugin:4.6.2:test failed: A required class was missing while executing com.smartbear.soapui:soapui-maven-plugin:4.6.2:test: com/eviware/soapui/tools/SoapUITestCaseRunner
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>com.smartbear.soapui:soapui-maven-plugin:4.6.2
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/C:/Users/xxxx/.m2/repository/com/smartbear/soapui/soapui-maven-plugin/4.6.2/soapui-maven-plugin-4.6.2.jar
[ERROR] urls[1] = file:/C:/Users/xxxx/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]
[ERROR]
[ERROR] -----------------------------------------------------: com.eviware.soapui.tools.SoapUITestCaseRunner
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.smartbear.soapui:soapui-maven-plugin:4.6.2:test (default-cli) on project soapui_maven: Execution
default-cli of goal com.smartbear.soapui:soapui-maven-plugin:4.6.2:test failed: A required class was missing while executing com.smartbear.soapui:soapui-maven-plugin:4.6.2:test: co
m/eviware/soapui/tools/SoapUITestCaseRunner
-----------------------------------------------------
realm = plugin>com.smartbear.soapui:soapui-maven-plugin:4.6.2
strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
urls[0] = file:/C:/Users/xxxx/.m2/repository/com/smartbear/soapui/soapui-maven-plugin/4.6.2/soapui-maven-plugin-4.6.2.jar
urls[1] = file:/C:/Users/xxxx/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
Number of foreign imports: 1
import: Entry[import from realm ClassRealm[maven.api, parent: null]]
-----------------------------------------------------
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224)
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:317)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
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:606)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-cli of goal com.smartbear.soapui:soapui-maven-plugin:4.6.2:test failed: A required class was missing
while executing com.smartbear.soapui:soapui-maven-plugin:4.6.2:test: com/eviware/soapui/tools/SoapUITestCaseRunner
-----------------------------------------------------
realm = plugin>com.smartbear.soapui:soapui-maven-plugin:4.6.2
strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
urls[0] = file:/C:/Users/xxxx/.m2/repository/com/smartbear/soapui/soapui-maven-plugin/4.6.2/soapui-maven-plugin-4.6.2.jar
urls[1] = file:/C:/Users/xxxx/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
Number of foreign imports: 1
import: Entry[import from realm ClassRealm[maven.api, parent: null]]
-----------------------------------------------------
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
... 19 more
Caused by: org.apache.maven.plugin.PluginContainerException: A required class was missing while executing com.smartbear.soapui:soapui-maven-plugin:4.6.2:test: com/eviware/soapui/to
ols/SoapUITestCaseRunner
-----------------------------------------------------
realm = plugin>com.smartbear.soapui:soapui-maven-plugin:4.6.2
strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
urls[0] = file:/C:/Users/xxxx/.m2/repository/com/smartbear/soapui/soapui-maven-plugin/4.6.2/soapui-maven-plugin-4.6.2.jar
urls[1] = file:/C:/Users/xxxx/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
Number of foreign imports: 1
import: Entry[import from realm ClassRealm[maven.api, parent: null]]
-----------------------------------------------------
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:130)
... 20 more
Caused by: java.lang.NoClassDefFoundError: com/eviware/soapui/tools/SoapUITestCaseRunner
at com.eviware.soapui.maven2.TestMojo.execute(TestMojo.java:51)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
... 20 more
Caused by: java.lang.ClassNotFoundException: com.eviware.soapui.tools.SoapUITestCaseRunner
at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:259)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:235)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:227)
... 22 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/disp ... rException
Related Content
- 5 years ago
- 3 years ago
Recent Discussions
- 3 days ago