随笔分类 -  问题

Restful风格
摘要:简单明了的好文章: https://blog.csdn.net/weixin_56032340/article/details/122587184 阅读全文

posted @ 2023-04-12 14:15 companion 阅读(11) 评论(0) 推荐(0)

org.springframework.cloud.client.loadbalancer.LoadBalancerClientsProperties
摘要:参考文章: https://blog.csdn.net/qq_43788878/article/details/115894882 springboot和springcloud或者相关插件的版本问题 阅读全文

posted @ 2023-04-06 13:56 companion 阅读(139) 评论(0) 推荐(0)

required a bean of type 'org.springframework.web.client.RestTemplate' that could not be found.
摘要:Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.2023-04-04 14:54:30.963 ERROR 49212 [ 阅读全文

posted @ 2023-04-04 14:57 companion 阅读(480) 评论(0) 推荐(0)

4-springboot多数据源配置报错Cause: java.lang.IllegalArgumentException: jdbcUrl is required with driverClassName
摘要:springboot2.0版本以上的多数据源配置改成: spring.datasource.refunddb.url=jdbc:mysql://refund地址spring.datasource.refunddb.username=uatspring.datasource.refunddb.pass 阅读全文

posted @ 2023-03-21 16:54 companion 阅读(227) 评论(0) 推荐(0)

3-springboot编译报错Relying upon circular references is discouraged and they are prohibited by default
摘要:如果是.properties文件,在文件中添加 spring.main.allow-circular-references=true 如果是.yml文件,则在文件中添加 spring: main: allow-circular-references:true文章参考:https://blog.csd 阅读全文

posted @ 2023-03-21 14:31 companion 阅读(1927) 评论(0) 推荐(0)

虚拟机ifconfig没有ip地址
摘要:在搭建好虚拟机之后使用命令 ifconfig没有ip地址,我是在虚拟机设置->网络使用的NAT模式 vi /etc/sysconfig/network-scripts/ifcfg-ens33 编辑此文件:修改启动网卡,ONBOOT=yes sudo service network restart i 阅读全文

posted @ 2020-02-11 18:45 companion 阅读(1097) 评论(0) 推荐(0)

Quartz使用一
摘要:最近有用到quartz,附上代码使用,以免下次忘记<备注:代码也是摘抄某博主的>: package cn.com.test;import org.quartz.*;import org.quartz.impl.StdSchedulerFactory;import org.springframewor 阅读全文

posted @ 2019-02-02 16:51 companion 阅读(225) 评论(0) 推荐(0)