warning no match for this type name: entity.User [Xlint:invalidAbsoluteTypeName]

这个bug是由于在spring的配置文件中的错误

warning no match for this type name: entity.User [Xlint:invalidAbsoluteTypeName]

这是由于上述中的warning no match for this type name: entity.User [Xlint:invalidAbsoluteTypeName]

这一句中的warning no match for this type name: entity.User [Xlint:invalidAbsoluteTypeName]这里的类名的引用错了,我的正确类名引用是

warning no match for this type name: entity.User [Xlint:invalidAbsoluteTypeName]

所以只要将包引用的包名修改为User类的完全限定名就可以了

 

相关文章: