I’m using MacOsX 10.6.4.
Some time ago I run into problems with Eclipse (it wouldn’t start anymore – I opened a question here and followed all the suggestion but with no luck).
Then I also run into very similar problems with other java applications, of which the last one is the android sdk. All these problems seem to be related with xerces/xml, as the following exception shows (just running tools/android and clicking on the “available updates” button):
Exception in thread “Loading Source” java.lang.AbstractMethodError: org.apache.xerces.dom.DeferredElementNSImpl.getTextContent()Ljava/lang/String;
Is there any way to repair the java installation (reinstalling the OS is out of the question)?
thanks a lot
Nicola Montecchio
Some things to try:
Look for adventitious
xercesJARs that may have been inadvertently left in one of the directories of theSystempropertyjava.ext.dirs.Use spotlight to search for extraneous
xercesJARs outside of Eclipse.Remove
/Applications/eclipseand~/.eclipse; reinstall Eclipse.Reinstall Java from the the installer DVD:
/Volumes/Mac OS X Install DVD/Optional Installs/Xcode Tools/Packages/JavaSDK.pkg.Check Software update.