Failed to class-load type while reading annotation metadata. This is a non-fatal

 

Failed to class-load type while reading annotation metadata. This is a non-fatal error, but certain annotation metadata may be unavailable.

[DEBUG]  org.springframework.core.type.classreading.AnnotationAttributesReadingVisitor {RecursiveAnnotationAttributesVisitor.java:51} - 

Failed to class-load type while reading annotation metadata. This is a non-fatal error, but certain annotation metadata may be unavailable.

java.lang.ClassNotFoundException: javax.annotation.Nonnull

at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1305)

at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1139)

at org.springframework.core.type.classreading.RecursiveAnnotationAttributesVisitor.visitEnd(RecursiveAnnotationAttributesVisitor.java:47)

at org.springframework.asm.ClassReader.readAnnotationValues(ClassReader.java:1802)

at org.springframework.asm.ClassReader.readMethod(ClassReader.java:976)

at org.springframework.asm.ClassReader.accept(ClassReader.java:695)

at org.springframework.asm.ClassReader.accept(ClassReader.java:508)

后来发现 webapps下有两个相同的war包,只是名称不一样,清理干净重启即可

猜你喜欢

转载自crabdave.iteye.com/blog/2305641