SMS4J icon indicating copy to clipboard operation
SMS4J copied to clipboard

建议依赖项中使用 org.glassfish.jaxb 替代 com.sun.xml.bind

Open someok opened this issue 11 months ago • 1 comments

bootJar 打包时发现如下异常:

Entry jaxb-core-4.0.4.jar is a duplicate but no duplicate handling strategy has been set.

检查后发现是因为 com.sun.xml.bind 和 org.glassfish.jaxb 存在同名 jar 包 jaxb-core-4.0.4.jar

而前者是 sms4j 所依赖的,所以建议考虑迁移到后者。

参考:

  • https://github.com/spring-projects/spring-boot/issues/33659
  • https://stackoverflow.com/a/72151763

someok avatar Mar 15 '24 08:03 someok

感谢提出,我们会在后续版本进行考量修复

Hi-Mr-Wind avatar Apr 18 '24 03:04 Hi-Mr-Wind