1
0
这不是我所经历的。如果您查看
所以之前的所有阶段
运行
$ mvn jetty:run-war [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building q2488581 - Maven Webapp [INFO] task-segment: [jetty:run-war] [INFO] ------------------------------------------------------------------------ [INFO] Preparing jetty:run-war [INFO] [properties:read-project-properties {execution: default}] [INFO] [resources:resources {execution: default-resources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 0 resource [INFO] [compiler:compile {execution: default-compile}] [INFO] No sources to compile [INFO] [resources:testResources {execution: default-testResources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/pascal/Projects/stackoverflow/q2488581/src/test/resources [INFO] [compiler:testCompile {execution: default-testCompile}] [INFO] No sources to compile [INFO] [surefire:test {execution: default-test}] [INFO] No tests to run. [INFO] [war:war {execution: default-war}] [INFO] Packaging webapp [INFO] Assembling webapp[q2488581] in [/home/pascal/Projects/stackoverflow/q2488581/target/q2488581] [INFO] Processing war project [INFO] Copying webapp resources[/home/pascal/Projects/stackoverflow/q2488581/src/main/webapp] [INFO] Webapp assembled in[76 msecs] [INFO] Building war: /home/pascal/Projects/stackoverflow/q2488581/target/q2488581.war [INFO] [jetty:run-war {execution: default-cli}] ...
我们可以看到,
换句话说,我无法再现你的问题(或者你应该更具体些)。 |
2
1
以下对我有用。希望这有帮助。 文件:pom.xml
|