version 1.0-beta-3
Hi,
I have the following snippet and when I run install I get the following
output.

[FATAL ERROR]
org.codehaus.plexus.component.configurator.BasicComponentConfigurator#configureComponent(...)
caused a lin
kage error (java.lang.NoClassDefFoundError) and may be out-of-date. Check
the realms:
[FATAL ERROR] Plugin realm =
app0.child-container[org.codehaus.mojo:xml-maven-plugin]
urls[0] = file:/C:/Documents and
Settings/ekanathk/.m2/repository/org/codehaus/mojo/xml-maven-plugin/1.0-beta-3/xml-mave
n-plugin-1.0-beta-3.jar
urls[1] = file:/C:/Documents and
Settings/ekanathk/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.
jar
[FATAL ERROR] Container realm = plexus.core
urls[0] =
file:/C:/Betfair/Installs/Java/apache-maven-2.0.10/lib/maven-2.0.10-uber.jar
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error configuring: org.codehaus.mojo:xml-maven-plugin. Reason:
java.lang.NoClassDefFoundError: [Lorg/codehaus/ple
xus/components/io/filemappers/FileMapper;

I tried clearing my repository but apparently this still throws error. Can
someone tell me how this happens? I am guessing since this is a snapshot
build something is broken? It works on my colleagues machines who have been
building it for a while. Just not in my box :)

XML snippet
<groupId>org.codehaus.mojo</groupId>
<artifactId>xml-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>transform</goal>
</goals>
</execution>
</executions>
<configuration>
<transformationSets>
<transformationSet>
<dir>src/main/resources</dir>
<stylesheet>src/main/resources/xsl/wsdl.xsl</stylesheet>
<includes>
<include>*.xml</include>
</includes>
<outputDir>${project.build.directory}/generated-resources/wsdl</outputDir>
<fileMappers>
<fileMapper
implementation="org.codehaus.plexus.components.io.filemappers.FileExtensionMapper">
<targetExtension>.wsdl</targetExtension>
</fileMapper>
</fileMappers>
</transformationSet>
</transformationSets>
</configuration>

-- 
Regards,
Kannan Ekanath

Reply via email to