New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
添加注解后SpringBoot启动失败 #108
Comments
新建项目同样的问题。 |
使用2.2.22版本试试,具体可以加一下群。 |
可能是jar冲突,尝试引入一下完整依赖 |
加了这个好了。。。为什么。。。 |
resilience4j是可选功能,不应该影响到正常启动的 |
试试引入这些依赖: <dependency>
<groupId>com.github.lianjiatech</groupId>
<artifactId>retrofit-spring-boot-starter</artifactId>
<version>2.3.0</version>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>logging-interceptor</artifactId>
<version>3.14.9</version>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<version>3.14.9</version>
</dependency>
<dependency>
<groupId>com.squareup.okio</groupId>
<artifactId>okio</artifactId>
<version>1.17.5</version>
</dependency>
<dependency>
<groupId>com.squareup.retrofit2</groupId>
<artifactId>retrofit</artifactId>
<version>2.9.0</version>
</dependency>
<dependency>
<groupId>com.squareup.retrofit2</groupId>
<artifactId>converter-jackson</artifactId>
<version>2.9.0</version>
</dependency> |
这个我之前加过,我参考了https://github.com/ismart-yuxi/retrofit-spring-boot-demo这个示例中的pom.xml,实际上在我这里并不能运行。 |
这个问题在2.3.1已经修复,JDK1.8会出现,抱歉了。修复JDK1.8 SpringBoot启动出现typenotpresentexceptionproxy问题 |
在下载的旧项目中添加的依赖,项目没有添加retrofit-spring-boot-starter依赖之前是可以正常运行的,添加之后运行就报错。
Maven中所有依赖:
报错信息:
没有详细的报错内容,不知道是哪里出了问题?感谢!
The text was updated successfully, but these errors were encountered: