DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7211>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7211
java.lang.LinkageError: violates loader constraints when using JAXP/crimson in a java-task
conor@cortexebusiness.com.au changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
Summary|java.lang.LinkageError: |java.lang.LinkageError:
|violates loader constraints |violates loader constraints
|when using JAXP/crimson in a|when using JAXP/crimson in a
|java-task |java-task
------- Additional Comments From conor@cortexebusiness.com.au 2002-03-20 12:33 -------
The problem here is that your crimson classes (presumably in your classpath) are
conflicting with those provided by Ant. Two copies of the same class are being
loaded and since both are being referenced by the Ant core, you get a linkage
error.
This is one of the main uses for the fork="yes" attribute. With the current
architecture it is not possible to hide Ant's XML parser from your task. If you
were to remove crimson.jar and jaxp.jar from jlibs.codegen, it may work but
forking is the safer approach.
--
To unsubscribe, e-mail: <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>
|