no main manifest attribute, in xxx.war springboot打包部署启动报错

326 阅读1分钟

解决方法:pom加上如下一段代码

	<executions>
					<execution>
						<goals>
							<goal>repackage</goal>
						</goals>
					</execution>
			</executions>