Intellij IDEA 出现“Usage of API documented as @since 1.6+”的解决办法
来源:互联网 发布:卖时时彩源码违法吗 编辑:程序博客网 时间:2024/06/07 15:20
IntelliJ IDEA使用教程 (总目录篇)
具体报错内容如下:
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
报错图:
解决方案:
看代码意思是,那个方法是自Java1.6开始的,但是,看我图上面的language level 才是5,级别不够,所以,就报错了。在这个编辑器里面有好 几个地方都有关于这个jdk的版本的设置。
这么改完之后,乍一看好像没问题了,但是,一会问题就又出来啦,还得如下,在maven build 里面添加如下的插件,设置一下Java的版本就好啦。
<build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.6.0</version> <configuration> <source>1.8</source> <target>1.8</target> </configuration> </plugin> </plugins> </build>
8 0
- intellij IDEA 出现“Usage of API documented as @since 1.6+”的解决办法
- Intellij IDEA 出现“Usage of API documented as @since 1.6+”的解决办法
- Intellij IDEA 出现“Usage of API documented as @since 1.6+”的解决办法
- Intellij IDEA 出现“Usage of API documented as @since 1.6+”的解决办法
- intellij idea出现“Usage of API documented as @since 1.6+”的解决办法
- Intellij IDEA 出现“Usage of API documented as @since 1.6+”的解决办法
- Intellij IDEA 出现“Usage of API documented as @since 1.7+”的解决办法
- intellij idea 出现“Usage of API documented as @since 1.8+”的解决办法
- idea "Usage of API documented as @since 1.6+"的解决办法
- intellij 出现“Usage of API documented as @since 1.6+”的解决办法
- intellij 出现“Usage of API documented as @since 1.6+”的解决办法
- intellij 出现“Usage of API documented as @since 1.8+”的解决办法
- Intellij 出现“Usage of API documented as @since 1.4+”的解决办法
- IDEA Usage of API documented as @since 1.6+ 语法错误解决方案
- Intellij Idea中maven项目代码报错:Usage of API documented as @since 1.8+
- “Usage of API documented as @since 1.6+……”的解决办法
- Intellij Error:usage of api documented as @since 1.6+Error:java: Compilation failed: internal java c
- IDEA 解决 Usage of API documented as @since 1.X+ 方法
- BZOJ 2326: [HNOI2011]数学作业
- 如何保护个人信息安全?
- 谈谈对Spring IOC的理解
- React Native系列之flexbox布局(伸缩属性)
- hive常见操作语句--创建表语句
- Intellij IDEA 出现“Usage of API documented as @since 1.6+”的解决办法
- STM32编译错误汇总(一)
- 【bzoj 3196】Tyvj 1730 二逼平衡树
- Extjs遍历Store里面的record
- Android消息传递机制
- Netty从零开始(二)
- JAVA-(6)——质数
- CentOS 7 中 Docker 的安装
- Oracle 使用一条insert语句完成多表插入