Forum Discussion
abhishek8908
11 years agoOccasional Contributor
Hi,
Thanks for the knowledge.I was able to install maven however I am getting below error while running the project.
Please find my pom.xml attached . Could you please help me on this.
16:02:32,247 INFO [SoapUI] File [D:\MavenProject\??D:\MavenProject\NAMI_S2S_RES
T_API_Credit_Card-soapui-project.xml] does not exist, trying URL instead
16:02:32,248 ERROR [SoapUI] An error occurred [no protocol: ??D:\MavenProject\NA MI_S2S_REST_API_Credit_Card-soapui-project.xml], see error log for details
java.net.MalformedURLException: no protocol: ??D:\MavenProject\NAMI_S2S_REST_API
_Credit_Card-soapui-project.xml
at java.net.URL.<init>(URL.java:585)
at java.net.URL.<init>(URL.java:482)
at java.net.URL.<init>(URL.java:431)
at com.eviware.soapui.impl.wsdl.WsdlProject.<init>(WsdlProject.java:236)
at com.eviware.soapui.impl.wsdl.WsdlProjectPro.<init>(SourceFile:151)
at com.eviware.soapui.impl.wsdl.WsdlProjectProFactory.createNew(SourceFi
le:32)
at com.eviware.soapui.impl.wsdl.WsdlProjectProFactory.createNew(SourceFi
le:16)
at com.eviware.soapui.tools.SoapUITestCaseRunner.runRunner(SoapUITestCas
eRunner.java:341)
at com.eviware.soapui.tools.AbstractSoapUIRunner.run(AbstractSoapUIRunne
r.java:162)
at com.eviware.soapui.maven2.TestMojo.execute(TestMojo.java:119)
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:320)
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:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
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] java.lang.Exception: Failed to load SoapUI project file [??D:\MavenProje ct\NAMI_S2S_REST_API_Credit_Card-soapui-project.xml]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.785s
[INFO] Finished at: Thu Jan 08 16:02:32 IST 2015 [INFO] Final Memory: 18M/181M [INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.smartbear.soapui:soapui-pro-maven-plugin:5.0.
0:test (default) on project MavenProject: SoapUI Test(s) failed: SoapUI Test(s)
failed:
[ERROR] Failed to load SoapUI project file [??D:\MavenProject\NAMI_S2S_REST_API_
Credit_Card-soapui-project.xml]
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit ch.
[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 rea d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/disp ... FailureExc
Thanks for the knowledge.I was able to install maven however I am getting below error while running the project.
Please find my pom.xml attached . Could you please help me on this.
16:02:32,247 INFO [SoapUI] File [D:\MavenProject\??D:\MavenProject\NAMI_S2S_RES
T_API_Credit_Card-soapui-project.xml] does not exist, trying URL instead
16:02:32,248 ERROR [SoapUI] An error occurred [no protocol: ??D:\MavenProject\NA MI_S2S_REST_API_Credit_Card-soapui-project.xml], see error log for details
java.net.MalformedURLException: no protocol: ??D:\MavenProject\NAMI_S2S_REST_API
_Credit_Card-soapui-project.xml
at java.net.URL.<init>(URL.java:585)
at java.net.URL.<init>(URL.java:482)
at java.net.URL.<init>(URL.java:431)
at com.eviware.soapui.impl.wsdl.WsdlProject.<init>(WsdlProject.java:236)
at com.eviware.soapui.impl.wsdl.WsdlProjectPro.<init>(SourceFile:151)
at com.eviware.soapui.impl.wsdl.WsdlProjectProFactory.createNew(SourceFi
le:32)
at com.eviware.soapui.impl.wsdl.WsdlProjectProFactory.createNew(SourceFi
le:16)
at com.eviware.soapui.tools.SoapUITestCaseRunner.runRunner(SoapUITestCas
eRunner.java:341)
at com.eviware.soapui.tools.AbstractSoapUIRunner.run(AbstractSoapUIRunne
r.java:162)
at com.eviware.soapui.maven2.TestMojo.execute(TestMojo.java:119)
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:320)
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:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
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] java.lang.Exception: Failed to load SoapUI project file [??D:\MavenProje ct\NAMI_S2S_REST_API_Credit_Card-soapui-project.xml]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.785s
[INFO] Finished at: Thu Jan 08 16:02:32 IST 2015 [INFO] Final Memory: 18M/181M [INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.smartbear.soapui:soapui-pro-maven-plugin:5.0.
0:test (default) on project MavenProject: SoapUI Test(s) failed: SoapUI Test(s)
failed:
[ERROR] Failed to load SoapUI project file [??D:\MavenProject\NAMI_S2S_REST_API_
Credit_Card-soapui-project.xml]
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit ch.
[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 rea d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/disp ... FailureExc