第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問(wèn)題,去搜搜看,總會(huì)有你想問(wèn)的

proguard 注意:庫(kù)類(lèi)的重復(fù)定義

proguard 注意:庫(kù)類(lèi)的重復(fù)定義

慕斯王 2021-07-13 17:09:45
我嘗試在 Spring Boot App 上啟動(dòng) ProGuard 并得到錯(cuò)誤:  [proguard] Reading library jar [C:\Program Files\Java\jdk1.8.0_151\jre\lib\rt.jar]     [proguard] Note: duplicate definition of library class [javax.annotation.Generated]     [proguard] Note: duplicate definition of library class [javax.annotation.PostConstruct]     [proguard] Note: duplicate definition of library class [javax.annotation.PreDestroy]     [proguard] Note: duplicate definition of library class [javax.annotation.Resource$AuthenticationType]     [proguard] Note: duplicate definition of library class [javax.annotation.Resource]     [proguard] Note: duplicate definition of library class [javax.annotation.Resources]     [proguard] Note: there were 8 duplicate class definitions.     [proguard]       (http://proguard.sourceforge.net/manual/troubleshooting.html#duplicateclass)     [proguard] Warning: there were 2 classes in incorrectly named files.     [proguard]          You should make sure all file names correspond to their class names.     [proguard]          The directory hierarchies must correspond to the package hierarchies.     [proguard]          (http://proguard.sourceforge.net/manual/troubleshooting.html#unexpectedclass)     [proguard]          If you don't mind the mentioned classes not being written out,     [proguard]          you could try your luck using the '-ignorewarnings' option.     [proguard] Error: Please correct the above warnings first.為什么我會(huì)收到這個(gè)錯(cuò)誤,我該如何解決?
查看完整描述

2 回答

?
ITMISS

TA貢獻(xiàn)1871條經(jīng)驗(yàn) 獲得超8個(gè)贊

您可以執(zhí)行以下操作來(lái)擺脫這種情況:

  1. 如果添加 proguard 選項(xiàng),-printconfiguration configuration.txt您將看到所有 proguard 添加的內(nèi)容。

  2. 根據(jù)您從上述步驟中收到的信息,您可以更正相同的

要么

您可以使用以下選項(xiàng)來(lái)停止看到這些警告消息:此處的文檔

-dontwarn javax.annotation.*
-dontnote javax.annotation.*

請(qǐng)查看問(wèn)題以了解有關(guān)您現(xiàn)在面臨的情況的更多詳細(xì)信息。


查看完整回答
反對(duì) 回復(fù) 2021-07-29
  • 2 回答
  • 0 關(guān)注
  • 1080 瀏覽
慕課專(zhuān)欄
更多

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢(xún)優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)