由于学校机房的IDE只有eclipse,因而不得不在自己的电脑重新下载安装,以便熟悉eclipse开发环境(应付考试)

为了符合之前在IDEA的编码习惯,下面总结了一些eclipse的基本操作和配置

Others

测试验证码存入redis时,spring报错:

org.springframework.data.redis.connection.PoolException: Could not get a resource from the pool; nested exception is io.lettuce.core.RedisConnectionException: Unable to connect to 192.168.161.129:6379
Java

springcloud引入openfeign依赖后,启动项目报错:

Unsatisfied dependency expressed through field 'vodClient'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atguigu.eduservice.client.VodClient': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException: No Feign Client for loadBalancing defined. Did you forget to include spring-cloud-starter-loadbalancer?
Java

在模块的test/java中进行代码测试时,报错:

Failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.0.0:exec (default-cli) on project service_vod: Command execution failed.

Java

使用阿里云视频点播功能时,service_vod 模块的 aliyun-sdk-vod-upload 依赖一直爆红

查阅文档,发现该依赖并未正式开源,需要自行去阿里云官网下载

但是下载完成并通过 cmd 命令手动导入至 maven 仓库后,该依赖仍然爆红,让我感到十分疑惑

Java