摘要: 下载:https://www.mongodb.com/download-center/community 选择windows ZIP安装包,解压后目录下图: 设置数据库路径和日志路径,分别 从bin目录进入cmd dos命令界面执行下面命令,文件路径提前要建好: mongod.exe --dbpat 阅读全文
posted @ 2020-05-20 11:39 _Lawrence 阅读(344) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/qq_35387940/article/details/100514134 阅读全文
posted @ 2020-05-19 22:55 _Lawrence 阅读(189) 评论(0) 推荐(0)
摘要: 依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web-services</artifactId> </dependency> <dependency> <grou 阅读全文
posted @ 2020-05-18 10:22 _Lawrence 阅读(2607) 评论(1) 推荐(0)
摘要: 首先读取xls和xlsx文档的所有内容。 XSSFWorkbook是读取xlsx文档07 HSSFWorkbook是读取xls文档03 public static void main(String[] args) throws IOException { Resource resource = ne 阅读全文
posted @ 2020-05-13 09:14 _Lawrence 阅读(1310) 评论(0) 推荐(0)
摘要: 错误的方式: server1和server2互相Peer,client1注册server1,client2注册server2。这种方式是错误的。 假设Server1和Server2,互为peer,且Client1只注册到Server1,Client2只注册到Server2(注意这个且字)。这个时候S 阅读全文
posted @ 2020-05-08 10:28 _Lawrence 阅读(462) 评论(0) 推荐(0)
摘要: 单个插槽(默认插槽) <template> <div class="father"> <h3>这里是父组件</h3> <son> <div class="tmpl"> <span>xxxxxxxx</span> </div> </son> </div> </template> <script> im 阅读全文
posted @ 2020-05-06 11:17 _Lawrence 阅读(192) 评论(0) 推荐(0)
摘要: package com.llf.utils; import org.springframework.stereotype.Component; import org.springframework.web.servlet.config.annotation.InterceptorRegistry; 阅读全文
posted @ 2020-05-02 17:43 _Lawrence 阅读(210) 评论(0) 推荐(0)
摘要: 启动类加入@ServletComponentScan注解 package com.llf.utils; import javax.servlet.*; import javax.servlet.annotation.WebFilter; import java.io.IOException; @We 阅读全文
posted @ 2020-05-02 17:29 _Lawrence 阅读(587) 评论(0) 推荐(0)
摘要: package com.llf.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.sp 阅读全文
posted @ 2020-04-28 22:19 _Lawrence 阅读(4521) 评论(1) 推荐(1)
摘要: 不好用,转完问题挺多,还找不到资料头疼。public static void docxToHtml(String fileUrl) throws Exception { String path = fileUrl.substring(0,fileUrl.indexOf(".")); File fil 阅读全文
posted @ 2020-04-15 10:05 _Lawrence 阅读(2148) 评论(0) 推荐(0)