SpringMVC profile occurred: the element 'beans' must be free character [children], because this type of content type is "only the elements."

Cause of the problem, xml configuration file annotation support only <! - -> this format, other formats are top issues reported

I guess you might remember a java comment // mix, if you use the wrong comment you will find the <bean> The underlined in red

Guess you like

Origin www.cnblogs.com/think-world/p/12239978.html