eclipse启动maven项目,不能部署到tomcat?

一:问题描述

  • tomcat部署路径设置:

    eclipse启动maven项目,不能部署到tomcat?_第1张图片

  • tomcat启动日志:

警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:ASW' did not find a matching property.

警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context/Loader} Setting property 'useSystemClassLoaderAsParent' to 'false' did not find a matching property.

警告: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [140] milliseconds.
  • tomcat路径没有项目(ASW)

    eclipse启动maven项目,不能部署到tomcat?_第2张图片

  • 浏览器访问 404

    eclipse启动maven项目,不能部署到tomcat?_第3张图片

二:解决问题

  • 修改source与deploy path的对应关系

eclipse启动maven项目,不能部署到tomcat?_第4张图片

三:参考文献

Eclipse下的maven web项目部署到tomcat服务器没有启动的解决方案

你可能感兴趣的:(web基础)