Check that xml-resolver/jars/xml-resolver-1.1.jar is downloaded into your maven repository and that it is not corrupt (at least try jar -tf on it to make sure the class is present). If it is corrupted (such as 0 bytes size) deleting it and building again should work.

thanks
david jencks
On Nov 21, 2004, at 9:28 PM, Micky wrote:

I was wondering if anyone could give me hand with this error I was
getting while carrying out a brand new build. I am a newbee and any
pointers would be helpful.

Thanks.

_Micky

=========================================================
java:compile:
[depend] Deleted 0 out of date files in 0 seconds
[echo] Compiling to c:\geronimo\plugins\maven-xmlbeans-plugin/target/classes
[javac] Compiling 2 source files to
C:\geronimo\plugins\maven-xmlbeans-plugin\target\classes
C:\geronimo\plugins\maven-xmlbeans- plugin\src\java\org\apache\geronimo\tools\xmlbeans\SchemaCompilerWrappe r.java:31:
package org.apache.xml.resolver does not exist
import org.apache.xml.resolver.CatalogManager;
^
C:\geronimo\plugins\maven-xmlbeans- plugin\src\java\org\apache\geronimo\tools\xmlbeans\SchemaCompilerWrappe r.java:32:
package org.apache.xml.resolver.tools does not exist
import org.apache.xml.resolver.tools.CatalogResolver;
^
C:\geronimo\plugins\maven-xmlbeans- plugin\src\java\org\apache\geronimo\tools\xmlbeans\SchemaCompilerWrappe r.java:60:
cannot resolve symbol
symbol : class CatalogManager
location: class org.apache.geronimo.tools.xmlbeans.SchemaCompilerWrapper
CatalogManager catalogManager = CatalogManager.getStaticManager();
^
C:\geronimo\plugins\maven-xmlbeans- plugin\src\java\org\apache\geronimo\tools\xmlbeans\SchemaCompilerWrappe r.java:60:
cannot resolve symbol
symbol : variable CatalogManager
location: class org.apache.geronimo.tools.xmlbeans.SchemaCompilerWrapper
CatalogManager catalogManager = CatalogManager.getStaticManager();
^
C:\geronimo\plugins\maven-xmlbeans- plugin\src\java\org\apache\geronimo\tools\xmlbeans\SchemaCompilerWrappe r.java:62:
cannot resolve symbol
symbol : class CatalogResolver
location: class org.apache.geronimo.tools.xmlbeans.SchemaCompilerWrapper
entityResolver = new PassThroughResolver(new CatalogResolver());
^
5 errors


BUILD FAILED
File...... c:\geronimo\maven.xml
Element... maven:reactor
Line...... 368
Column.... 27
Unable to obtain goal [default] -- C:\Documents and
Settings\mkerai\.maven\cache\maven-java-plugin-1.4\plugin.jelly:53:48:
<ant:javac> Compile failed; see the compiler error output for details.
Total time: 2 minutes 32 seconds
Finished at: Mon Nov 22 15:49:12 EST 2004




Reply via email to