简单来说,Spring Cloud 提供了一些可以然开发这快速构建服务应用的工具,比如配置管理、服务发现、熔断、智能路由等,这些服务可以在任何分布式环境下很好地工作。Spring Cloud 主要致力于解决如下问题: Distributed/veersioned configuration, 分布式 ...
分类:
编程语言 时间:
2021-06-28 20:40:57
阅读次数:
0
“资源添加到Web应用程序[]的缓存中,因为在清除过期缓存条目后可用空间仍不足 - 请考虑增加缓存的最大空间” 解决办法: 在 /conf/context.xml 的 前添加以下内容: <Resources cachingAllowed="true" cacheMaxSize="100000" /> ...
分类:
其他好文 时间:
2021-06-28 20:36:55
阅读次数:
0
安装 教程,https://www.graphql-java.com/tutorials/getting-started-with-spring-boot/ ...
分类:
其他好文 时间:
2021-06-28 20:30:41
阅读次数:
0
##Spring Security注意事项 权限优先级: 在SecurityConfig中configure(HttpSecurity http)方法中,如下代码 http.authorizeRequests() .antMatchers("/admin/**").hasRole("admin") ...
分类:
编程语言 时间:
2021-06-28 20:23:02
阅读次数:
0
1.查看IP地址,可以用ifconfig或者ifconfig | grep 192 2.查看端口netstat -tpln或者netstat -tunlp 3.8083是Tomcat端口,3306是MySQL数据库端口 4.Jmeter永久选择中文,在jmeter的bin目录中,打开jmeter.p ...
分类:
系统相关 时间:
2021-06-28 19:54:39
阅读次数:
0
一、 在主程序中配置 @SpringBootApplication 相当于: //@SpringBootConfiguration //@EnableAutoConfiguration //@ComponentScan("spring.main.spring"), //SpringBootAppli ...
分类:
编程语言 时间:
2021-06-28 19:53:22
阅读次数:
0
1.配置 pom <shiro.version>1.4.0</shiro.version> <!--shiro start--> <dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-core</artifactId> ...
分类:
编程语言 时间:
2021-06-28 19:50:46
阅读次数:
0
Spring 简介 Spring:春天即给软件行业带来了春天! 2002年,首次推出了Spring框架的雏形:interface 21框架! 2004年3月24日,Spring框架是以interface21框架为基础,经过了重新的设计,并不断的丰富其内涵,于2004年3月21日发布了1.0正式版本 ...
分类:
编程语言 时间:
2021-06-28 19:46:52
阅读次数:
0
创建一个Spring的helloworld项目 创建maven项目,导入Spring的环境依赖 可以参考:https://www.cnblogs.com/nwu-edu/p/9542074.html,为了简化直接导入webmvc的依赖 <dependency> <groupId>org.spring ...
分类:
编程语言 时间:
2021-06-28 19:43:13
阅读次数:
0
IOC理论的推导 假设我们要写一个user相关的业务 UserDao接口 package com.dreamcold.dao; public interface UserDao { public void getUser(); } UserDaoImpl实现类 package com.dreamco ...
分类:
编程语言 时间:
2021-06-28 19:42:06
阅读次数:
0