在“将JugaadFunda部署到Google”期间发生内部错误。 com.google.appengine.tools.admin.AppAdminFactory.setJarSplittingEnabled(Z)V [英] An internal error occurred during: "Deploying JugaadFunda to Google". com.google.appengine.tools.admin.AppAdminFactory.setJarSplittingEnabled(Z)V

查看:179
本文介绍了在“将JugaadFunda部署到Google”期间发生内部错误。 com.google.appengine.tools.admin.AppAdminFactory.setJarSplittingEnabled(Z)V的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试将我的第一个应用程序部署到Google App Engine时,它会给我一个错误

When I am trying to deploy my first application to Google App Engine, it gives me an error


在以下期间发生内部错误: 将JugaadFunda部署到Google。
com.google.appengine.tools.admin.AppAdminFactory.setJarSplittingEnabled(Z)V

An internal error occurred during: "Deploying JugaadFunda to Google". com.google.appengine.tools.admin.AppAdminFactory.setJarSplittingEnabled(Z)V

我真的没有到达我错了。如果有人帮忙,我将不胜感激。

I am really not getting where I am wrong. I would appreciate if someone helps.

推荐答案

更新27-Mar-2018
我今天做了一些挖掘,发现了以下内容:
https://issuetracker.google.com/issues/72450185
所以看起来每个人都被推到了Google Cloud SDK。此链接还包括有关迁移的说明;我自己还没试过,祝你好运。

Update 27-Mar-2018 I did some more digging today and found the following: https://issuetracker.google.com/issues/72450185 So it appears everybody's getting pushed on to the Google Cloud SDK. This link also includes instructions on migrating over; I haven't tried this myself yet, so good luck.

部分答案:
在SDK版本1.9.60或1.9.61中,方法

Partial answer: In SDK versions 1.9.60 or 1.9.61, the method

void setJarSplittingEnabled(boolean doSplit);

已从com.google.appengine.tools.admin.AppAdminFactory中删除。
在部署项目的过程中,这个方法正在调用,显然无法解决,部署会中止。
我只能推测 - 看起来像jar分裂不再是一件事,所以它已从SDK中删除。由于这是在我的一个非常古老的项目中发生的,我怀疑项目设置中埋藏的地方是一个旧的开关,触发对该方法的调用。最简单(不一定是最好)的方式是Google将此方法重新引入作为无效的存根,以便我们可以继续使用当前的SDK版本部署我们的项目。或者当然,如果某人可以指向某个地方(我无法找到),那就更好了。

was removed from com.google.appengine.tools.admin.AppAdminFactory. When deploying a project, somewhere along the way, this method is being called and obviously doesn't resolve, the deployment aborts. I can only speculate - looks like jar splitting isn't a thing any longer so it was removed from the SDK. As this is happening on a very old project of mine, I suspect somewhere buried in the project settings is an old switch that triggers the call to that method. Easiest (not necessarily best) way would be for Google to re-introduce this method as a stub that does nothing so we can continue deploying our projects using current SDK versions. Or of course if somebody can point to a setting somewhere (that I couldn't locate), that would be even better.

这篇关于在“将JugaadFunda部署到Google”期间发生内部错误。 com.google.appengine.tools.admin.AppAdminFactory.setJarSplittingEnabled(Z)V的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆