samedi 18 avril 2015

Unable to build spring project as jar/war: no main manifest attribute found

I'm attempting to create a JAR or WAR file from SpringToolSuite using the provided MVC Spring Project template. When I try to export (via STS) or clean package (maven) my code as well as a plain, unmodified version of the project template, the jars always fail to run because there is no main manifest attribute found. The templates provided contain no classes with a main method, and they do run within STS on a Pivotal tc server instance I have set up. The problem arises when I try to export the projects.


Aucun commentaire:

Enregistrer un commentaire