今天在写demo时,pom.xml文件莫名奇妙的出了这个错误:
Element 'project' cannot have character [children], because the type's content type is element-only.
仔细看了代码,原来是尖角符号多打了几个,这种问题一般都是文本语法错误,仔细排查就好。
最后option+command+L搞定。
以此纪念我浪费的一个小时。。。。。。
今天在写demo时,pom.xml文件莫名奇妙的出了这个错误:
Element 'project' cannot have character [children], because the type's content type is element-only.
仔细看了代码,原来是尖角符号多打了几个,这种问题一般都是文本语法错误,仔细排查就好。
最后option+command+L搞定。
以此纪念我浪费的一个小时。。。。。。