• Post Reply Bookmark Topic Watch Topic
  • New Topic

Servlet not defined  RSS feed

 
Kevin Sheng
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have Spring/CXF project in RAD. I have the following problem message:

The servlet mapping "XXX" refers to a servlet that is not defined.



However, The servlet was defined in the web.xml file.

Anyone has the same problem? I searched the internet and tried a few things but to no avail.

 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 36446
454
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kevin,
Have you tried copy/pasting "XXX" from the servlet-name tag to the servlet-mapping tag? It sounds like a simple typo. Or for that matter, try it with XXX literally.
 
Ron McLeod
Saloon Keeper
Posts: 1432
207
Android Angular Framework Eclipse IDE Java Linux MySQL Database Redhat TypeScript
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you post all the contents of the web.xml file? The problem might be related to something other than what you have included.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!