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

不准备兼容JDK11了么? #3060

Closed
yann9 opened this issue Jan 31, 2019 · 19 comments
Closed

不准备兼容JDK11了么? #3060

yann9 opened this issue Jan 31, 2019 · 19 comments

Comments

@yann9
Copy link

yann9 commented Jan 31, 2019

jdk9 以后原来lib下的很多jar包删除了
编译会报一堆错误出来
现在都jdk11了,不准备兼容么?

Errors occurred while build effective model from /Users/Yann/.gradle/caches/modules-2/files-2.1/com.alibaba/druid/1.1.9/e6a9ff9e84dd1c498d9e12373331fbacd92d330a/druid-1.1.9.pom:
    'dependencies.dependency.systemPath' for com.alibaba:jconsole:jar must specify an absolute path but is ${env.JAVA_HOME}/lib/jconsole.jar in com.alibaba:druid:1.1.9
    'dependencies.dependency.systemPath' for com.alibaba:tools:jar must specify an absolute path but is ${env.JAVA_HOME}/lib/tools.jar in com.alibaba:druid:1.1.9
Errors occurred while build effective model from /Users/Yann/.gradle/caches/modules-2/files-2.1/com.alibaba/druid/1.1.9/e6a9ff9e84dd1c498d9e12373331fbacd92d330a/druid-1.1.9.pom:
    'dependencies.dependency.systemPath' for com.alibaba:jconsole:jar must specify an absolute path but is ${env.JAVA_HOME}/lib/jconsole.jar in com.alibaba:druid:1.1.9
    'dependencies.dependency.systemPath' for com.alibaba:tools:jar must specify an absolute path but is ${env.JAVA_HOME}/lib/tools.jar in com.alibaba:druid:1.1.9
Errors occurred while build effective model from /Users/Yann/.gradle/caches/modules-2/files-2.1/com.alibaba/druid/1.1.9/e6a9ff9e84dd1c498d9e12373331fbacd92d330a/druid-1.1.9.pom:
    'dependencies.dependency.systemPath' for com.alibaba:jconsole:jar must specify an absolute path but is ${env.JAVA_HOME}/lib/jconsole.jar in com.alibaba:druid:1.1.9
    'dependencies.dependency.systemPath' for com.alibaba:tools:jar must specify an absolute path but is ${env.JAVA_HOME}/lib/tools.jar in com.alibaba:druid:1.1.9
Errors occurred while build effective model from /Users/Yann/.gradle/caches/modules-2/files-2.1/com.alibaba/druid/1.1.9/e6a9ff9e84dd1c498d9e12373331fbacd92d330a/druid-1.1.9.pom:
    'dependencies.dependency.systemPath' for com.alibaba:jconsole:jar must specify an absolute path but is ${env.JAVA_HOME}/lib/jconsole.jar in com.alibaba:druid:1.1.9
    'dependencies.dependency.systemPath' for com.alibaba:tools:jar must specify an absolute path but is ${env.JAVA_HOME}/lib/tools.jar in com.alibaba:druid:1.1.9
Errors occurred while build effective model from /Users/Yann/.gradle/caches/modules-2/files-2.1/com.alibaba/druid/1.1.9/e6a9ff9e84dd1c498d9e12373331fbacd92d330a/druid-1.1.9.pom:
    'dependencies.dependency.systemPath' for com.alibaba:jconsole:jar must specify an absolute path but is ${env.JAVA_HOME}/lib/jconsole.jar in com.alibaba:druid:1.1.9
    'dependencies.dependency.systemPath' for com.alibaba:tools:jar must specify an absolute path but is ${env.JAVA_HOME}/lib/tools.jar in com.alibaba:druid:1.1.9
...
...
...
...
省略几百行

@wenshao
Copy link
Member

wenshao commented Jan 31, 2019

目前编译有问题,但运行使用应该没问题吧,我这边也会尽快花时间处理JDK 11编译错误的问题

@taojoe
Copy link

taojoe commented May 13, 2019

解决的怎么样了?

@lehug
Copy link

lehug commented Aug 28, 2019

目前编译有问题,但运行使用应该没问题吧,我这边也会尽快花时间处理JDK 11编译错误的问题

赶紧解决呀

@ifu25
Copy link

ifu25 commented Oct 24, 2019

目前编译还是有问题:
openjdk 11

'dependencies.dependency.systemPath' for com.alibaba:jconsole:jar must specify an absolute path but is ${env.JAVA_HOME}/lib/jconsole.jar in com.alibaba:druid:1.1.20
'dependencies.dependency.systemPath' for com.alibaba:tools:jar must specify an absolute path but is ${env.JAVA_HOME}/lib/tools.jar in com.alibaba:druid:1.1.20

@dannyxu2015
Copy link

dannyxu2015 commented Nov 4, 2019

依旧有问题,会有楼上的提示信息出现。但貌似不影响使用,我用的是mac adoptopenjdk-11和 Linux openJDK 11+28,都出现类似错误信息。

@soyacen
Copy link

soyacen commented Nov 26, 2019

问题还在

@citywalki
Copy link

不影响使用,但是看着真的难受

@ifu25
Copy link

ifu25 commented Dec 3, 2019

我使用的临时解决方案,强迫症对这个问题真是无奈。
https://weiku.co/article/471/

@citywalki
Copy link

我使用的临时解决方案,强迫症对这个问题真是无奈。
https://weiku.co/article/471/

tks

@beijixing1745
Copy link

我使用的临时解决方案,强迫症对这个问题真是无奈。
https://weiku.co/article/471/
tks

@pangyandong
Copy link

druid兼容jdk11、13版本的最新解决方案已出,参考https://www.dongyunit.com/druid-jdk11.html

@cyzaoj
Copy link

cyzaoj commented Apr 17, 2020

???这问题修复吗?

@yann9
Copy link
Author

yann9 commented Apr 20, 2020

已换 Hikari

@yann9 yann9 closed this as completed Apr 20, 2020
@mghio
Copy link

mghio commented Aug 31, 2020

问题还在???

@markvivv
Copy link

问题还在,换回springboot自带的数据库连接池了

@pkaq
Copy link

pkaq commented Mar 11, 2021

问题还在

@xiaochangbai
Copy link

@pkaq
Copy link

pkaq commented Sep 27, 2021

已换 Hikari

@jinger7281
Copy link

挖坟说下,官方在1.2.12及以后版本中修复了这个问题,但是没有在Issue或者更新说明中提及,修改的commit是June 6, 2022 commit id 7e4778b

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