您的位置:首页 > 其它

Element type "import" must be followed by either attribute specifications, ">" or "/>".

2015-01-29 10:17 399 查看
在复制粘贴了网上一段代码<import resource="classpath:META-INF/cxf/cxf.xml"/>后,出现了如下错误:

Element type "import" must be followed by either attribute specifications, ">" or "/>".

错误原因:代码中的空格出现了问题,将代码中的空格删除,重加后保存,问题就解决了。如果是代码段之间,还应检查是不是代码段之间的回车空格问题。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐