Resolver [ERROR] Source option 1.5 is no longer supported. Use 1.6 or later.
Hola.
Estoy obteniendo el siguiente error al ejecutar el goal docker:build con Maven en mi aplicación de TIBCO BusinessWorks Container Edition.
[ERROR] Source option 1.5 is no longer supported. Use 1.6 or later.[ERROR] Target option 1.5 is no longer supported. Use 1.6 or later.
jangel-MBP13:tmpjmsplugin jhernand$ mvn -version
Apache Maven 3.8.5 (3599d3414f046de2324203b78ddcf9b5e4388aa0)
Maven home: /usr/local/Cellar/maven/3.8.5/libexec
Java version: 11.0.14, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk-11.0.14.jdk/Contents/Home
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.15.7", arch: "x86_64", family: "mac"
jangel-MBP13:tmpjmsplugin jhernand$
Solución
jangel-MBP13:tmpjmsplugin jhernand$ /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java -version
java version "1.8.0_331"
Java(TM) SE Runtime Environment (build 1.8.0_331-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.331-b09, mixed mode)
jangel-MBP13:tmpjmsplugin jhernand$ javac -version
javac 11.0.14
jangel-MBP13:tmpjmsplugin jhernand$
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<target>1.8</target><source>1.8</source>
</configuration></plugins>
</plugin>
</build>
No hay comentarios.:
Publicar un comentario