hibernate和mybatis出现配置文件xml的文件报错Multiple annotations found at this line(转)

hibernate中的xml配置文件Multiple annotations found at this line,出现这个红叉报错,直接是把

<?xml version="1.0" encoding="UTF-8"?>这一行先复制,然后在删掉,---在进行保存,保存好之后在把刚才复制的东西

拷贝进去。然后在保存,即可!

mybatis出现问题,同理

一般都是hibernate.xml或者是mybatis.xml
---------------------
作者:CooperLees
来源:CSDN
原文:https://blog.csdn.net/Mrsanger/article/details/80879938
版权声明:本文为博主原创文章,转载请附上博文链接!

猜你喜欢

转载自www.cnblogs.com/longlyseul/p/11210626.html