Why do I receive an error starting MATLAB regarding java.lang.AbstractMethodError: org.apache.xerces.dom.Elementlmpl.getTextContent()Ljava/lang/String?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MathWorks Support Team
le 27 Juin 2009
Modifié(e) : MathWorks Support Team
le 18 Avr 2023
When starting MATLAB on Mac OS X, I get the following error:
ERROR: Error Starting Desktop:
java.lang.AbstractMethodError: org.apache.xerces.dom.DeferredElementImpl.getTextContent()Ljava/lang/String;
com.mathworks.services.binding.MatlabKeyBindings.getEntries(MatlabKeyBindings.java:547)
com.mathworks.services.binding.MatlabKeyBindings.readFilesFromXML(MatlabKeyBindings.java:518)
com.mathworks.services.binding.MatlabKeyBindings.<clinit>(MatlabKeyBindings.java:484)
...
...
What does this error mean, and how can I bypass the error so I can start MATLAB?
Réponse acceptée
MathWorks Support Team
le 20 Fév 2023
Modifié(e) : MathWorks Support Team
le 18 Avr 2023
This error occurs when you have the "xerces" Java extension installed in your Mac OS X machine. In order for MATLAB to work properly, there should be no Java extensions installed under Mac OS X. To resolve this issue you can remove the extension at fault. To do so, check the following locations for extensions:
/Library/Java/Extensions
~/Library/Java/Extensions
NOTE: Both locations can be opened from Finder by clicking the Go menu and selecting "Go to Folder".
If either location has a xerces file, remove the file and restart your OS X machine. On a default installation of Mac OS X, these folders should be empty and both folders should be empty in order for MATLAB to function optimally.
Once removed, try MATLAB again. MATLAB should now start properly. If you are still unable to start MATLAB after these steps, contact the Installation and Licensing team here:
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Startup and Shutdown dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!