gpt4 book ai didi

java - 部署 Google APP Engine 应用程序时出现错误 "Failed to read the default logging configuration"

转载 作者:行者123 更新时间:2023-11-30 06:14:59 26 4
gpt4 key购买 nike

我已经更新了我的 Google 应用引擎 gcloud sdk,现在当我尝试部署项目时,会出现此错误

[INFO] GCLOUD: INFO: Failed to read the default logging configuration
[INFO] GCLOUD: java.io.FileNotFoundException: C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\platform\google_appengine\google\appengine\tools\java\config\sdk\logging.properties (The system cannot find the path specified)
[INFO] GCLOUD: at java.io.FileInputStream.open0(Native Method)
[INFO] GCLOUD: at java.io.FileInputStream.open(FileInputStream.java:195)
[INFO] GCLOUD: at java.io.FileInputStream.<init>(FileInputStream.java:138)
[INFO] GCLOUD: at java.io.FileInputStream.<init>(FileInputStream.java:93)
[INFO] GCLOUD: at java.util.logging.LogManager.readConfiguration(LogManager.java:1301)
[INFO] GCLOUD: at com.google.appengine.tools.util.Logging.initializeLogging(Logging.java:38)
[INFO] GCLOUD: at com.google.appengine.tools.admin.AppCfg.main(AppCfg.java:111)
[INFO] GCLOUD:
[INFO] GCLOUD: Reading application configuration data...
[INFO] GCLOUD: Bad configuration: Schema file: C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\platform\google_appengine\google\appengine\tools\java\docs\appengine-web.xsd does not exist.
[INFO] GCLOUD: Please see the logs [C:\Users\kamlesh\AppData\Local\Temp\appcfg2029405644917018939.log] for further information.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18.148 s
[INFO] Finished at: 2018-03-22T18:37:06+05:30
[INFO] Final Memory: 29M/256M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.google.cloud.tools:appengine-maven-plugin:1.3.2:deploy (default-cli) on project quizone-apis: Execution default-cli of goal com.google.cloud.tools:appengine-maven-plugin:1.3.2:deploy failed: Non zero exit: 1 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
Process finished with exit code 1

最佳答案

我也遇到了同样的问题。

正如 @Kenworth 对您的问题发表评论一样,我检查了我的 appengine-maven-plugin 版本是 1.3.1。

在我的 pom.xml 中将其更新到 1.3.2 后,堆栈跟踪不再显示。

关于java - 部署 Google APP Engine 应用程序时出现错误 "Failed to read the default logging configuration",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49430412/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com