Annotations are not supported in -source 1.3 – Maven
来源:互联网 发布:淘宝导航条怎么换颜色 编辑:程序博客网 时间:2024/06/06 04:31
Problem
Maven default is used JDK1.3 for the project compilation, building or packaging (mvn compile, install). Since JDK1.3 is not support annotation, if your project has annotation, you need to configure your Maven to use the latest JDK version.
Solution
The solution is very simple, just include the maven compiler plugin and specify the JDK version.
Now, Maven is using JDK 1.6 for all the compilation now.
- Annotations are not supported in -source 1.3 – Maven
- Maven错误generics are not supported in -source 1.3
- 关于clover2运行时出现的"annotations are not supported in -source 1.3"错误的解决
- jenkins报错strings in switch are not supported in -source 1.5
- Annotations are not supported at this language level
- Maven giving error: try-with-resources is not supported in -source 1.5
- 记一次Maven 打包multi-catch statement is not supported in -source 1.5 [ERROR] (use -source 7 or higher to
- in-source builds are not allowed
- Why multiple inheritances are not supported in Java
- Java - Why multiple inheritances are not supported in Java
- Single quotes, among other characters that are not supported in PeopleTools Run Control Ids
- Warning: css type selectors are not supported in components 'sparks.component.Label'
- ERROR in Error encountered resolving symbol values statically. Function calls are not supported. Con
- mvn compile error : try-with-resources is not supported in -source 1.5
- Deprecated Thread methods are not supported.
- PNG images are not supported问题解决
- c# Nested transactions are not supported
- git binary diffs are not supported 问题
- 我的2011-移动开发的梦想
- COM, COM+ and .NET 的区别
- 其实搞it的,不在乎是否是科班的,只要你勤思考,就行
- STM32 ADC的规则通道和注入通道有什么区别
- 程序员最新研究发现【西安楼市 2011 低迷收场】
- Annotations are not supported in -source 1.3 – Maven
- Android内存分析工具
- QTreeView 使用 QStandardItemModel
- 用ObjectDataSource作数据源,用GridView分页时,获取总记录数的方法
- 地图分块加载的实现
- HASP加密war报错
- js中的undefined判断
- linux内核分析之调度——实时调度算法
- View的setOnClickListener的添加方法