org.xml.sax.SAXParseException: Content is not allowed in prolog

前端 未结 30 2353
别那么骄傲
别那么骄傲 2020-11-22 02:54

I have a Java based web service client connected to Java web service (implemented on the Axis1 framework).

I am getting following exception in my log file:

30条回答
  •  忘掉有多难
    2020-11-22 03:41

    What i have tried [Did not work]

    In my case the web.xml in my application had extra space. Even after i deleted ; it did not work!.

    I was playing with logging.properties and web.xml in my tomcat, but even after i reverted the error persists!.

    Solution

    To be specific i tried do adding

    org.apache.catalina.filters.ExpiresFilter.level = FINE

    Tomcat expire filter is not working correctly

提交回复
热议问题