<@UE0E6UWAJ> You have to specify a module, and tha...
# tornadofx
e
@alex You have to specify a module, and that module must have access to all the code needed for the project to run. Not sure I understand why you don't select the module that contains your app class? This would have dependencies on the other modules, wouldn't it?
a
It has dependencies, but on maven (<dependencies> section in pom.xml) level.
e
Then I still don't understand why it's problematic to select the module that contains your app class.
a
Because when I do, classpath (I think) contains only this module, others are missing
and I get ClassNotFoundException
e
That seems very strange, seeing as all the dependencies would be mentioned in your pom for the module you select. If you could create a skeleton project with a couple of modules, I will check it out asap 🙂
a
and if I select root module, IDEA can't find main class
j
You definitely have to select the module that contains your main class/function
If it compiles it will run.
a
j
I have this setup - and there is a bug in the TornadoFX plugin. If I run a View using the TornadoFX-Icon the wrong module classpath is selected (don't know why). So maybe that is the issue? Maybe create a main function?
😮 1
a
Ok
this rather stange, but it's working now
can it be related to availability of plugin in local repository?
m2 repository has nothing to do with it, so I don't have any idea why it happened before. I closed the issue.
a
I had a similar issue with that as well!
a
Do you have any idea why it happened?