bigdata-mx / factura-electronica

Librería de componentes Java para el desarrollo de aplicaciones de Factura Electrónica (CFDI)
Apache License 2.0
94 stars 107 forks source link

Soporte Java 8 #132

Open fintecheand0 opened 8 years ago

fintecheand0 commented 8 years ago

Hola,

Tengo un sistema Linux, (donde desarrollo) con JDK Oracle 8. Sin embargo marca distintos mensajes. Principalmente con el tema de carga de las llaves publicas y privadas, trabajare con estos issues y regreso para comentarles la solución.

Si han tenido alguna experiencia al respecto y que pueda ahorrar tiempo les agradecería.

victor@centauro:~/git/nibble/factura-electronica$ java -version java version "1.8.0_66" Java(TM) SE Runtime Environment (build 1.8.0_66-b17) Java HotSpot(TM) 64-Bit Server VM (build 25.66-b17, mixed mode) victor@centauro:~/git/nibble/factura-electronica$ uname -a Linux centauro 3.16.0-45-generic #60~14.04.1-Ubuntu SMP Fri Jul 24 21:16:23 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux victor@centauro:~/git/nibble/factura-electronica$ mvn -version Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06; 2015-04-22T06:57:37-05:00) Maven home: /usr/share/maven3 Java version: 1.8.0_66, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-8-oracle/jre Default locale: es_MX, platform encoding: UTF-8 OS name: "linux", version: "3.16.0-45-generic", arch: "amd64", family: "unix" victor@centauro:~/git/nibble/factura-electronica$ javac -version javac 1.8.0_66

fintecheand0 commented 8 years ago

Ampliando el detalle, tiene que ver con las clses PrivateKeyLoader y PublicKeyLoader

[ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /home/victor/git/nibble/factura-electronica/src/main/java/mx/bigdata/sat/security/PublicKeyLoader.java:[18,8] mx.bigdata.sat.security.PublicKeyLoader is not abstract and does not override abstract method getKey() in mx.bigdata.sat.security.KeyLoader [ERROR] /home/victor/git/nibble/factura-electronica/src/main/java/mx/bigdata/sat/security/PrivateKeyLoader.java:[22,8] mx.bigdata.sat.security.PrivateKeyLoader is not abstract and does not override abstract method getKey() in mx.bigdata.sat.security.KeyLoader [INFO] 2 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 13.032 s