HTTP Status 404 - Servlet MessageReciever is not available

6 views
Skip to first unread message

celestine fernando

unread,
Jan 7, 2012, 1:41:10 PM1/7/12
to mChoice Developer
Hi
I get this error when i am trying to access my 127.0.0.1:8080/app
How can u fix it

Azeem Mumtaz

unread,
Jan 7, 2012, 2:36:49 PM1/7/12
to mchoice-...@googlegroups.com

I think in your web.xml you have defined a servlet named MessageReciever, but doesn't match any servlet class in your source. Would you post your web.xml in this thread?

celestine fernando

unread,
Jan 7, 2012, 2:44:47 PM1/7/12
to mChoice Developer

<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<display-name>testing</display-name>
<servlet>
<servlet-name>MessageReciever</servlet-name>
<servlet-class>pd.MessageReciever</servlet-class>
</servlet>

<servlet-mapping>
<servlet-name>MessageReciever</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>

</web-app>

Amila Silva

unread,
Jan 7, 2012, 11:25:35 PM1/7/12
to mChoice Developer
Hi Celestine,

Can you attach the error to this thread. and make sure your web.xml is
correct.

Thanks
Amila Silva
Reply all
Reply to author
Forward
0 new messages