一、intellij 出現(xiàn)“Usage of API documented as @since 1.6+”的解決辦法
Usage of API documented as @since 1.6+ This inspection finds all usages of methods that have @since tag in their documentation. This may be useful when development is performed under newer SDK version as the target platform for production
解決辦法:
File ->Project Structure->Project Settings -> Modules -> 你的Module名字 -> Sources -> Language Level->選個(gè)默認(rèn)的就行。
二、IDEA Error:java: Compilation failed: internal java compiler error
解決辦法:
File-->Setting...-->Build,Execution,Deployment-->Compiler-->Java Compiler 設(shè)置相應(yīng)Module的target bytecode version的合適版本(跟你jkd版本一致),這里我改成1.8版本的。