无法访问jarfile target / dependency / webapp-runner.jar

时间:2018-08-26 00:30:45

标签: java maven heroku deployment

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

0 个答案:

没有答案