Try changing the following:
<servlet-mapping> <servlet-name>Home</servlet-name> <url-pattern>/Home</url-pattern> </servlet-mapping>
<servlet-mapping> <servlet-name>Home</servlet-name> <url-pattern>Home</url-pattern> <!-- NOTICE: no forward slash there --> </servlet-mapping>
Example attached: A.war
After deploying A.war to EAP 6.3.0 try accessing the URL: http://localhost:8080/A/ You should be able to see the welcome page.
A.war 3.4 KB
I tried your advise but it didn't work. Still the same error.
Also, I deployed your war file and got the same error.
Here are the screenshots:
When I open localhost:8080/A/
Which version of JBoss are you using?
I managed to solve this.
I just restarted the deployment via the management console and it started working correctly with the initial mappings which I had mentioned. Thanks a lot for your help.