Error while installing Toolbox (java.lang.NoClassDefFoundError)
6 次查看(过去 30 天)
显示 更早的评论
I am trying to install a trial of the Image Acquisition Toolbox, but keep getting an error on ~90%. Apparently it has something to do with org.apache.lucene.analysis.core.SimpleAnalyzer (see below for message from log file).
Even though it fails, it shows on 'ver', but 'imaqtool' freezes and gives an error (see below).
Any help would be much appreciated. Thanks
%% Excerpt from log file
(May 20, 2020 16:46:29) Task MATLAB R2019b Startup Accelerator for E:\Program Files\MATLAB\bin\win64\MATLABStartupAccelerator.exe exists
(May 20, 2020 16:46:29) Stopping task MATLAB R2019b Startup Accelerator
(May 20, 2020 16:46:29) Download thread pool size = 4
(May 20, 2020 16:46:29) Installing Product: Image Acquisition Toolbox
(May 20, 2020 16:46:34) java.lang.NoClassDefFoundError: org/apache/lucene/analysis/core/SimpleAnalyzer
at com.mathworks.install.command.doc.BuildSharedDocController.getSubCommands(BuildSharedDocController.java:51)
at com.mathworks.install.command.doc.BuildSharedDocController.execute(BuildSharedDocController.java:37)
at com.mathworks.install.command.doc.BuildSharedDocCommand.execute(BuildSharedDocCommand.java:50)
at com.mathworks.install_impl.InstallModule$1.installProducts(Unknown Source)
at com.mathworks.install_impl.InstallerImpl.install(Unknown Source)
at com.mathworks.installwizard.model.InstallTask.execute(InstallTask.java:46)
at com.mathworks.installwizard.model.AbstractBackgroundTask.execute(AbstractBackgroundTask.java:38)
at com.mathworks.install_task.AbstractInstallTask.call(AbstractInstallTask.java:50)
at com.mathworks.install_task.AbstractInstallTask.call(AbstractInstallTask.java:18)
at com.mathworks.wizard.worker.WorkerImpl.doInBackground(WorkerImpl.java:24)
at javax.swing.SwingWorker$1.call(SwingWorker.java:295)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at javax.swing.SwingWorker.run(SwingWorker.java:334)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.ClassNotFoundException: org.apache.lucene.analysis.core.SimpleAnalyzer
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
%% Error shown after executing 'imaqtool'
Error using iatbrowser.ROIGUIElementsController (line 47)
Invalid default value for property 'HImrect' in class 'iatbrowser.ROIRect':
imrect requires a Image_Toolbox license.
Error in iatbrowser.Browser/initialize
Error in iatbrowser.Browser
Error in imaqtool (line 24)
browser = iatbrowser.Browser;
%% Output from 'ver'
-----------------------------------------------------------------------------------------------------
MATLAB Version: 9.7.0.1190202 (R2019b)
MATLAB License Number: 40839756
Operating System: Microsoft Windows 7 Professional Version 6.1 (Build 7601: Service Pack 1)
Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------------
MATLAB Version 9.7 (R2019b)
Deep Learning Toolbox Version 13.0 (R2019b)
Image Acquisition Toolbox Version 6.1 (R2019b)
Image Processing Toolbox Version 11.0 (R2019b)
MATLAB Compiler Version 7.1 (R2019b)
Parallel Computing Toolbox Version 7.1 (R2019b)
Signal Processing Toolbox Version 8.3 (R2019b)
Statistics and Machine Learning Toolbox Version 11.6 (R2019b)
3 个评论
Walter Roberson
2020-5-20
https://www.java.com/en/download/help/path.xml but you would be looking for JAVA_HOME and CLASSPATH
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!