一,springCloud集成eureka,搭建注册中心

代码地址:https://github.com/gebifeixiang/eureka-center

踩坑点:

1,pom.xml中各个依赖冲突问题;
2,eureka.client.fetchRegistry=false

#如果为true,启动时报警

 

二,springCloud集成eureka,mysql,mybatis,activeMq,redis

代码地址;

数据处理服务层;https://github.com/gebifeixiang/dataservice

对外接口层:https://github.com/gebifeixiang/interface

踩坑点:

1,引入mybatis后,报错提示找不到对应的Mapper实现方法。
解决方法:启动类中没有添加mapperScan()注解;
2,dataService发送mq消息后,interface收到消息,但是报错,提示
Caused by: javax.jms.InvalidDestinationException: Cannot determine response destination: Request message does not contain reply-to destination, and no default response destination set.

解决方法:暂无(待解决)

 

相关文章:

  • 2021-06-20
  • 2021-07-27
  • 2021-08-15
  • 2021-09-06
  • 2022-01-10
  • 2022-12-23
  • 2022-12-23
  • 2021-12-05
猜你喜欢
  • 2021-12-19
  • 2021-12-11
  • 2022-12-23
  • 2021-09-28
  • 2022-12-23
  • 2021-04-27
  • 2021-04-25
相关资源
相似解决方案