Skip to content
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

jdk与gradle版本冲突 #1

Open
HandosmHuang opened this issue Jul 15, 2023 · 2 comments
Open

jdk与gradle版本冲突 #1

HandosmHuang opened this issue Jul 15, 2023 · 2 comments

Comments

@HandosmHuang
Copy link

HandosmHuang commented Jul 15, 2023

想问一下作者用的是jdk几呢?我使用jdk8运行项目的代码不会出现编译错误,但是一旦运行就会提示jdk版本过低。但是当使用jdk11时,运行又会提示一些类找不到。
下面是我直接打开项目,使用jdk8运行的结果:
7WAH}_$5DXTKD QFR0LD{L8(2)
下面是jdk11运行结果:
(9M(MQF6(E4)F2$E{CQ_9K3

@jjm2473
Copy link
Owner

jjm2473 commented Jul 17, 2023

当时应该是jdk8吧。三年前的安卓系统还是可以运行的。

如果缺少某些类,参考这个 https://github.com/jjm2473/android-spring-boot/blob/master/mbeanserver/NOTE

@jjm2473
Copy link
Owner

jjm2473 commented Aug 13, 2023

https://github.com/yanzhenjie/AndServer 这个项目看起来不是直接支持springboot,而是自己弄了一套注解系统,而且注解类跟springboot不兼容。粗略查看了代码,估计不支持生成类(也就是CGLIB),也就不支持生成代理,不支持切片编程,不支持数据库语句的注解。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants