ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 16599] - class loading problem
Date Fri, 31 Jan 2003 15:07:14 GMT
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=16599>.
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=16599

class loading problem

conor@cortexebusiness.com.au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX



------- Additional Comments From conor@cortexebusiness.com.au  2003-01-31 15:07 -------
I presume you have xerces in the classpath when you execute your java class.
What I think you are seeing is the interaction between Xerces in your loader and
the JAXP classes in the system loader. Specifically, the factory comes from the
system (parent) loader

ResourceStream for META-INF/services/javax.xml.parsers.DocumentBuilderFactory
loaded from parent loader
Finding class org.apache.xerces.jaxp.DocumentBuilderFactoryImpl

but that loader knows nothing of the Xerces classes. Well, I'm guessing a bit
here since I don't know what your code is doing nor the classpath setup of your
<java> task. Is your code specifically asking for Xerces when it wants a parser?

At this stage, it is probably academic. You are probably better off just forking
the <java> execution so everything winds up in the system loader.

I'm going to close as WONTFIX, but please feel free to add more comments or
reopen if required.

---------------------------------------------------------------------
To unsubscribe, e-mail: ant-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: ant-dev-help@jakarta.apache.org


Mime
View raw message