09 2020 档案

ResultSet..next()取不到第一条数据
摘要:今天的博客内容主要是来自于我今天做的业务。使用JDBC链接远程数据,并存储到本地数据库的操作。 我的代码之前是这样的 @SuppressWarnings("static-access") public static void main(String[] args) throws Exception 阅读全文

posted @ 2020-09-18 10:32 春眠不觉笑 阅读(1057) 评论(0) 推荐(0)

springboot @Autowired注入为null
摘要:读取 application-dev.yml 文件,如果是有多个 application.yml 文件请指定路径 package com.nuctech.datasync.util; import org.springframework.beans.factory.annotation.Value; 阅读全文

posted @ 2020-09-17 15:42 春眠不觉笑 阅读(6699) 评论(0) 推荐(0)

java.lang.NoSuchFieldError: REFLECTION
摘要:2020-09-14 09:13:21.415 INFO org.apache.cxf.service.factory.ReflectionServiceFactoryBean Line:457 - Creating Service {http://tempuri.org/}IWSMIDCInter 阅读全文

posted @ 2020-09-14 09:27 春眠不觉笑 阅读(1708) 评论(0) 推荐(0)

Cannot find any registered HttpDestinationFactory from the Bus.
摘要:运行代码后台报错 报错主要是因为缺少jetty依赖 一般添加如下依赖即可 <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-transports-http-jetty</artifactId> <version>3.2 阅读全文

posted @ 2020-09-09 08:58 春眠不觉笑 阅读(581) 评论(0) 推荐(0)