Back to Blog
Tomcat 404 not found5/23/2023 Īlso, this doesn't exist in Jersey two either In Jersey two, the package naming pattern changed to If you want to make life easy, use Maven, and simply add just one dependency to whole project, and it will pull in all the rest. Next what you should do, if you have any, is get rid of everything (jar) whose packages begin with com.sun. In any case, the correct ServletContainer should be .ServletContainer Or maybe you're getting an exception an not telling us. Which means you are probably mixing versions. I'm surprised you're not getting a class not found exception. Import class TestRestService String callService()Ĭom.servlet.ServletContainer I have looked at all the answers available on this topic, either I am facing a completely different problem or I am missing something big time.
0 Comments
Read More
Leave a Reply. |