eclipse能夠訪問的工程,打成war部署到tomcat下,出現404的問題

首先,出現404確定是路徑的問題;web   須要改下tomcat的service.xml配置文件;spring <Context docBase="D:/JavaTool/tomcat7/apache-tomcat-7.0.52/webapps/mybatis-spring-0.0.1-SNAPSHOT.war" path="/mybatis-spring" reloadable="true">
相關文章
相關標籤/搜索