springboot
kak夕
积累,记录,提高,分享
展开
-
企业微信回调服务日志报错:ClassNotFoundException,NoClassDefFoundError,NoSuchMethodError
我使用的是第三方的WxJava插件:https://gitee.com/binary/weixin-java-tools日志如下:...Handler dispatch failed; nested exception is java.lang.NoSuchMethodError: com.thoughtworks.xstream.XStream.setupDefaultSecurity(Lcom/thoughtworks/xstream/XStream;)V...Handler dis原创 2020-11-30 11:58:13 · 730 阅读 · 1 评论 -
SpringBoot项目启动:Failed to configure a DataSource: 'url' attribute is not specified and no embedded
网上有很多其他的解决方案,这里仅提供一种可能方案:在启动类加注解:@SpringBootApplication(scanBasePackages = { "com.kak.back.datasource" }, exclude = { DataSourceAutoConfiguration.class })其中:com.kak.back.datasource包下面是,自...原创 2019-06-24 15:11:24 · 196 阅读 · 0 评论