Why do I receive an error starting MATLAB regarding java.lang.​AbstractMe​thodError: org.apache​.xerces.do​m.Elementl​mpl.getTex​tContent()​Ljava/lang​/String?

1 visualización (últimos 30 días)
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?

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 20 de Feb. de 2023
Editada: MathWorks Support Team el 18 de Abr. de 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:

Más respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Etiquetas

Aún no se han introducido etiquetas.

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by