我嘗試在 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ò)誤,我該如何解決?
添加回答
舉報(bào)
0/150
提交
取消