I'm trying to use this maven plugin and it's generating the XmlBeans files properly, as far as I can tell, but when I try and run a minimal unit test it's blowing up with a missing class, TypeSystemHolder, error.
Caused by: java.lang.RuntimeException: Cannot load SchemaTypeSystem. Unable to load class with name schemaorg_apache_xmlbeans.system.s6521BFF385898FE194BCD5545E7D0165.TypeSystemHolder. Make sure the generated binary files are on the classpath. That class file exists and the path to that file is ${project.basedir}/target/generated-sources/axis2/wsdl2code/resources/schemaorg_apache_xmlbeans/system/s6521BFF385898FE194BCD5545E7D0165/TypeSystemHolder.class The long hex part changes when I do a "mvn clean test". It seems to me that I ought to be able to add that file or one of its parent directories to the classpath by fixing my maven pom.xml but nothing I've done has helped. Here's what I tried: <build> <resources> <resource> <directory>${project.build.outputDirectory}/generated-sources/axis2/wsdl2code/resources/schemaorg_apache_xmlbeans</directory> <filtering>false</filtering> </resource> </resources> Can anyone offer some help? Here's the relevant plugin section from my pom.xml: <build> <plugins> <plugin> <groupId>org.apache.axis2</groupId> <artifactId>axis2-wsdl2code-maven-plugin</artifactId> <version>${version.axis2}</version> <executions> <execution> <goals> <goal>wsdl2code</goal> </goals> <configuration> <wsdlFile>${project.basedir}/src/main/resources/ndfdXML.wsdl</wsdlFile> <databindingName>xmlbeans</databindingName> </configuration> </execution> </executions> </plugin> </plugins> Thanks -- 0x2B | ~0x2b -- Hamlet --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org For additional commands, e-mail: java-user-h...@axis.apache.org