IntelliJ Spring deployment MVC tutorial

I tried the tutorial and when I tried to deploy webapp ( IntelliJ 13.1.4 Ultimate

) I got weird error as shown in the screenshot below. What is the resolution for this error?

org.jdom.input.JDOMParseException: Error on line 742: The content of elements must consist of well-formed character data or markup.

Terminate error

parseException

+3


source to share


3 answers


Can you take a look at your xml files? The error indicates that your xml is not correct and therefore can be parsed correctly. Maybe you can use something like



http://www.w3schools.com/xml/xml_validator.asp

0


source


If you have no obvious errors in your files (marked with a red underline in IntelliJ), you can do "Invalidate Caches and restart"



  • Go to settings ( alt+ ctrl+ s)
  • Select "Invalidate Caches / Restart"
  • Select "Invalidate and restart"
0


source


You may have forgotten:

<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

      

at the top of your .jsp ...?

The error can also occur if you have invalid HTML, for example:

<div ng-view></div>

      

will lead to this exception in some cases.

0


source







All Articles