尝试设置时出现此错误 Firebase Admin SDK
Preparing to deploy: Created staging directory at: 'C:\Users\Parag\AppData\Local\Temp\appcfg4808135439637212840.tmp' java.lang.IllegalArgumentException: Class file is Java 8 but max supported is Java 7: com/google/firebase/FirebaseApp$1.class in G:_work\testproject\war\WEB-INF\lib\firebase-admin-4.0.0.jar
App Engine SDK 版本:1.9.34
Eclipse 版本:Neon.1a 发布 (4.6.1)
有没有人遇到过这个错误,请帮忙
最佳答案
根据他们的 release notes,这似乎是一个已知问题对于 firebase-admin 4.0.0 版(2016 年 11 月 7 日)和 4.0.1 版(2016 年 11 月 8 日):
ISSUE: This version was compiled for Java 8 and does not support Java 7. This will be fixed in an upcoming release.
我想我们将不得不等待 ;)
更新:
根据他们的 release notes , 现在已在 4.0.2 版中修复 - 2016 年 11 月 15 日:
FIXED This update restores Java 7 compatibilty for the Admin Java SDK.
关于java - 无法部署到 Google App Engine : java. lang.IllegalArgumentException:类文件是 Java 8 但最大支持是 Java 7,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40480616/