-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
EasyScheduler-JDK compatibility issue(EasyScheduler-JDK兼容问题) #566
Comments
It is recommended to explain and prompt to use OPENJDK1.8 in the deployment documentation. 建议在部署文档里说明并提示使用 OPENJDK1.8 |
We use Oracle official jdk1.8 internally, and open jdk 1.8 in docker. At present, we have not encountered such a problem. We will locate it according to your environment. 我们内部使用的是Oracle官方jdk1.8,docker中使用的是open jdk 1.8,目前没有遇到这样问题,根据你的环境我们定位一下 |
Environmental information: Linux idc.corp.com 3.10.0-957.el7.x86_64 #1 SMP Thu Nov 8 23:39:32 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux Linux version 3.10.0-957.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC) ) #1 SMP Thu Nov 8 23:39:32 UTC 2018 java version "1.8.0_211" |
Which service starts reporting this error? 哪个服务启动报这个错误? |
[root@3d722ff6f095 logs]# cat /etc/redhat-release |
Magical, but seeing the error message is JDK related, or thank you for your reply.
|
The backend uses the Oracle official JDK1.8 deployment startup (API) error, and can be started normally by switching to OPENJDK1.8.
Exception information:
java.lang.ClassCastException: class jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to class java.net.URLClassLoader (jdk.internal.loader.ClassLoaders$AppClassLoader and java.net.URLClassLoader are in module java.base of loader 'bootstrap')
At org.apache.jasper.compiler.JspRuntimeContext.(JspRuntimeContext.java:94)
At org.apache.jasper.servlet.JspServlet.init(JspServlet.java:100)
At org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:643)
At org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:422)
At org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:892)
...
后端使用Oracle官方JDK1.8 部署启动(API)报错,换成OPENJDK1.8可以正常启动
异常信息:
java.lang.ClassCastException: class jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to class java.net.URLClassLoader (jdk.internal.loader.ClassLoaders$AppClassLoader and java.net.URLClassLoader are in module java.base of loader 'bootstrap')
at org.apache.jasper.compiler.JspRuntimeContext.(JspRuntimeContext.java:94)
at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:100)
at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:643)
at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:422)
at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:892)
...
The text was updated successfully, but these errors were encountered: