Open sandhyasri-git opened 8 years ago
i got the same error , have you manage to solve the problem?
Please note annotations and web.xml cannot live together. I also faced the same issue. In my case I found eclipse was generating annotations by its own. In your case do check and make sure annotations and web.xml are not used together. Further do check url-patterns also to confirm whether it is in web.xml or annotations.
My tomcat server was not able to start.It was showing the exception as "SEVERE: Failed to destroy end point associated with ProtocolHandler ["http-nio-8080"] java.lang.NullPointerException" .
I got this exception after i added the application-context.xml file. I modified web.xml file so that it gets the reference to application-context.xml file.
Solution: The name of the servlet in servlet group and servlet mapping group must be same. Then tomcat server starts.