摘要: 一、com.mysql.jdbc.Driver 和 com.mysql.cj.jdbc.Driver的区别 com.mysql.jdbc.Driver 是 mysql-connector-java 5中的, com.mysql.cj.jdbc.Driver 是 mysql-connector-jav 阅读全文
posted @ 2019-11-23 16:48 LY-留言 阅读(1100) 评论(0) 推荐(0) 编辑
摘要: 中文官网:https://mp.baomidou.com/ Mapper CRUD 接口 /** * <p> * 插入一条记录 * </p> * * @param entity 实体对象 * @return 插入成功记录数 */ int insert(T entity); //示例 @Test pu 阅读全文
posted @ 2019-11-22 17:51 LY-留言 阅读(4228) 评论(0) 推荐(0) 编辑
摘要: 一、nginx搭建集群入门 https://www.cnblogs.com/XJJD/p/10308840.html 二、Nginx服务器之负载均衡策略(6种) https://www.cnblogs.com/1214804270hacker/p/9325150.html 三、Nginx与Tomca 阅读全文
posted @ 2019-11-21 11:27 LY-留言 阅读(839) 评论(0) 推荐(0) 编辑
摘要: 问题:Description Resource Path Location TypeJava compiler level does not match the version of the installed Java project facet. hotnet_manage Unknown Fa 阅读全文
posted @ 2019-11-13 10:24 LY-留言 阅读(360) 评论(0) 推荐(0) 编辑
摘要: 只有webapps 修改eclipse 默认的 发布位置改为 tomcat的安装位置 ​ eclipse 默认的web-content 改为webroot ,发布后web-inf目录下才会有webroot文件夹 ​ 阅读全文
posted @ 2019-11-13 10:23 LY-留言 阅读(277) 评论(0) 推荐(0) 编辑
摘要: ​ 把重复代码删除一条就可以了。 阅读全文
posted @ 2019-11-13 10:22 LY-留言 阅读(242) 评论(0) 推荐(0) 编辑
摘要: zookeeper zookeeper下载地址 http://www.apache.org/dyn/closer.cgi/zookeeper ​随便选择一个提供的路径 我们只需要关注zookeeper目录中的bin目录和conf配置目录就OK了,第一件事我们要做的就是修改配置文件。 zookeepe 阅读全文
posted @ 2019-11-13 10:21 LY-留言 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 在项目的pom.xml文件添加如下两段 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <version>1.5.7.RELEASE</ver 阅读全文
posted @ 2019-11-13 10:21 LY-留言 阅读(197) 评论(0) 推荐(0) 编辑
摘要: Ctrl+Shift + Enter,语句完成“!”,否定完成,输入表达式时按 “!”键Ctrl+E,最近的文件Ctrl+Shift+E,最近更改的文件Shift+Click,可以关闭文件Ctrl+[ OR ],可以跑到大括号的开头与结尾Ctrl+F12,可以显示当前文件的结构Ctrl+F7,可以查 阅读全文
posted @ 2019-11-13 10:19 LY-留言 阅读(221) 评论(0) 推荐(0) 编辑
摘要: <dependency> <groupId>net.sf.barcode4j</groupId> <artifactId>barcode4j-light</artifactId> <version>2.0</version> </dependency> package test; import ja 阅读全文
posted @ 2019-11-13 10:14 LY-留言 阅读(916) 评论(0) 推荐(0) 编辑