Error 404: No target servlet configured for uri
--------------------------------
Hi Experts,
I just got done with a new Web module built with Spring Framework. Till now I was testing all the pages on my local machine using Tomcat. Today after I moved the application to Websphere 6.1
I am getting the following error:
Error 404: No target servlet configured for uri
is there anything I need to do in web.xml or somewhere? I deployed an EAR file on my WAS , which has another war file. I have cross checked my deployment descriptor so many times already :(
Can someone please guide towards the correct path?
Below is the stack trace of my console output:
/18/09 9:01:06:592 CDT] 00000016 EJBContainerI I WSVR0037I: Starting EJB jar: mejb.jar
[6/18/09 9:01:06:624 CDT] 00000015 SystemOut O com.ibm.ws.exception.RuntimeError: java.lang.NullPointerException
[6/18/09 9:01:06:624 CDT] 00000015 SystemOut O at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:856)
[6/18/09 9:01:06:624 CDT] 00000015 SystemOut O at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:948)
[6/18/09 9:01:06:624 CDT] 00000015 SystemOut O at com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationMgrImpl.java:2114)
[6/18/09 9:01:06:624 CDT] 00000015 SystemOut O at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:340)
[6/18/09 9:01:06:624 CDT] 00000015 SystemOut O at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1510)
[6/18/09 9:01:06:624 CDT] 00000015 SystemOut O Caused by: java.lang.NullPointerException
at com.ibm.ws.wswebcontainer.webapp.WebAppConfigurationHelper.constructServletMappings(WebAppConfigurationHelper.java:405)
at com.ibm.ws.wswebcontainer.webapp.WebAppConfigurationHelper.createConfiguration(WebAppConfigurationHelper.java:147)
at com.ibm.ws.webcontainer.metadata.WebMetaDataFactory.createMetaData(WebMetaDataFactory.java:169)
at com.ibm.ws.runtime.component.MetaDataMgrImpl.createMetaDataFromFactories(MetaDataMgrImpl.java:135)
--------------------------------
Posted By: aman0711 at Jun 18 2009 2:18PM