Wrong error about deleting .jmix/conf

All my projects are on an ssd.

I work at different places with different computer.

On one computer I have a testProject working great.

On two other computers I can create a running jar, but I am not able to debug this same project.

I get a stupid error.
conf

There is no .jmix/conf folder and if there is one, it is stating the same error.

How can I find out, what is wrong ?

Jmix version: 2.4.2
Jmix Studio Plugin Version: 2.5.0-243
IntelliJ version: IntelliJ IDEA 2024.3.5 (Ultimate Edition)

Traits.zip (1.0 MB)

Regards
Felix

Hi All

In this minute I saw in the film of @gorelov from yesterday " Making Web UI in Java Fancy 2.0: Fast Prototype Consumer Facing App on Jmix" that in Minute 15 he had the same problem, which he could not solve, but used the different option to debug …

Regards
Felix

Hi

It seems that your project run configuration became invalid for some reason.
Please try to delete “Traits Jmix Application” configuration and run application using Start Application action of the root node context menu in Jmix tree. This will recreate run configuration.
Screenshot 2025-04-01 at 16.21.49

Hi

With “Start Application” I could start the Gradle Project ( like in the video ).

There is no JMix Configuration created.
image

Do I need a JMix Configuration ? What are the benefits ?

Best regards

Felix

Hi

“There is no JMix Configuration created” - yes I’ve just found that it will be created only if no other configuration found.
So you have two options:

  1. Delete Spring Boot run configuration and start application again, as described above.
  2. Create Jmix run configuration manually. You will need to specify some settings for it. Check your Spring Boot configuration as a reference.
    Screenshot 2025-04-04 at 17.05.13

“Do I need a JMix Configuration ? What are the benefits ?”

Yes, it is highly recommended to use Jmix configuration as it contains necessary before launch tasks (see screenshot above).
Please see documentation for details.

1 Like