aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes  Could not find the main class using maven-shade-plugin Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark " Could not find the main class using maven-shade-plugin" Watch " Could not find the main class using maven-shade-plugin" New topic
Author

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

farsi abdourrahman
Greenhorn

Joined: Nov 10, 2012
Posts: 1
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Could not find the main class using maven-shade-plugin