I made a java application and bundled all classes in a jar file. When I run the project from eclipse, my application is running successfully. But when I try to run my
I know this was asked long ago, but it might help others with the same problem, like me. I was already using getClass().getResource("..."), but the resource didn't get exported with .jar file.
I solved the problem by refreshing the 'Resources' folder, and its every subfolder.