Open HiranManjula opened 6 years ago
The issue is that you don't have a class called com.greencoding.MyApp
in your target
folder. Double check the class name and inspect the target folder :) If not, can you post a link to your project so I can take a look at the code?
okay, can you specify me where is the target folder is?
Directly in your project folder after you have built the project.
yeah inside the target folder there are 5 folders. This is my testing project link and I'm using NetBeans IDE 8.2 on Windows 10 64bit platform to generate target folder.
FYI : seems like there is no different between your demo project main class path & my project main class path.
hi edvin, could you please help me to get rid this out?
The reason is simple - the installer is now able to download the files from the url you provided (http://demo.example is not where you're hosting your application artifacts). Since the installer cannot download the application library files, it simply can't run the app. You posted the bottom most error message, but you'll see an error message pertaining to failed HTTP downloads higher up in the log. Before you try to run your app, you need to actually deploy the app files and make sure they are available at the url you specified.
java.lang.ClassNotFoundException: com.greencoding.MyApp 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:161) at fxlauncher.Launcher.lambda$start$0(Launcher.java:149) at java.lang.Thread.run(Thread.java:748)
here is my pom file. it is work fine when your demo project executed. but when I started new project to implement that above exception is throwing when running the application.
<?xml version="1.0" encoding="UTF-8"?>