2019-06-02 11:04 AM
Hi!
When I tried to generate STM32CubeIde project, an error occurred:
searchjar length = /home/juraj/Programy/STM32CubeMX/third_parties_plugins/
array = com.st.stm32cube.ide.common.services.mx.jar-0.0.9.jar
searchjar path = /home/juraj/Programy/STM32CubeMX/third_parties_plugins/com.st.stm32cube.ide.common.services.mx.jar-0.0.9.jar
searchjar class = com.st.stm32cube.ide.common.services.mx.jar.core.mx.plugin.PlugIn
2019-06-02 19:45:58,926 [INFO] ToolchainGenerator:371 - stack trace : java.lang.ClassNotFoundException: com.st.stm32cube.ide.common.services.mx.jar.core.mx.plugin.PlugIn
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:817)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at com.st.microxplorer.plugins.projectmanager.model.ToolchainGenerator.CallMethod(ToolchainGenerator.java:192)
at com.st.microxplorer.plugins.projectmanager.model.ToolchainGenerator.update(ToolchainGenerator.java:365)
at com.st.microxplorer.plugins.projectmanager.engine.ProjectBuilder.createToolChainFolders(ProjectBuilder.java:2150)
at com.st.microxplorer.plugins.projectmanager.engine.ProjectBuilder.createProject(ProjectBuilder.java:612)
at com.st.microxplorer.plugins.projectmanager.engine.GenerateProjectThread.run(GenerateProjectThread.java:44)
I use Linux Mint 18.3, java: openjdk 1.8.0_212 (from ubuntu repo)
Other projects (SW4STM32, MDK, TrueStudio...) are generated well. On my second PC (laptop) is running also well.
2019-06-02 12:21 PM
2019-06-06 02:56 AM
Observed the same, on Linux Mint, x86_64
2019-06-07 12:32 AM
The same error for me. Trying to run the CubeMX on Linux (Fedora 30), with various versions of Java, 64 and 32 bit, no luck. Absolutely the same error on MacOS High Sierra.
The "missing" java class is located in com.st.stm32cube.ide.common.services.mx.jar-0.0.9.jar, so I tried also to run it via:
java -cp "./third_parties_plugins/com.st.stm32cube.ide.common.services.mx.jar-0.0.9.jar" -jar STM32CubeMX
... no fruit.
I will try on Windows today.
Looks like CubeIDE project generator is broken.