Open kururu-abdo opened 5 years ago
i received this error
WARNING: Error during Create Application phase java.lang.ClassNotFoundException: com.example.demo.app.MyAppKt at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at fxlauncher.AbstractLauncher.createApplicationEnvironment(AbstractLauncher.java:170) at fxlauncher.Launcher.lambda$start$0(Launcher.java:152) at java.lang.Thread.run(Thread.java:745)
this is project configuration:
<artifactId>myApp</artifactId>
<version>kururu2.0</version>
<name>kururufx</name>
<---mainClass--->
You are supposed to target a JavaFX Application subclass, not a main method. I suspect you have other issues also, so maybe post your complete project as a zip file. Also, file issues on the fxlauncher project instead of in your own repo, so others can contribute as well.
im target MyAppKt main class of project it is tornadofx project what is main class of tornadofx application
@edvin
how to deploy App offline on OS file using FxLauncher
? @edvin