I search some page in stackoverflow to solve this problem, did follow some true answer but not working. I am new in spring , sorry. here is my dispatcher-servlet
I had the same problem and I resolved it by validating my xml
using the online xml validation tool
and found out that there was an extra whitespace which was the cause for the error.
for me I mistyped a character somewhere in the xml file . just remove it and the error gone.
Follow the below steps outlined and you should be able to resolve it :
I got the same problem. Realized it is due to some unknown spaces that my IDE couldn't recognize. Opened it in Sublime text and corrected the spaces. Works perfectly now.
I got similar error. The way how I fixed it was replacing:
<property name="param">true</property>
on
<property name="param" value="true"/>
I had the same problem. I looked at it for hours. I could not find any problem. Then I decided, sometimes you see something different if you use a different editor. I closed Netbeans and opened the file in emacs. I immediately saw, there were some kind of non-breaking space characters, or tabs, or some type of whitespace that wasn't whitespace. I don't know which character it was but it showed up in red in emacs, but was whitespace in Netban