It\'s been too long since I\'ve last done Java, and I can\'t remember why the following happens:
Given this file, created by a standard Maven project, as can be seen her
You need to add the com/mycompany/app folder to your Java CLASSPATH . If I remember well, you can also do it from the cmdline using the parameter "-cp".