代码拉取完成,页面将自动刷新
错误的类文件: /D:/mavenCK/top/dcenter/justAuth-spring-security-starter/1.0.0/justAuth-spring-security-starter-1.0.0.jar!/top/dcenter/ums/security/core/oauth/config/Auth2AutoConfigurer.class
类文件具有错误的版本 55.0, 应为 52.0
请删除该文件或确保该文件位于正确的类路径子目录中。
此项目是用 JDK11 编译的, 你项目版本是设置成 JDK11 试试.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
如果不是新项目, 我重新编译一个JDK8 版本的, 明天你自己改一下版本
top.dcenter
justAuth-spring-security-starter
1.0.2
不好意思, 项目中 JDK11 api 嵌入太深太多, 太晚了,没时间给你改了, 自己改成 JDK11 就可以解决此问题
你好, 1.0.2 版本已使用 JDK8 进行编译. 可以解决你的问题.
<dependency>
<groupId>top.dcenter</groupId>
<artifactId>justAuth-spring-security-starter</artifactId>
<version>1.0.2</version>
</dependency>
<dependency>
<groupId>top.dcenter</groupId>
<artifactId>justAuth-spring-security-starter</artifactId>
<version>1.0.2</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<version>2.3.4.RELEASE</version>
</dependency>
<!-- mysql -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>8.0.21</version>
</dependency>
<!-- 默认会按照下面的优先级自行寻找底层实现,java 11 HttpClient -> OkHttp3 -> apache HttpClient -> hutool-http
示例使用 apache HttpClient .
注意: 如果是 JDK11 则不需要此依赖-->
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.5.12</version>
</dependency>
登录 后才可以发表评论