# Launching on Simulator (ERROR)

**URL:** <https://forum.microej.com/t/launching-on-simulator-error/1823>\
**Category:** Technical Support\
**Tags:** ui\
**Created:** [July 2, 2026, 8:34am UTC](https://forum.microej.com/t/launching-on-simulator-error/1823 "2026-07-02T08:34:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![hussam](https://forum.microej.com/user_avatar/forum.microej.com/hussam/32/392_2.png) [@hussam](https://forum.microej.com/u/hussam)\
**Post date:** [July 2, 2026, 8:34am UTC](https://forum.microej.com/t/launching-on-simulator-error/1823/1 "2026-07-02T08:34:13Z")

</div>

Hello, MicroEJ team.

I created a new project [Front Panel Mock](https://docs.microej.com/en/latest/VEEPortingGuide/frontpanel.html#section-frontpanel) and when testing the [com.microej.demo.widget](https://github.com/MicroEJ/Example-Java-Widget) application on the Demo widget (SIM), I encountered this error:

=============== [Initialization Stage] ===============  
=============== [Converting fonts] ===============  
=============== [Converting images] ===============  
=============== [Launching on Simulator] ===============  
1 : ERROR :  
[M17] - Error: [class java.lang.NoClassDefFoundError: ej/microui/display/LLUIPainter$MicroUIGraphicsContext].  
(line 17 of stm32f746g\_freertos-fp.fp)  
\<ej.fp.widget.Display x=“243” y=“143” width=“480” height=“272”/\>  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Thank you very much.

---

<div class="post-metadata">

**Author:** ![alexis.pineau](https://forum.microej.com/user_avatar/forum.microej.com/alexis.pineau/32/194_2.png) [@alexis.pineau](https://forum.microej.com/u/alexis.pineau)\
**Post date:** [July 2, 2026, 3:02pm UTC](https://forum.microej.com/t/launching-on-simulator-error/1823/2 "2026-07-02T15:02:33Z")

</div>

Hello @hussam,

I’m assuming your project is a MICROEJ SDK5 project, please tell me if that’s not the case. The `ej/microui/display/LLUIPainter$MicroUIGraphicsContext` class that is not found comes from the UI Pack frontpanel library. It should be added as a dependency in your frontpanel’s `module.ivy` file. Here is an example of how it’s done in the STM32F7508-DK VEE Port:

> <https://github.com/MicroEJ/VEEPort-STMicroelectronics-STM32F7508-DK/blob/master/stm32f7508_freertos-fp/module.ivy#L17>

Regards,  
Alexis

---

<div class="post-metadata">

**Author:** ![hussam](https://forum.microej.com/user_avatar/forum.microej.com/hussam/32/392_2.png) [@hussam](https://forum.microej.com/u/hussam)\
**Post date:** [July 3, 2026, 8:36am UTC](https://forum.microej.com/t/launching-on-simulator-error/1823/3 "2026-07-03T08:36:28Z")

</div>

Yes, I am using the MICROEJ SDK5 software development kit. I added `ej/microui/display/LLUIPainter$MicroUIGraphicsContext` as a dependency in the module.ivy file, but the error persists.

---

<div class="post-metadata">

**Author:** ![hussam](https://forum.microej.com/user_avatar/forum.microej.com/hussam/32/392_2.png) [@hussam](https://forum.microej.com/u/hussam)\
**Post date:** [July 3, 2026, 9:29am UTC](https://forum.microej.com/t/launching-on-simulator-error/1823/4 "2026-07-03T09:29:32Z")

</div>

Okay, I’ve solved the problem. I found that the version of `<dependency org="ej.library.ui" name="widget" rev="4.2.0"` is different from `<dependency org="ej.tool.frontpanel" name="widget" rev="2.0.0"/>`, and I updated it to `<dependency org="ej.tool.frontpanel" name="widget" rev="4.0.0"/>`.

Thank you for your time.💗

---

<div class="post-metadata">

**Author:** ![alexis.pineau](https://forum.microej.com/user_avatar/forum.microej.com/alexis.pineau/32/194_2.png) [@alexis.pineau](https://forum.microej.com/u/alexis.pineau)\
**Post date:** [July 3, 2026, 2:10pm UTC](https://forum.microej.com/t/launching-on-simulator-error/1823/5 "2026-07-03T14:10:50Z")

</div>

Hello @hussam,

Yes, `ej.library.ui:widget` is the library for the MICROEJ runtime, while `ej.tool.frontpanel.widget` is the library for the frontpanel.

What your frontpanel was missing was the UI Pack frontpanel artifact as I said in my previous message, this artifact is retrieved transitively by the frontpanel widget library, that’s why it’s working now.

Have a good day,  
Alexis
