Forum Discussion

mlenosgrande's avatar
mlenosgrande
Contributor
15 years ago

Maven-soapui fatal error

Here is my actual config :
In my parent pom :
<pluginRepositories>
  <pluginRepository>
      <id>eviwarePluginRepository</id>
      <url>http://www.eviware.com/repository/maven2/</url>
  </pluginRepository>
</pluginRepositories>
 
  <build>
    <pluginManagement>
      <plugins>
  <plugin>
  <groupId>eviware</groupId>
  <artifactId>maven-soapui-plugin</artifactId>
  <!--This is the version of soapUI to grab from plugin repo-->
  <!--At the time of writing the 3.0.1 plugin had not been created-->
  <version>3.5.1</version>
  <configuration>
  <projectFile>${basedir}/src/test/resources/soapui/scribe-project 0.1.xml</projectFile>
      <outputFolder>${basedir}/target/soapui</outputFolder>
      <junitReport>true</junitReport>
      <exportwAll>true</exportwAll>
      <printReport>true</printReport>
      <settingsFile>soapui-settings.xml</settingsFile>

  </configuration>
  <executions>
    <execution>
      <id>soapUI</id>
      <!--Run as part of the test phase in the Maven lifecycle-->
      <phase>test</phase>
      <goals>
        <!--Run the test phase of eviware:maven-soapui-plugin-->
        <goal>test</goal>
      </goals>
    </execution>
  </executions>
  </plugin>.....


Tomcat is launched before locally to try them. No mock WS only real ones

I use this command:
mvn eviware:maven-soapui-plugin:test

With the software they are all working fine.

Any idea to resolve this error ?

[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]  scribe
[INFO]  scribe-core
[INFO]  scribe-dao-hibernate
[INFO]  scribe-br
[INFO]  scribe-web
[INFO] ------------------------------------------------------------------------
[INFO] Building scribe
[INFO]    task-segment: [eviware:maven-soapui-plugin:test]
[INFO] ------------------------------------------------------------------------
[INFO] [soapui:test]
soapUI 3.5.1 Maven2 TestCase Runner
14:58:58,787 WARN  [DefaultSoapUICore] Missing folder [C:\workspace\scribe-server\.\ext] for external libraries
[FATAL ERROR] com.eviware.soapui.maven2.TestMojo#execute() caused a linkage error (java.lang.ExceptionInInitializerError) and may be out-of-date. Check the realms:
[FATAL ERROR] Plugin realm = app0.child-container[eviware:maven-soapui-plugin:3.5.1]
urls[0] = file:/C:/Documents and Settings/cer5490066/.m2/repository/eviware/maven-soapui-plugin/3.5.1/maven-soapui-plugin-3.5.1.jar
urls[1] = file:/C:/Documents and Settings/cer5490066/.m2/repository/fife/rsyntaxtextarea/1.3.4/rsyntaxtextarea-1.3.4.jar
urls[2] = file:/C:/Documents and Settings/cer5490066/.m2/repository/wsdl4j/wsdl4j/1.6.2-fixed/wsdl4j-1.6.2-fixed.jar
urls[3] = file:/C:/Documents and Settings/cer5490066/.m2/repository/junit/junit/4.4/junit-4.4.jar
urls[4] = file:/C:/Documents and Settings/cer5490066/.m2/repository/log4j/log4j/1.2.14/log4j-1.2.14.jar
urls[5] = file:/C:/Documents and Settings/cer5490066/.m2/repository/jgoodies/looks/2.2.0/looks-2.2.0.jar
urls[6] = file:/C:/Documents and Settings/cer5490066/.m2/repository/jgoodies/binding/2.0.1/binding-2.0.1.jar
urls[7] = file:/C:/Documents and Settings/cer5490066/.m2/repository/jgoodies/forms/1.0.7/forms-1.0.7.jar
urls[8] = file:/C:/Documents and Settings/cer5490066/.m2/repository/com/l2fprod/common/l2fprod-common-fontchooser/7.3/l2fprod-common-fontchooser-7.3.jar
urls[9] = file:/C:/Documents and Settings/cer5490066/.m2/repository/com/l2fprod/common/l2fprod-common-shared/6.9.1/l2fprod-common-shared-6.9.1.jar
urls[10] = file:/C:/Documents and Settings/cer5490066/.m2/repository/com/l2fprod/common/l2fprod-common-directorychooser/7.3/l2fprod-common-directorychooser-7.3.jar
urls[11] = file:/C:/Documents and Settings/cer5490066/.m2/repository/swingx/swingx/soapui/swingx-soapui.jar
urls[12] = file:/C:/Documents and Settings/cer5490066/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar
urls[13] = file:/C:/Documents and Settings/cer5490066/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar
urls[14] = file:/C:/Documents and Settings/cer5490066/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar
urls[15] = file:/C:/Documents and Settings/cer5490066/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar
urls[16] = file:/C:/Documents and Settings/cer5490066/.m2/repository/json/json-lib/2.2.2-jdk15/json-lib-2.2.2-jdk15.jar
urls[17] = file:/C:/Documents and Settings/cer5490066/.m2/repository/xom/xom/1.1/xom-1.1.jar
urls[18] = file:/C:/Documents and Settings/cer5490066/.m2/repository/xerces/xmlParserAPIs/2.6.2/xmlParserAPIs-2.6.2.jar
urls[19] = file:/C:/Documents and Settings/cer5490066/.m2/repository/xerces/xercesImpl/2.9.1/xercesImpl-2.9.1.jar
urls[20] = file:/C:/Documents and Settings/cer5490066/.m2/repository/xalan/xalan/2.7.1/xalan-2.7.1.jar
urls[21] = file:/C:/Documents and Settings/cer5490066/.m2/repository/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.jar
urls[22] = file:/C:/Documents and Settings/cer5490066/.m2/repository/jaxen/jaxen/1.1-beta-8/jaxen-1.1-beta-8.jar
urls[23] = file:/C:/Documents and Settings/cer5490066/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar
urls[24] = file:/C:/Documents and Settings/cer5490066/.m2/repository/jdom/jdom/1.0/jdom-1.0.jar
urls[25] = file:/C:/Documents and Settings/cer5490066/.m2/repository/ezmorph/ezmorph/1.0.5/ezmorph-1.0.5.jar
urls[26] = file:/C:/Documents and Settings/cer5490066/.m2/repository/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar
urls[27] = file:/C:/Documents and Settings/cer5490066/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar
urls[28] = file:/C:/Documents and Settings/cer5490066/.m2/repository/commons-io/commons-io/1.3.2/commons-io-1.3.2.jar
urls[29] = file:/C:/Documents and Settings/cer5490066/.m2/repository/xmlbeans/xbean/fixed-2.4.0/xbean-fixed-2.4.0.jar
urls[30] = file:/C:/Documents and Settings/cer5490066/.m2/repository/xmlbeans/xbean_xpath/2.4.0/xbean_xpath-2.4.0.jar
urls[31] = file:/C:/Documents and Settings/cer5490066/.m2/repository/xmlbeans/xmlpublic/2.4.0/xmlpublic-2.4.0.jar
urls[32] = file:/C:/Documents and Settings/cer5490066/.m2/repository/xmlbeans/jsr173/xmlbeans-2.4.0/jsr173-xmlbeans-2.4.0.jar
urls[33] = file:/C:/Documents and Settings/cer5490066/.m2/repository/eviware/soapui-xmlbeans/3.5.1/soapui-xmlbeans-3.5.1.jar
urls[34] = file:/C:/Documents and Settings/cer5490066/.m2/repository/eviware/policy-xmlbeans/1.5/policy-xmlbeans-1.5.jar
urls[35] = file:/C:/Documents and Settings/cer5490066/.m2/repository/eviware/ext-xmlbeans/1.2/ext-xmlbeans-1.2.jar
urls[36] = file:/C:/Documents and Settings/cer5490066/.m2/repository/eviware/soap-xmlbeans/1.2/soap-xmlbeans-1.2.jar
urls[37] = file:/C:/Documents and Settings/cer5490066/.m2/repository/eviware/wadl-xmlbeans/1.1/wadl-xmlbeans-1.1.jar
urls[38] = file:/C:/Documents and Settings/cer5490066/.m2/repository/eviware/j2ee-xmlbeans/1.4/j2ee-xmlbeans-1.4.jar
urls[39] = file:/C:/Documents and Settings/cer5490066/.m2/repository/eviware/soapui/3.5.1/soapui-3.5.1.jar
urls[40] = file:/C:/Documents and Settings/cer5490066/.m2/repository/saxon/saxon/9.1.0.8j/saxon-9.1.0.8j.jar
urls[41] = file:/C:/Documents and Settings/cer5490066/.m2/repository/saxon/saxon-dom/9.1.0.8j/saxon-dom-9.1.0.8j.jar
urls[42] = file:/C:/Documents and Settings/cer5490066/.m2/repository/rhino/js/1.7R2/js-1.7R2.jar
urls[43] = file:/C:/Documents and Settings/cer5490066/.m2/repository/groovy/groovy-all/1.7.2/groovy-all-1.7.2.jar
urls[44] = file:/C:/Documents and Settings/cer5490066/.m2/repository/jetty/jetty/6.1.22/jetty-6.1.22.jar
urls[45] = file:/C:/Documents and Settings/cer5490066/.m2/repository/jetty/jetty-util/6.1.22/jetty-util-6.1.22.jar
urls[46] = file:/C:/Documents and Settings/cer5490066/.m2/repository/jetty/servlet-api/2.5-20081211/servlet-api-2.5-20081211.jar
urls[47] = file:/C:/Documents and Settings/cer5490066/.m2/repository/easymock/easymock/2.0/easymock-2.0.jar
urls[48] = file:/C:/Documents and Settings/cer5490066/.m2/repository/commons-jexl/commons-jexl/1.0/commons-jexl-1.0.jar
urls[49] = file:/C:/Documents and Settings/cer5490066/.m2/repository/xmlunit/xmlunit/1.2/xmlunit-1.2.jar
urls[50] = file:/C:/Documents and Settings/cer5490066/.m2/repository/xml-security/xmlsec/1.4.3/xmlsec-1.4.3.jar
urls[51] = file:/C:/Documents and Settings/cer5490066/.m2/repository/net-components/netcomponents/1.3.8a/netcomponents-1.3.8a.jar
urls[52] = file:/C:/Documents and Settings/cer5490066/.m2/repository/opensaml/opensaml/1.1/opensaml-1.1.jar
urls[53] = file:/C:/Documents and Settings/cer5490066/.m2/repository/xalan/serializer/2.7.1/serializer-2.7.1.jar
urls[54] = file:/C:/Documents and Settings/cer5490066/.m2/repository/wss4j/wss4j/1.5.8/wss4j-1.5.8.jar
urls[55] = file:/C:/Documents and Settings/cer5490066/.m2/repository/bouncycastle/bcprov-jdk15/143/bcprov-jdk15-143.jar
urls[56] = file:/C:/Documents and Settings/cer5490066/.m2/repository/jtidy/jtidy/r820/jtidy-r820.jar
urls[57] = file:/C:/Documents and Settings/cer5490066/.m2/repository/commons-ssl/not-yet-commons-ssl/0.3.11/not-yet-commons-ssl-0.3.11.jar
urls[58] = file:/C:/Documents and Settings/cer5490066/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar
urls[59] = file:/C:/Documents and Settings/cer5490066/.m2/repository/javax/mail/mail/1.4/mail-1.4.jar
urls[60] = file:/C:/Documents and Settings/cer5490066/.m2/repository/teamdev/jxbrowser/1.4/jxbrowser-1.4.jar
urls[61] = file:/C:/Documents and Settings/cer5490066/.m2/repository/amf/flex-messaging-common/1.0/flex-messaging-common-1.0.jar
urls[62] = file:/C:/Documents and Settings/cer5490066/.m2/repository/amf/flex-messaging-core/1.0/flex-messaging-core-1.0.jar
urls[63] = file:/C:/Documents and Settings/cer5490066/.m2/repository/amf/flex-messaging-opt/1.0/flex-messaging-opt-1.0.jar
urls[64] = file:/C:/Documents and Settings/cer5490066/.m2/repository/amf/flex-messaging-proxy/1.0/flex-messaging-proxy-1.0.jar
urls[65] = file:/C:/Documents and Settings/cer5490066/.m2/repository/amf/flex-messaging-remoting/1.0/flex-messaging-remoting-1.0.jar
urls[66] = file:/C:/Documents and Settings/cer5490066/.m2/repository/thoughtworks/xstream/1.3.1/xstream-1.3.1.jar
urls[67] = file:/C:/Documents and Settings/cer5490066/.m2/repository/javax/jms/jms/1.1/jms-1.1.jar
urls[68] = file:/C:/Documents and Settings/cer5490066/.m2/repository/hermesjms/hermes/1.14/hermes-1.14.jar
urls[69] = file:/C:/Documents and Settings/cer5490066/.m2/repository/activesoap/jaxb-impl/1.5/jaxb-impl-1.5.jar
urls[70] = file:/C:/Documents and Settings/cer5490066/.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-maven-2.1.0/bin/../lib/maven-2.1.0-uber.jar
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] null
[b]org.apache.xmlbeans.impl.schema.SchemaTypeLoaderImpl[/b]
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.ExceptionInInitializerError
at com.eviware.soapui.DefaultSoapUICore.initSettings(DefaultSoapUICore.java:190)
at com.eviware.soapui.config.SoapuiSettingsDocumentConfig$Factory.parse(Unknown Source)
at com.eviware.soapui.DefaultSoapUICore.init(DefaultSoapUICore.java:126)
at com.eviware.soapui.DefaultSoapUICore.<init>(DefaultSoapUICore.java:116)
at com.eviware.soapui.tools.AbstractSoapUIRunner.createSoapUICore(AbstractSoapUIRunner.java:153)
at com.eviware.soapui.tools.AbstractSoapUIRunner.run(AbstractSoapUIRunner.java:135)
at com.eviware.soapui.maven2.TestMojo.execute(TestMojo.java:113)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:553)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:523)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.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.IllegalStateException: Cannot load getContextTypeLoader: verify that xbean.jar is on the classpath
at org.apache.xmlbeans.XmlBeans.buildMethod(XmlBeans.java:181)
at org.apache.xmlbeans.XmlBeans.buildNoArgMethod(XmlBeans.java:190)
at org.apache.xmlbeans.XmlBeans.buildGetContextTypeLoaderMethod(XmlBeans.java:200)
at org.apache.xmlbeans.XmlBeans.<clinit>(XmlBeans.java:126)
... 25 more
Caused by: java.lang.ClassNotFoundException: org.apache.xmlbeans.impl.schema.SchemaTypeLoaderImpl
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:307)
at org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195)
at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255)
at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:274)
at org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:214)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at org.apache.xmlbeans.XmlBeans.buildMethod(XmlBeans.java:174)
... 28 more
  • ericacm's avatar
    ericacm
    Occasional Contributor
    Did you ever figure this out? I am getting the same thing.
  • Yes, i have remove all old my local repository & try with an other one of my friend.
    Maybe some jars were corrupted. Its is almost sure because eviware repository have NO CHECKSUM to prevent against this (i wonder why). So you can download just 2ko of a 1500 ko needed dependency of their repository without noticing it until the test failed miserably with an undebuggable dark error message