
springcloud
文章平均质量分 85
Spring Cloud是一系列框架的有序集合。
lazy_cat_go
这个作者很懒,什么都没留下…
展开
-
Incompatible types. Found: ‘java.lang.Class<org.springframework.test.context.junit4.SpringRunner>‘,
spring整合junit报错Incompatible types. Found: ‘java.lang.Class<org.springframework.test.context.junit4.SpringRunner>’, required: ‘java.lang.Class<? extends org.junit.runner.Runner>’可能是JUnit版本过低,需要4.12以上版本 <dependency> &原创 2020-07-18 20:13:32 · 6994 阅读 · 1 评论 -
eureka自我保护机制EUREKA MAY BE INCORRECTLY CLAIMING INSTANCES ARE UP WHEN THEY‘RE NOT
EMERGENCY! EUREKA MAY BE INCORRECTLY CLAIMING INSTANCES ARE UP WHEN THEY'RE NOT. RENEWALS ARE LESSER THAN THRESHOLD AND HENCE THE INSTANCES ARE NOT BEING EXPIRED JUST TO BE SAFE.紧急情况!eureka可能错误地声称实例已启动,而事实并非如此。续订小于阈值,因此实例不会过期只是为了安全。我们在eureka的服务端html页面中,原创 2020-07-02 18:51:38 · 961 阅读 · 0 评论 -
Failed to bind properties under ‘eureka.client.service-url‘ to java.util.Map「java.lang.String, java.
报错信息Description:Failed to bind properties under 'eureka.client.service-url' to java.util.Map<java.lang.String, java.lang.String>:不能将eureka.client.service-url装换成map Reason: No converter found capable of converting from type [java.lang.String]原创 2020-07-02 17:44:37 · 761 阅读 · 1 评论 -
com.netflix.discovery.shared.transport.TransportException: Cannot execute request on any known serve
注册中心客户端报错com.netflix.discovery.shared.transport.TransportException: Cannot execute request on any known server at com.netflix.discovery.shared.transport.decorator.RetryableEurekaHttpClient.execute(RetryableEurekaHttpClient.java:112) ~[eureka-client-1.9.1原创 2020-06-21 18:12:56 · 528 阅读 · 0 评论 -
If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.
Description:Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.//未能配置数据源:未指定“url”属性,无法配置嵌入的数据源。Reason: Failed to determine a suitable driver class//原因:失败的加载合适的驱动类Action://建议Consider th原创 2020-06-16 18:11:43 · 6315 阅读 · 0 评论 -
build.artifactId: $project.artifactId$无法显示
在父工程中,加入允许src/main/resources中的文件访问pom.xm,访问方式以$parameter$ <build> <finalName>springcloudtest</finalName> <resources> <resource> <directory>src/main/resources</directory&原创 2020-06-21 19:09:35 · 2408 阅读 · 2 评论