when I right click on the class that has the main() method in Eclipse, and go into properties -> resource, the path to the class is this:
/UserRegistrationServices/src/main/java/main/Application.java
In my POM.xml file I have this:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<executions>
<execution>
<id>my-execution</id>
<phase>package</phase>
<goals>
<goal>java</goal>
</goals>
</execution>
</executions>
<configuration>
<mainClass>UserRegistrationServices.src.main.java.main.Application.java</mainClass>
</configuration>
</plugin>
But for some reason maven cannot find the class.
Help would be appreciated, thanks.