我知道项目名takes知道,但当我运行它时,它在url中使用springmvcjava,并且工作得很好,
完全url是
localhost:8080/SpringMVCjava 但是,同时,,我的项目名是,tasiory,..what,我该怎么办呢?
发布于 2022-04-21 17:51:35
转到您的服务器(tomcat服务器项目)项目,该项目指的是tomcat。然后在server.xml文件中
编辑下面提到的path..in路径属性
<Context docBase="tasknew" path="/tasknew" reloadable="true" source="org.eclipse.jst.jee.server:tasknew"/></Host>我必须更改path属性中的path .我已经将路径名更正为/tasknew,并且它工作得很好。
https://stackoverflow.com/questions/71958819
复制相似问题