Frage

I got an error for missing class "org.apache.xerces.impl.XMLDocumentFragmentScannerImpl". It is a new project setup, whitout employ maven or other tool to manage dependencies. I think to forgot to include some jar, how to find what jar own XMLDocumentFragmentScannerImpl?

War es hilfreich?

Lösung

Because same class implementation could be packaged differently, you could find it on more jar. You have also to ensure that each class was included only once time, to prevent "no class found error".

A good service to locate parent jar for a given class:

http://www.findjar.com/

it helped me lot of times.

Andere Tipps

If you are using eclipse:

Ctrl + Shift + T

Helping me to find quickly which class belongs to which jar. However, these jars have to be in workspace.

Otherwise use @zeppaman seggestion: http://www.findjar.com/

it was included in xercesImpl-2.9.1.jar, you can try http://www.findmaven.net , it can help you find the jar and the dependency tree of the jar

another good place to find it would be http://www.findmaven.net

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top