Not able to run java main method using maven
This question already has an answer here:
If you came across the error:Not able to run java main method using maven do this it worked for me: Reason for the error: The reason for this error is the jar file or dependency to run a maven project is not installed correctly.
Solution for the error: Go to the project folder (eg: D:officeOIA-service-app) in the address bar of computer type command "cmd" and press enter. In the command prompt type command "mvn clean install"[image][1] make sure you have the internet connection.
链接地址: http://www.djcxy.com/p/29644.html