> I get this strange error, down in the stack trace: > > org.dom4j.DocumentFactory cannot be cast to > org.dom4j.DocumentFactory > > What I'm wondering is: have any of you ever seen this kind > of error > before, which is seemingly nonsensical?
Disclaimer: This may be no help at all, but - yes I have seen it before. IIRC it is a class loader problem. If you do a search I am pretty sure Mark discussed the issue in a thread about xml parsing (maybe?).