asaunin / social-network-spring

Social Network application (spring boot data mvc security restful cors xsrf angular swagger facebook / google signin)
https://social-network-angularjs.herokuapp.com/
114 stars 51 forks source link

mvn clean spring-boot:start fail #7

Open marcioshimoda opened 5 years ago

marcioshimoda commented 5 years ago

Hi! I'm trying to run the maven project with mvn clean spring-boot:start but it fails...

[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:1.4.3.RELEASE:start (default-cli) on project social-network-spring: Unable to find a suitable main class, please add a 'mainClass' property -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

Even if I set the start class...