This is probably due to my ignorance, but since I started using the Java Maven Project I cannot run classes by doing a right click on the source code and choosing Run As–>Java Application.
I get a
java.lang.NoClassDefFoundError: org/promedica/nr/icsutil/TestProdServerConn
The TestProdServerConn is the class I am trying to run. I can get it to run from a command line. The build path is a very long path that ends in …/target/classes/. The class file is there in org/promedica/nr/icsutil/TestProdServerConn.
I have tried going through this in Run Configurations by choosing the main class with the search button. The search does find the class, but I still cannot run it.
If I build classes in a regular Java Project, using …/bin/ directory structure, I have no problems running my classes with Eclipse. What am I missing?