我是Tomcat,Maven和Spring Web MVC的新手(准确地说是框架v3).我试图构建示例项目,mvc-basic以便我可以在测试服务器(不是本地)上部署生成的WAR文件并分析效果.
当我在包含的目录中运行Maven时pom.xml,我看到这些模糊的错误消息.
pdedecker@linux-qhij:~/Dropbox/Unief/GWT/mvc/mvc-basic/trunk> ~/Apps/apache-maven-3.0.3/bin/mvn pom.xml
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.springframework.samples:mvc-basic:war:1.0.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 124, column 12
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-war-plugin is missing. @ line 133, column 12
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no …Run Code Online (Sandbox Code Playgroud)