如何使用Eclipse IDE添加一个弹簧项目到tomcat配置,以便tomcat将加载web.xml的索引页面
我有一个项目导入Eclipse中的现有Maven项目,但是我在配置Tomcat时遇到了麻烦,因此它从Web.xml加载了索引页面 Yugerten用户试图帮助他们解决他们的解决方案,但是我显然做错了,但它没有运行,因此我包括配置和错误日志的屏幕截图。
I have a project imported as an existing Maven project in Eclipse, however I'm having trouble configuring Tomcat so that it loads the index page from web.xml
User Yugerten tried to help with their solution, however I'm obviously doing something wrong and its not running, therefore I include the screenshots of configuration and error log.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
将插件配置添加到您的 pom.xml
eclipse

或通过终端/CMD:
mvn tomcat7:运行/ MVN TOMCAT7:部署 / MVN TOMCAT7:UNPLOY / MVN TOMCAT7:UNEPLOY
Add a plugin configuration to your pom.xml
eclipse

Or via Terminal / cmd:
mvn tomcat7:run / mvn tomcat7:deploy / mvn tomcat7:undeploy / mvn tomcat7:undeploy