我把這個(gè)項(xiàng)目在idea里clean and install之后war文件放到了tomcat安裝目錄的webapps目錄下,啟動(dòng)tomcat,隨便看一個(gè)網(wǎng)頁(yè)就是The requested resource is not available。只有tomcat的主頁(yè)是能看的。我需要項(xiàng)目在tomcat 7.0.56里正常運(yùn)行。jetty配置如下: <plugin> <groupId>org.mortbay.jetty</groupId> <artifactId>maven-jetty-plugin</artifactId> <version>6.1.25</version> <configuration> <connectors> <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector"> <port>8888</port> <maxIdleTime>60000</maxIdleTime> </connector> </connectors> <contextPath>/ABC</contextPath> <scanIntervalSeconds>0</scanIntervalSeconds> </configuration> </plugin>
maven ssm項(xiàng)目,war放到tomcat就resource is not available?
千萬(wàn)里不及你
2018-10-08 18:31:59