AnswerAIL / dingtalk-spring-boot-starter

Dinger(叮鸽),SpringBoot集成钉钉/企业微信/飞书群机器人实现消息通知中间件。
https://github.com/AnswerAIL/dingtalk-spring-boot-starter/wiki
Apache License 2.0
345 stars 75 forks source link

dinger class is empty #12

Closed ponphy closed 3 years ago

ponphy commented 3 years ago

JRE: java version "1.8.0_271" Java(TM) SE Runtime Environment (build 1.8.0_271-b09) Java HotSpot(TM) 64-Bit Server VM (build 25.271-b09, mixed mode)

SpringBoot: 2.2.1.RELEASE

dinger打包成二方包后,类加载出错

错误堆栈: java.lang.IllegalArgumentException: URI is not hierarchical at java.io.File.(File.java:418) at com.github.jaemon.dinger.utils.PackageUtils.forClassNames(PackageUtils.java:108) at com.github.jaemon.dinger.utils.PackageUtils.classNames(PackageUtils.java:78) at com.github.jaemon.dinger.core.spring.DingerScannerRegistrar.registerBeanDefinitions(DingerScannerRegistrar.java:74) at org.springframework.context.annotation.ImportBeanDefinitionRegistrar.registerBeanDefinitions(ImportBeanDefinitionRegistrar.java:86) at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.lambda$loadBeanDefinitionsFromRegistrars$1(ConfigurationClassBeanDefinitionReader.java:385) at java.util.LinkedHashMap.forEach(LinkedHashMap.java:684)

ponphy commented 3 years ago

升级到 1.1.1-beta1 版本解决