Matlab gives "ContributedToolsLoader" error

1 visualizzazione (ultimi 30 giorni)
Baran Ozvaris
Baran Ozvaris il 21 Ott 2020
Commentato: Stanislas Dumas il 17 Dic 2020
Whenever I try to open Matlab, it throws error as below. I just downloaded the app, and try to open a m file.
Also, I added screnshot as well.
PC is Macbook Pro Catalina version 10.15
Exception in thread "ContributedToolsLoader": java.lang.NoClassDefFoundError: Could not initialize class java.nio.file.FileSystems$DefaultFileSystemHolder
at java.nio.file.FileSystems.getDefault(
at com.mathworks.resources_folder.ResourcesFolderUtils.getResourcesFolderName(
at com.mathworks.mde.desk.ContributedTools.constructToolSetFileName(
at com.mathworks.mde.desk.ContributedTools.<init>(
at com.mathworks.mde.desk.ContributedToolsLoader$
Exception in thread "Startup Class Loader": java.lang.NoClassDefFoundError: Could not initialize class com.mathworks.instutil.InstutilResourceKeys
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(
at com.mathworks.mlservices.MLHelpServices.getDocRoot(
at com.mathworks.mlwidgets.util.productinfo.ProductInfoUtils.getDocrootDirectory(
at com.mathworks.mlwidgets.util.productinfo.ProductInfoUtils.getAbsolutePath(
at com.mathworks.mlwidgets.util.productinfo.ProductInfoUtils.parseFile(
at com.mathworks.mlwidgets.util.productinfo.ProductInfoUtils.parseFiles(
at com.mathworks.mlwidgets.util.productinfo.ProductInfoUtils.pathChanged(
at com.mathworks.mlwidgets.util.productinfo.ProductInfoUtils.<init>(
at com.mathworks.mlwidgets.util.productinfo.ProductInfoUtils.getAllProductsInfo(
at com.mathworks.mlwidgets.util.productinfo.ProductInfoUtils.<clinit>(
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(
at com.mathworks.mde.desk.StartupClassLoader$LoadInfo.<init>(
at com.mathworks.mde.desk.StartupClassLoader.createLoadInfos(
at com.mathworks.mde.desk.StartupClassLoader.access$500(
at com.mathworks.mde.desk.StartupClassLoader$

Risposte (2)

Prabhanjan Mentla
Prabhanjan Mentla il 28 Ott 2020
MATLAB is compatible with Catalina version 10.15 from release R2019b onwards. This link may help you to understand system requirements and this to resolve specific error.
Hope this helps.

Jonathan Weaver
Jonathan Weaver il 30 Nov 2020
Modificato: Jonathan Weaver il 30 Nov 2020
I have the same error. It just started - I've been running 2020b for some time with no issue! Tried remove/reinstall but the issue is still there.
  2 Commenti
Thomas Montenegro-Johnson
Thomas Montenegro-Johnson il 10 Dic 2020
Exactly the same with me - very frustrating when you only get about an hour a week to do actual research!
Stanislas Dumas
Stanislas Dumas il 17 Dic 2020
I got the exact same prblem starting today, still works fine on an old computer, was working fine today until it broke all of a sudden (I didn't update or change anything)

Accedi per commentare.


Scopri di più su Startup and Shutdown in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by