Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [geomesa-users] MVN: invalid target release: 1.8

TEST 0: compile with sudo
--> GeoMesa Examples - Authorizations .................. FAILURE
--> Fatal error compiling: invalid target release: 1.8

TEST 1:  compile with out sudo  -->  ERR: Failed to clean project: Failed to delete


TEST 2: Change 1.8 to 1.7 in source and target
-->  GeoMesa Examples - Authorizations .................. SUCCESS     ¡¡¡
--> ............ SUCCESS, SUCCESS, SUCCESS, ......                       ¡¡¡
-->  GeoMesa Quickstart - Kafka ......................... FAILURE
-------->/KafkaLoadTester.java:[165,81] illegal start of _expression_
-------->/KafkaLoadTester.java:[168,40] ';' expected
-------->/KafkaLoadTester.java:[173,27] 'catch' without 'try

--> THEN: "GeoMesa Examples - Authorizations" compile with 1.7 but not 1.8


TEST 3: original pom.xml & cd geomesa-quickstart-hbase & mvn clean install
--> Build: SUCCES
--> THEN "quickstart-hbase" compile witout problems



for me this is OK , only want HBase module
But, if you want to I run some test on CDH 5.7 tell me ¡¡


Thanks, Alberto


2016-07-19 14:55 GMT+02:00 Emilio Lahr-Vivaz <elahrvivaz@xxxxxxxx>:
Hmm, it builds fine for me with Apache Maven 3.3.9, Java version: 1.8.0_74, vendor: Oracle Corporation. Maybe the sudo is causing the problem? You can try modifying the 'source' and 'target' elements in the main pom.xml to 1.7 and see if that works for you - I think that should be ok for the tutorials project.


On 07/19/2016 08:50 AM, Alberto Ramón wrote:
java -version 
---> java version "1.8.0_91"

mvn -version
--> Maven home: /usr/local/apache-maven-3.3.9
--> Java version: 1.8.0_91, vendor: Oracle Corporation
--> Java home: /usr/java/jdk1.8.0_91/jre



2016-07-19 14:46 GMT+02:00 Emilio Lahr-Vivaz <elahrvivaz@xxxxxxxx>:
Hi Alberto,

Sounds like you probably aren't actually using java 8. Can you try running 'mvn -version' and see what the output is?

Thanks,

Emilio

On 07/19/2016 07:23 AM, Alberto Ramón wrote:
Fatal error compiling: invalid target release: 1.8

_______________________________________________
geomesa-users mailing list
geomesa-users@xxxxxxxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.locationtech.org/mailman/listinfo/geomesa-users



_______________________________________________
geomesa-users mailing list
geomesa-users@xxxxxxxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.locationtech.org/mailman/listinfo/geomesa-users


_______________________________________________
geomesa-users mailing list
geomesa-users@xxxxxxxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.locationtech.org/mailman/listinfo/geomesa-users


Back to the top