2017-11-09 10:46 AM
Hi
I'm using newest possible CubeMX version. Trying to generate project for some environment, in this case SW4STM32 (however tool does not matter) and got this window. Code is generated, only project cannot be done. Java installed is 9.0.1.
Checking Java output got something like this:
2017-11-09 19:40:01,978 [INFO] ProjectBuilder:1369 - Project Generator version: 2.0
2017-11-09 19:40:01,988 [INFO] ConfigFileManager:343 - The Die is : DIE410 2017-11-09 19:40:02,013 [INFO] ToolchainGenerator:103 - [Project Generator] Problem in the project generation java.lang.ClassCastException: parsers.SysWbParser cannot be cast to parsers.FromScratchParser at convertor.Convertor.convert(Convertor.java:546) at convertor.Convertor.generate(Convertor.java:349) at com.st.microxplorer.plugins.projectmanager.model.ToolchainGenerator.generate(ToolchainGenerator.java:99) at com.st.microxplorer.plugins.projectmanager.engine.ProjectBuilder.createToolChainFolders(ProjectBuilder.java:1408) at com.st.microxplorer.plugins.projectmanager.engine.ProjectBuilder.createProject(ProjectBuilder.java:508) at com.st.microxplorer.plugins.projectmanager.engine.GenerateProjectThread.run(GenerateProjectThread.java:41) 2017-11-09 19:40:02,021 [INFO] ProjectBuilder:1424 - Time for Generating toolchain IDE Files: 44mS. 2017-11-09 19:40:02,022 [ERROR] ProjectBuilder:1430 - Error in Project Generation 2017-11-09 19:40:02,022 [ERROR] ProjectBuilder:524 - Error in Project GenerationAny help is welcome.
BR, Robert