一,pom文件添加了依赖,maven库也有jar包,但是代码里不能import对应的类
原因:maven的问题,更换下maven的setting文件
二,spring boot + spring cloud + eureka 构建注册中心启动报错
"No qualifying bean of type 'javax.servlet.Filter' available"
Unable to start web server;
nested exception is org.springframework.boot.web.server.WebServerException:
Unable to start embedded Tomcat
原因应该是spring版本和springcloud版本的问题,把spring boot的版本从2.2.4降为2.1.3后就可以了