现在问题已经解决了,是因为我使用了spring suite tool插件的原因,对那种标签不识别,解决办法是去掉插件或者在problems视图里把那个错误右键delete,亦或是在eclipse把校验关掉
首先: 你用 <mybatis:scan/> 这个功能你需要在上面的beans里面有配置才能用 原谅我见识的少,一般用的是这种(你再和beans里面的对应一下): <context:component-scan base-package="com."/>
现在问题已经解决了,是因为我使用了spring suite tool插件的原因,对那种标签不识别,解决办法是去掉插件或者在problems视图里把那个错误右键delete,亦或是在eclipse把校验关掉