- 博客(6)
- 收藏
- 关注
转载 SpringCloud分布式开发五大神兽
SpringCloud分布式开发五大神兽 服务发现——Netflix Eureka 客服端负载均衡——Netflix Ribbon 断路器——Netflix Hystrix 服务网关——Netflix Zuul 分布式配置——Spring Cloud Config Eureka一个RESTful服务,用来定位运行在AWS地区(Region)...
2018-12-18 13:04:02 255
原创 运行JPA 报错 SQLGrammarException: error performing isolated work
Apparently hibernate looks for sequence tables for generating the id. Setting the following:@GeneratedValue(strategy = GenerationType.IDENTITY)1on the id, causes it to use the underlying db’s aut...
2018-12-11 14:41:41 312
原创 学习SpringCloud时,eureka server正常启动,eureka client启动自动关闭问题
SpringCloud时,eureka server正常启动,eureka client启动自动关闭问题首先看pom中的eureka版本是否对应;博主用的是:springcloud: <properties> <java.version>1.8</java.version> <spring-cloud.version>...
2018-12-07 11:50:49 2018 2
原创 Springboot运行SQL报错:Unsatisfied dependency expressed through field 'userMapper';
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'club.aiit.springboot.Springboot05ApplicationTests': Unsatisfied dependency expressed through field 'us...
2018-12-06 17:18:23 19593
原创 mysql运行报The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one time z
用JDBCTemplate 测试数据源,报错The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one time z从错误即可知道是时区的错误,因此只要将时区设置为你当前系统时区即可,因此使用root用户登录mysql,按照如下图所示操作即可。 ...
2018-12-06 16:25:51 285
转载 thymeleaf模板引擎+spring中文文档
一、创建表单1、Thymeleaf要求您使用标记中的th:object属性指定命令对象<form action="#" th:action="@{/seedstartermng}" th:object="${seedStarter}" method="post"> ...</form>这与th:object的其他用法一致,但实际上这个特定的场景增加了一些限
2018-12-05 10:26:20 1102
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人