tag:blogger.com,1999:blog-1797013629532571793.post1574123753593594308..comments2023-04-29T20:12:52.329+08:00Comments on HOW TO: Mule REST on Tomcat (via Jersey)PR's Way to Prevaricatehttp://www.blogger.com/profile/15526830649317154191noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-1797013629532571793.post-38998135805841648822015-10-17T22:28:06.544+08:002015-10-17T22:28:06.544+08:00hi prasad. I do hope that you resolved your proble...hi prasad. I do hope that you resolved your problem already. In any case, you may have misconfigured something, you can elaborate further so we can understand why yours is failing.PR's Way to Prevaricatehttps://www.blogger.com/profile/15526830649317154191noreply@blogger.comtag:blogger.com,1999:blog-1797013629532571793.post-69063011531854844472015-09-10T18:19:41.964+08:002015-09-10T18:19:41.964+08:00Why @Context HttpServletRequest returns null alway...Why @Context HttpServletRequest returns null always?prasad https://www.blogger.com/profile/16948401349425319843noreply@blogger.comtag:blogger.com,1999:blog-1797013629532571793.post-11903535261405556022015-02-07T11:30:34.156+08:002015-02-07T11:30:34.156+08:00late reply, but perhaps, you're missing the je...late reply, but perhaps, you're missing the jersey namespace?<br /><br />xmlns:jersey="http://www.mulesoft.org/schema/mule/jersey" <br />http://www.mulesoft.org/schema/mule/jersey <br />http://www.mulesoft.org/schema/mule/jersey/current/mule-jersey.xsd<br /><br />or probably you missed the mule jersey jar.PR's Way to Prevaricatehttps://www.blogger.com/profile/15526830649317154191noreply@blogger.comtag:blogger.com,1999:blog-1797013629532571793.post-79979593596799558462014-10-31T17:59:20.812+08:002014-10-31T17:59:20.812+08:00Hello, Nice article.
I am however facing an issue ...Hello, Nice article.<br />I am however facing an issue when I follow your exact steps.<br /><br />I get a XML namespace related error when deploying the mule servlet war file to Tomcat. The error message looks like below:<br /><br />Caused by: org.mule.api.lifecycle.InitialisationException: Line 23 in XML document from test-servlet.xml is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 23; columnNumber: 37; cvc-complex-type.2.4.a: Invalid content was found starting with element 'jersey:resources'. One of '{"http://www.mulesoft.org/schema/mule/core":abstract-message-processor, "http://www.mulesoft.org/schema/mule/core":abstract-outbound-endpoint, "http://www.mulesoft.org/schema/mule/core":abstract-mixed-content-message-processor, "http://www.mulesoft.org/schema/mule/core":response}' is expected.<br /><br />I think I have added the XML namespaces properly in my test-servlet.xml file:<br /><br /><br /><br /><br /><br /> <br /> <br /> <br /><br /> <br /> <br /> <br /><br /> <br /><br /><br /><br />Do you have any idea what could be wrong?MidnightBloggerhttps://www.blogger.com/profile/14647335054736669434noreply@blogger.com