一、静态文件配置 1、默认情况下,静态文件映射模板为:/**,映射路径为:"classpath:/META-INF/resources/", "classpath:/resources/", "classpath:/static/", "classpath:/public/",见 WebMvcPro ...
分类:
编程语言 时间:
2021-06-08 23:40:17
阅读次数:
0
1、添加mybatis依赖 <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</artifactId> <version>1.3.2</version> </ ...
分类:
编程语言 时间:
2021-06-08 22:31:11
阅读次数:
0
1.在自己的服务器中找到redis的配置文件 redis.conf 使用命令vi redis.conf或vim redis.conf ...
分类:
其他好文 时间:
2021-06-07 20:35:04
阅读次数:
0
从Spring到SpringBoot浅谈 一、Spring能做什么 (一)、Spring的能力 (二)、spring的生态 https://spring.io/projects/spring-boot 覆盖了:web开发、数据访问、安全控制、分布式消息服务、移动开发、批处理等。 (三)、Spring ...
分类:
编程语言 时间:
2021-06-06 19:26:01
阅读次数:
0
一、SpringBoot 2.x的配置方法; 1、通过spring-boot-starter-cache导入依赖; 2、spring-boot-autoconfigureCache的CacheAutoConfiguration负责全局的cache管理,RedisCacheConfiguration负 ...
分类:
编程语言 时间:
2021-06-06 19:24:05
阅读次数:
0
当用jmeter压测时候,报的该错; 这是堆外内存溢出: ...
分类:
编程语言 时间:
2021-06-06 19:14:25
阅读次数:
0
Spring Boot 文档 1.关于文档 Spring Boot 参考指南可以通过以下方式获得: Multi-page HTML Single page HTML PDF 最新的版本可以在docs.spring.io/spring-boot/docs/current/reference/找到。 2 ...
分类:
编程语言 时间:
2021-06-06 18:52:05
阅读次数:
0
https://blog.csdn.net/u011365831/article/details/78530013 Unable to locate package错误,解决方法非常简单,终端输入以下命令即可: sudo apt-get update 究其原因,应该是刚安装,软件源还来不及更新,所以 ...
分类:
其他好文 时间:
2021-06-05 18:29:30
阅读次数:
0
docker删除镜像报错处理,Error response from daemon: conflict: unable to delete a945e7fd5401 (cannot be forced) - image has dependent child images ,删除为none的镜像 ...
分类:
其他好文 时间:
2021-06-05 18:28:16
阅读次数:
0
存储字段 eg: <script type="text/javascript"> $('#option_btn').change(function () { project_id = $('#option_btn').val(); var project_ids = $('#option_btn') ...
分类:
其他好文 时间:
2021-06-05 18:11:43
阅读次数:
0