'it takes wrong project name while running maven /java project?
I have projectname tasknew but when i run it ,it takes springmvcjava in url and works perfectlly,
complete url is
localhost:8080/SpringMVCjava
but at a same time my project name is tasknew..what should i do?
Solution 1:[1]
go to your server(tomcat server project) project,which refers to tomcat.. then in server.xml file
edit path..in path attribute as i mentioned below
<Context docBase="tasknew" path="/tasknew" reloadable="true" source="org.eclipse.jst.jee.server:tasknew"/></Host>
I have to change path in path attribute..i have corrected the path name as /tasknew and it works fine.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 |
