自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 收藏
  • 关注

原创 nexus-3.2.0-01.zip安装以及如何启动服务

在之前的版本中,启动nexus服务都是在cmd中输入 nexus install来安装服务,nexus start来启动服务。在nexus-3.2.0-01中,直接在nexus根目录下的bin下,输入 nexus.exe/run 即会启动服务。此时的nexus服务都是安装包默认的数据存储路径、端口、IP、访问根目录、内存大小,可以通过如下操作进行修改。通过根目录下etc目录下的 nexus...

2018-08-31 16:20:53 256

原创 feign time out 异常

问题,身份证识别服务,超过1s后,就报超时异常,设置hystrix的命令也不好使,折腾半天,还是超时 解决:在application.properties文件中增加,ribbon.ReadTimeout=60000 ribbon.ConnectTimeout=60000,虽然为黄色的,但是起作用。问题解决...

2018-08-31 14:03:47 1050

原创 Spring boot 应用发布到docker

1、打包,mbmp-0.0.1-SNAPSHOT.jar app.jar 2、编写dockefile: FROM java:8 VOLUME /tmp ADD mbmp-0.0.1-SNAPSHOT.jar app.jar RUN bash -c ‘touch /app.jar’ ENTRYPOINT [“java”,”-jar”,”/app.jar”] 3、将创建好的Docke...

2018-08-30 14:25:36 158

原创 spring boot 启动失败,不报错No active profile set, falling back to default profiles: default

问题;INFO [contextName_IS_UNDEFINED] 2018-08-24 14:11:01.255 [restartedMain] c.c.g.g.GateWayEntry.logStartupProfileInfo: No active profile set, falling back to default profiles: defaultProcess finish...

2018-08-24 15:44:15 31605

原创 org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):

问题:org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.cofco.graincircle.mbmp.mapper.UserMapper.insert at org.apache.ibatis.binding.MapperMethodSqlCommand.(MapperMetho...

2018-08-17 13:22:36 188

原创 Caused by: java.lang.NoSuchMethodError: org.apache.ibatis.session.Configuration.setVfsImpl(Ljava/lan

问题:spring boot 集成Spring mybatis Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method ‘sqlSessionFactory...

2018-08-16 17:29:02 10880 1

原创 let.ServletException: Circular view path [登陆用户信息:m]: would dispatch back to the current ha

javax.servlet.ServletException: Circular view path [登陆用户信息:m]: would dispatch back to the current handler URL [/msp/loginTest/m/登陆用户信息:m] again.解决方法:在服务实现的controller中增加@ResponseBody 如下: @Control...

2018-08-16 14:55:59 510

原创 create:feign.FeignException: status 500

问题: create:feign.FeignException: status 500 reading LoginClient#loginTest(String,String); content: {“timestamp”:”2018-08-16T05:29:47.301+0000”,”status”:500,”error”:”Internal Server Error”,”message”:...

2018-08-16 13:56:53 28104

原创 启动Spring boot注册中心报错:RENEWALS ARE LESSER THAN THE THRESHOLD. THE SELF PRESERVATION MODE IS TURNED OFF

服务提供者和服务消费者配置文件问题: eureka.client.service-url.defaultZone= http://localhost:8080/eureka/问题:LoginService.loginTest: com.netflix.client.ClientException: Load balancer does not have available server fo...

2018-08-16 13:31:37 18244

原创 spring boot 启动报错o.a.c.c.StandardService.log: Stopping service [Tomcat]

分析问题:出在Feign调用 这行代码上,加上就报上面的错。就是@Autowired的问题。 解决方法:折磨的一晚上,原因是这个,原来写成 Public String loginTest(String id,String pwd);的问题FeignClient注册的接口方法中参数取值不能像普通那样,需要通过@RequestParam字符参数,@RequestBody 传递对象,比如@Req...

2018-08-16 09:15:04 5638

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除