Skip to main content
Alaa
Associate II
June 27, 2021
Solved

Can't open .ioc file in STM32CubeIDE

  • June 27, 2021
  • 2 replies
  • 5402 views

Hi,

I created a project for STM32F769I EVAL in TouchGFX, opened the project in STM32CubeIDE, but the IDE can't open the .ioc file:

Plug-in com.st.stm32cube.common.mx was unable to load class com.st.stm32cube.common.mx.editor.CubeMxEditor.

org.eclipse.core.runtime.CoreException: Plug-in com.st.stm32cube.common.mx was unable to load class com.st.stm32cube.common.mx.editor.CubeMxEditor.

...

Caused by: java.lang.ClassNotFoundException: com.st.stm32cube.common.mx.editor.CubeMxEditor cannot be found by com.st.stm32cube.common.mx_6.1.0.202011121557

...

Note that the file opens successfully in CubeMX. So I tried opening it in CubeMX and re-generating the code for STM32CubeIDE, but I'm still having the same problem.

STM32CubeIDE Version 1.5.0.

.ioc file attached.

Any help is appreciated.

This topic has been closed for replies.
Best answer by Alaa

Hi @Khouloud ZEMMELI​ ,

Thanks for your reply. Updating the CubeMX plugin via Help > Install New Software solved the problem.

For anyone else having this problem, remove the checkbox "Hide items that are already installed", choose "All available sites", and search for stm32cubemx. Let it try to install and fail, then it will ask you whether you want to upgrade, choose yes and you're good to go.

2 replies

Khouloud ZEMMELI
ST Employee
June 29, 2021

Hello @Community member​ 

Thanks for your post,

I'll check it then I'll get back to you.

Khouloud

Khouloud ZEMMELI
ST Employee
June 29, 2021

Hi again @Community member​ ,

Could you please switch to the latest CubeMX/IDE versions and check again, I cannot reproduce the issue.

Thanks, Khouloud

Alaa
AlaaAuthorBest answer
Associate II
June 29, 2021

Hi @Khouloud ZEMMELI​ ,

Thanks for your reply. Updating the CubeMX plugin via Help > Install New Software solved the problem.

For anyone else having this problem, remove the checkbox "Hide items that are already installed", choose "All available sites", and search for stm32cubemx. Let it try to install and fail, then it will ask you whether you want to upgrade, choose yes and you're good to go.