Spring configuration file error

Problem Description :

Element 'xxxxxxx' cannot have character [children],because the type's content type is element-only

Solution :

beans node configuration file below is only an element node, you can not have the character or text exists.

For example, excess punctuation point, there may be spaces.

Therefore, the 9-12-line comments in such a way on the list;

<-! 
//1.property to represent member variables (attributes) assigned
// 2 calls the set method.
//3.name represents an attribute name
//4.ref represent the bean id name
->

Guess you like

Origin www.cnblogs.com/shijinglu2018/p/11351366.html