我正在尝试使用 1.8.0 将分配部署到 Google App Engine,但 Eclipse 部署工具告诉我 jar 太大。这是控制台输出:
------------ Deploying frontend ------------
Preparing to deploy:
Created staging directory at: 'C:\Users\User\AppData\Local\Temp\appcfg7254171904073358945.tmp'
Scanning for jsp files.
Compiling jsp files.
Scanning files on local disk.
java.io.IOException: Jar C:\Users\User\AppData\Local\Temp\appcfg7254171904073358945.tmp\WEB-INF\classes\appengine-api-1.0-sdk-1.8.0.jar is too large. Consider using --enable_jar_splitting.
Debugging information may be found in C:\Users\User\AppData\Local\Temp\appengine-deploy9108871985364269416.log
我根本没有修改罐子。我知道这是 1.7.7 中的一个问题,但据说在 1.7.7.1 中已修复,我现在似乎找不到。有任何想法吗?
编辑:这可能是谷歌的问题(他们把罐子弄得太大了):https ://groups.google.com/forum/?fromgroups=#!topic/google-appengine/QHf9KCD4LaE