代码改变世界

springboot maven 集合工程打包问题 Could not find artifact

2020-06-16 09:45 by 乌托邦的美梦, 3213 阅读, 1 推荐, 收藏, 编辑
摘要:1.创建父工程: 2.创建子工程,在attend_train_parent 的pom文件引入了子模块。然后执行mvn clean/complie/package/install 都会报Could not find artifact com.hbd.edu:attend-train-parent:po 阅读全文

sentinel dashboard 持久化规则,监控数据+nacos和mysql

2019-03-08 14:51 by 乌托邦的美梦, 5283 阅读, 0 推荐, 收藏, 编辑
摘要:<dependency> <groupId>com.alibaba.csp</groupId> <artifactId>sentinel-datasource-nacos</artifactId> </dependency> 原来的<scope>test</scope>去掉 将项目测试下面的代码移动 阅读全文

spring+springMVC+mybatis整合并使用redis做缓存

2017-08-17 18:49 by 乌托邦的美梦, 3220 阅读, 0 推荐, 收藏, 编辑
摘要:1.用idea 构建一个maven 的web项目 点击下一步 继续下一步 选着maven home directory 自己的maven 安装目录,全选下一步,等一分钟就OK了 2.配置pom.xml 阅读全文

spring-session-redis的配置

2017-08-15 15:42 by 乌托邦的美梦, 652 阅读, 0 推荐, 收藏, 编辑
摘要:1.pom.xml的配置 <dependency> <groupId>org.springframework.session</groupId> <artifactId>spring-session-data-redis</artifactId> <version>1.0.2.RELEASE</ve 阅读全文

jenkins+ git +maven 自动持续集成部署

2017-08-14 13:37 by 乌托邦的美梦, 261 阅读, 0 推荐, 收藏, 编辑
摘要:1.安装jenkins,官网地址https://jenkins.io/ 2.配置jenkins的全局配置 3.安装必须的插件 这个是部署的插件 Deploy to container Plugin,这是maven的插件 Maven Integration plugin 4。项目配置 6.tomcat 阅读全文