I have somewhat completed a project in Netbeans and now want to package it in to a Jar file and test it on my web server, although I am unclear of how to do this.
You would think they would run through this at University instead of just teaching you how to code (what use is that?)
I'm able to package my classes into a Jar file, although when I run the Jar file through the console, I get the error "Exception in thread 'main' java.lang.noClassDefFoundError". I assume this is because the main class is not defined.
If not, please correct me.
If so, how do I go about creating a "main class"? (or something similar to a index.html, for example)
Thanks in advance