当我将我的应用程序从java 7迁移到STS中的java 8并且构建失败时。
请参阅以下例外
Failed to execute goal org.codehaus.mojo:aspectj-maven-plugin:1.2:compile (default) on project optimusDataAdmin: Compiler errors :
[ERROR] The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class files
[ERROR] The method replace(char, char) in the type String is not applicable for the arguments (String, String)
[ERROR] Bound mismatch: The generic method defaultIfBlank(T, T) of type StringUtils is not applicable for the arguments (String, String). The inferred type String is not a valid substitute for the bounded parameter <T extends CharSequence>
[ERROR] The type java.lang.reflect.AnnotatedElement cannot be resolved. It is indirectly referenced from required .class files
[ERROR] The import java.util.Arrays cannot be resolved
[ERROR] Arrays cannot be resolved
[ERROR] Arrays cannot be resolved
[ERROR] Arrays cannot be resolved