kururu-abdo / tornado

0 stars 0 forks source link

offline deployment #2

Open kururu-abdo opened 5 years ago

kururu-abdo commented 5 years ago

how to deploy App offline on OS file using FxLauncher

? @edvin

kururu-abdo commented 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:

com.example.demo
<artifactId>myApp</artifactId>
<version>kururu2.0</version>
<name>kururufx</name>

<---mainClass--->

com.example.demo.app.MyAppKt <--base uri-----> C://Users/kururu/Desktop
edvin commented 5 years ago

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.

kururu-abdo commented 5 years ago

im target MyAppKt main class of project it is tornadofx project what is main class of tornadofx application

kururu-abdo commented 5 years ago

@edvin