簡體   English   中英

Google Cloud Debug無法使用jar文件“在可執行文件中找不到文件”

[英]Google Cloud Debug not working with jar file “File was not found in the executable”

我一直在嘗試使用google cloud Debugger,我能夠將調試器連接到我的源代碼中,但是每當我放置一個斷點時,它都會拋出錯誤“在可執行文件中找不到文件”。 我還附上了相同的屏幕截圖。 運行中的雲調試的屏幕截圖

為了測試我正在使用Dropwizard Example,我正在運行以下命令,將我的jar文件部署到Google計算實例上。

java $(sudo ./format_env_gce.sh --app_class_path = path / to / jarfile --version = 1.0.0)-jar -Done-jar.silent = true路徑/ to / jarfile服務器config.yml

對於上述命令,我一直關注鏈接https://cloud.google.com/tools/cloud-debugger/setting-up-on-compute-engine

請幫助我了解我在這里缺少什么。

謝謝。

這個問題更特定於我使用gradle構建的jar,我嘗試了使用maven創建jar的另一種方法,現在可以使用了。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM