• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Could not find the main class using maven-shade-plugin

 
farsi abdourrahman
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi everybody i'm using Maven with maven-shade-plugin to generate executable jar from spring project , but when i build the project i can't execute the jar generated with(java -jar myProject.jar) because i get the error : could not find the main class, and my manifest file doesn't contain the main class, this is my pom.xml file :

pom.xml file my build tag :

my main class is in
please any help?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic