- 博客(9)
- 资源 (6)
- 收藏
- 关注
原创 ActiveMQ Centos7 踩坑
1、下载并安装(默认已有jdk环境 不在安装,没有可以自己百度安装jdk)wget -c https://mirrors.tuna.tsinghua.edu.cn/apache//activemq/5.16.2/apache-activemq-5.16.2-bin.tar.gz2、解压tar -xvf apache-activemq-5.16.2-bin.tar.gz3、启动cd apache-activemq-5.16.2/bin./activemq start4、访问 192.168.33
2021-05-13 22:25:13 148
原创 Spring-cloud-config 使用遇到的问题 踩坑记录(二)config client 拉取不到配置属性
书接上回这次启动 consumer 测试拉取 配置中心 的配置属性consumer 添加 pom 依赖 spring-cloud-client<!--加入spring-boot-config--><dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-config</artifactId>
2021-04-28 17:59:18 595
原创 Spring-cloud-config 使用遇到的问题 踩坑记录(一)拉取配置文件失败
新建项目 Eureka-Config引入pom<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.a
2021-04-28 17:24:43 1351 1
原创 spring boot 配置mybatis 多数据源以及遇到的问题
application.yml 里面多数据源的配置 spring: datasource: db1: username: XXX password: XXXX driver-class-name: com.mysql.jdbc.Driver url: "jdbc:mysql://XXXX:3306/db1?characterEncoding=utf8" db2: username: XXXX p
2021-03-30 15:32:13 585 2
原创 centos7 安装 nextcloud 教程
1、更换yum阿里云的源备份mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup下载阿里云源配置curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo清理缓存并生成新的缓存yum clean allyum makecache2、安装docker官方自动安装脚本curl
2021-03-22 18:36:06 2038
原创 关于eclipse debug 出现 Source not found. 异常 非第三方jar 源码
关于eclipse debug 出现 Source not found. 异常 非第三方jar 源码常规解决方式:1、选择debug configurations,选择对应的项目,点击source,清除默认的jdk源码,点击add,选择Java project,选择要导入的源代码,ok即可2、第三方jar 源码问题 可以看下 这个链接 https://blog.csdn.n...
2019-04-23 11:12:06 385
原创 Spring boot 初步踩坑(三)——Thymeleaf javaScript 联动 数值变化
之前网上搜索 Thymeleaf 标签 可以直接在js 里面 获取 action返回的值,一直在用,今天突然出现了一个奇葩问题,一个时间戳字符串,java后台打印是20180917161154369 通过js 再传回去就成了2018091716115438了 百思不起姐。 后来阅读官方文档 才发现 script 里面用 Thymeleaf 标签 有个前提,那就是 必须使用th:inlin...
2018-09-17 17:04:11 1013
原创 spring boot 初步踩坑(二)—— 打包加载本地jar
打包时加载本地jar,度娘提供了几种方式,下边是我遇到的几种方式: 1、打包jar 有两种方式 1) org.springframework.boot spring-boot-maven-plugin true ...
2018-09-11 13:26:26 219
原创 Spring boot 初步踩坑记(一)
初步使用spring boot + mybatis 组合,然而在eclipse 内运行 妥妥的 一点的问题都没有。打包成jar 和war ,运行时,报错: Field XXXXin XXXX.DemoApplication required a bean of type ‘XXXXXX’ that could not be found.Action:Consider defining ...
2018-09-11 10:05:41 126
自定义htmlunit,取消htmlunit自带的log打印功能
2015-02-11
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人