ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geng, Bo (Bob)" <bg...@lucent.com>
Subject /root/jakarta-ant-1.3/bin/ant: line 107: 14185 Segmentation fault
Date Thu, 14 Mar 2002 14:13:35 GMT
I installed ant1.3 on my Redhat Linux 7.0 with jdk1.3.1_02. The default jar
files for xml parser under ANT_HOME/lib are jaxp.jar and parser.jar. I
removed these two files and used xerces.jar and xalan.jar instead. Then the
error came up:

Buildfile: build.xml
/root/jakarta-ant-1.3/bin/ant: line 107: 14185 Segmentation fault
$JAVACMD -classpath "$LOCALCLASSPATH" -Dant.home="${ANT_HOME}" $ANT_OPTS
org.apache.tools.ant.Main "$@"

Anybody has idea about this problem? Is there any expert who can help me to
solve this problem? Thanks in advance!


I changed the files back to jaxp.jar and parser.jar. Then it's OK for me to
do some simple tasks like compile etc. But when I was trying to issue the
task junitreport, another error came up:

Buildfile: build.xml

BUILD FAILED

/root/tools/helloworld/build.xml:100: java.lang.NoClassDefFoundError:
org/apache/xalan/xslt/XSLTInputSource
--- Nested Exception ---
java.lang.NoClassDefFoundError: org/apache/xalan/xslt/XSLTInputSource
	at org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregator.
createReport(XMLResultAggregator.java:114)
	at java.lang.reflect.Method.invoke(Native Method)
	at
org.apache.tools.ant.IntrospectionHelper$1.create(IntrospectionHelper.java:1
67)
	at
org.apache.tools.ant.IntrospectionHelper.createElement(IntrospectionHelper.j
ava:275)
	at
org.apache.tools.ant.ProjectHelper$NestedElementHandler.init(ProjectHelper.j
ava:535)
	at
org.apache.tools.ant.ProjectHelper$TaskHandler.startElement(ProjectHelper.ja
va:499)
	at com.sun.xml.parser.Parser.maybeElement(Parser.java:1391)
	at com.sun.xml.parser.Parser.content(Parser.java:1499)
	at com.sun.xml.parser.Parser.maybeElement(Parser.java:1400)
	at com.sun.xml.parser.Parser.content(Parser.java:1499)
	at com.sun.xml.parser.Parser.maybeElement(Parser.java:1400)
	at com.sun.xml.parser.Parser.content(Parser.java:1499)
	at com.sun.xml.parser.Parser.maybeElement(Parser.java:1400)
	at com.sun.xml.parser.Parser.parseInternal(Parser.java:492)
	at com.sun.xml.parser.Parser.parse(Parser.java:284)
	at javax.xml.parsers.SAXParser.parse(SAXParser.java:155)
	at org.apache.tools.ant.ProjectHelper.parse(ProjectHelper.java:117)
	at
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:85)
	at org.apache.tools.ant.Main.runBuild(Main.java:403)
	at org.apache.tools.ant.Main.main(Main.java:149)

This happens because there is no xslt tool available, I think. But what's
the thing I should  do to fix this problem? 




--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message