2016-10-06 4 views
1

Fehlergibt es die FtpClient Fehler, während das Projekt läuft

Error:warning: Ignoring InnerClasses attribute for an anonymous inner class 
Error:(it.sauronsoftware.ftp4j.FTPClient$2) that doesn't come with an 
Error:associated EnclosingMethod attribute. This class was probably produced by a 
Error:compiler that did not target the modern .class file format. The recommended 
Error:solution is to recompile the class from source, using an up-to-date compiler 
Error:and without specifying any "-target" type options. The consequence of ignoring 
Error:this warning is that reflective operations on this class will incorrectly 
Error:indicate that it is *not* an inner class. 
Error:warning: Ignoring InnerClasses attribute for an anonymous inner class 
Error:(it.sauronsoftware.ftp4j.FTPClient$1) that doesn't come with an 
Error:associated EnclosingMethod attribute. This class was probably produced by a 
Error:compiler that did not target the modern .class file format. The recommended 
Error:solution is to recompile the class from source, using an up-to-date compiler 
Error:and without specifying any "-target" type options. The consequence of ignoring 
Error:this warning is that reflective operations on this class will incorrectly 
Error:indicate that it is *not* an inner class. 
+0

Veröffentlichen Sie Ihre Gravel-Datei auf App-Ebene. – Furqan

Antwort

1

Sie sollten die JAR-Datei in die Libs Ordner Ihres Projekts hinzufügen. Stellen Sie außerdem sicher, dass es auf der Registerkarte Bestellung und Export aktiviert ist.

+0

compile fileTree (Verzeichnis: 'libs', include: ['* .jar']), ftp4j-1.6.1.jar im libs-Ordner –

Verwandte Themen