Procfile
web: java $JAVA_OPTS -jar target/dependency/webapp-runner.jar --port $PORT target/*.war
从网络模块pom
<plugin>
<groupId>com.heroku.sdk</groupId>
<artifactId>heroku-maven-plugin</artifactId>
<version>2.0.5</version>
<configuration>
<appName>arcane-meadow-35676</appName>
<processTypes>
<web>java $JAVA_OPTS -jar target/dependency/jetty-runner.jar --port $PORT target/*.war</web>
</processTypes>
<stack>arcane-meadow-35676</stack>
</configuration>
</plugin>
如何解决?
heroku run ls target
仅在结果中提供1个文件
mvn-dependency-list.log