Error using javabuilder ja for specific jar files

I am trying to replace a jar file in Eclipse with another and keep encountering an error. Both jar files were generated from javabuilder; the new one contains updated MATLAB code. The java code compiles fine in Eclipse with both jar files, and runs with the old jar file (so I do not think that this is an issue with MCR, class paths, etc). However, when I replace it with the new jar file, I get the following:
Exception in thread "main" java.lang.NoClassDefFoundError: com/mathworks/toolbox/javabuilder/internal/NativeComponentData

Antworten (0)

Diese Frage ist geschlossen.

Gefragt:

am 15 Feb. 2013

Geschlossen:

am 20 Aug. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by