test

博客园 首页 新随笔 联系 订阅 管理

2020年3月21日 #

摘要: idea版本和maven版本还是有冲突,会导致maven不更新本地仓库,这点一定要注意! 在Apache Maven官网上找到比我的IDEA要老的maven版本,其实这里找的是maven发行时间,大致要和idea版本的发行时间要对上,不能用一个老板的idea,而mavan版本又是最新的。 转:htt 阅读全文
posted @ 2020-03-21 18:38 testgogogo 阅读(1058) 评论(0) 推荐(0) 编辑

摘要: 需要注意的地方:1、添加记录能够返回主键的关键点在于需要在标签中添加以下三个属性。useGeneratedKeys:必须设置为true,否则无法获取到主键id。keyProperty:设置为POJO对象的主键id属性名称。keyColumn:设置为数据库记录的主键id字段名称2、新添加主键id并不是 阅读全文
posted @ 2020-03-21 02:38 testgogogo 阅读(580) 评论(0) 推荐(0) 编辑

2020年3月20日 #

摘要: mybatis: type-aliases-package: com.xxx.xxx.pojo #config-location: classpath:mybatis/mybatis-config.xml mapper-locations: classpath:mapper/*.xml #Mybat 阅读全文
posted @ 2020-03-20 02:32 testgogogo 阅读(201) 评论(0) 推荐(0) 编辑

2020年3月19日 #

摘要: 转自:https://www.cnblogs.com/DreamerLeaf/p/9923313.html 最近开始使用IDEA进行项目开发,但是对于每次修改HTML文件中css和js文件之后都必须重启服务这件事表示深恶痛觉啊。终于有时间解决这件事情,在找了资料又因为对idea毫无了解走了很多弯路之 阅读全文
posted @ 2020-03-19 17:22 testgogogo 阅读(1157) 评论(0) 推荐(0) 编辑

2020年3月15日 #

摘要: 配置yml spring: mvc: static-path-pattern: /static/** resources: static-locations: classpath:/static/ 阅读全文
posted @ 2020-03-15 04:07 testgogogo 阅读(413) 评论(0) 推荐(0) 编辑

2020年3月10日 #

摘要: option = { legend: { show: false }, series: [ { type: "pie", radius: [20, 50], silent: true, label: { normal: { show: true, position: "center", format 阅读全文
posted @ 2020-03-10 15:47 testgogogo 阅读(204) 评论(0) 推荐(0) 编辑

2020年3月6日 #

摘要: 在mac下可以通过设置VM options 在springboot项目中,通过idea在配置spring.profiles.active 配置图-1 (1)在windows下点击idea的启动,可以通过System.getProperty("spring.profiles.active")获取到de 阅读全文
posted @ 2020-03-06 19:14 testgogogo 阅读(10462) 评论(0) 推荐(0) 编辑

2020年3月5日 #

摘要: 感谢三位博主的文章。 1.复制数据库时,出现表重复出现2次,一个表名大写,一个表名小写: https://blog.csdn.net/huanglianggu/article/details/49330817 解决办法: 在配置文件my.cnf ,[mysqld]下面加上: lower_case_t 阅读全文
posted @ 2020-03-05 15:26 testgogogo 阅读(2038) 评论(0) 推荐(0) 编辑

2020年3月3日 #

摘要: 第一步:查看容器的CONTAINER ID docker ps 第二步:获取root权限,例如需要进入的CONTAINER ID为4650e8d1bcca docker exec -ti -u root 4650e8d1bcca bash 阅读全文
posted @ 2020-03-03 09:53 testgogogo 阅读(445) 评论(0) 推荐(0) 编辑

2020年3月1日 #

摘要: 由于引入冲突导致,排出冲突即可代码如下 <dependency> <groupId>${project.parent.groupId}</groupId> <artifactId>${project.parent.artifactId}-</artifactId> <version>${projec 阅读全文
posted @ 2020-03-01 23:39 testgogogo 阅读(14405) 评论(0) 推荐(0) 编辑