lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From x...@drexel.edu
Subject ant problem
Date Sun, 03 Apr 2005 22:40:01 GMT
Hello -

I installed apache-ant-1.6.3beta1 and set 

export ANT_HOME=..../ant
export PATH=${PATH}:${ANT_HOME}/bin

But when I modified lucene src code and used ant, I got the following error:

Buildfile: build.xml

BUILD FAILED
java.lang.NoClassDefFoundError: org/apache/xerces/validators/schema/SchemaMessageProvider
        at org.apache.xerces.framework.XMLParser.<clinit>(XMLParser.java:179)
        at org.apache.xerces.jaxp.SAXParserImpl.<init>(SAXParserImpl.java:97)
        at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(SAXParserFactoryImpl.java:87)
        at org.apache.tools.ant.util.JAXPUtils.newSAXParser(JAXPUtils.java:205)
        at org.apache.tools.ant.util.JAXPUtils.getNamespaceXMLReader(JAXPUtils.java:163)
        at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:187)
        at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:134)
        at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:91)
        at org.apache.tools.ant.Main.runBuild(Main.java:653)
        at org.apache.tools.ant.Main.startAnt(Main.java:187)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)

Total time: 0 seconds
java.lang.NoClassDefFoundError: org/apache/xerces/validators/schema/SchemaMessageProvider
        at org.apache.xerces.framework.XMLParser.<clinit>(XMLParser.java:179)
        at org.apache.xerces.jaxp.SAXParserImpl.<init>(SAXParserImpl.java:97)
        at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(SAXParserFactoryImpl.java:87)
        at org.apache.tools.ant.util.JAXPUtils.newSAXParser(JAXPUtils.java:205)
        at org.apache.tools.ant.util.JAXPUtils.getNamespaceXMLReader(JAXPUtils.java:163)
        at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:187)
        at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:134)
        at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:91)
        at org.apache.tools.ant.Main.runBuild(Main.java:653)
        at org.apache.tools.ant.Main.startAnt(Main.java:187)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
org/apache/xerces/validators/schema/SchemaMessageProvider
 
Someone please shed some lights here....

Thanks,



---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message