You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "wshu-oli (via GitHub)" <gi...@apache.org> on 2023/11/07 08:45:02 UTC
[I] jdk17下报错:Caused by: java.lang.NoClassDefFoundError: Could not initialize class io.netty.util.internal.PlatformDependent0 [rocketmq-dashboard]
wshu-oli opened a new issue, #187:
URL: https://github.com/apache/rocketmq-dashboard/issues/187
应该需要升级netty如:
` <dependency>
<groupId>io.netty</groupId>
<artifactId>netty-all</artifactId>
<version>4.1.82.Final</version>
</dependency>`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] jdk17下报错:Caused by: java.lang.NoClassDefFoundError: Could not initialize class io.netty.util.internal.PlatformDependent0 [rocketmq-dashboard]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #187:
URL: https://github.com/apache/rocketmq-dashboard/issues/187#issuecomment-5075828451
This issue has been automatically closed because there has been no activity for 7 days. If you believe this issue is still relevant, please reopen it with updated information.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] jdk17下报错:Caused by: java.lang.NoClassDefFoundError: Could not initialize class io.netty.util.internal.PlatformDependent0 [rocketmq-dashboard]
Posted by "RockteMQ-AI (via GitHub)" <gi...@apache.org>.
RockteMQ-AI commented on issue #187:
URL: https://github.com/apache/rocketmq-dashboard/issues/187#issuecomment-5547867737
**Issue Evaluation**
Category: `bug` | Status: **Confirmed**
This is a known JDK 17 compatibility issue. The `NoClassDefFoundError: Could not initialize class io.netty.util.internal.PlatformDependent0` occurs because older Netty versions use internal JDK APIs that were removed/restricted in JDK 17.
**Root Cause:** The dashboard depends on a Netty version older than 4.1.77 that relies on `sun.misc.Unsafe` internal access patterns blocked by JDK 17 module system.
**Fix:** Upgrade Netty to 4.1.82+ as suggested. This resolves the PlatformDependent0 initialization failure.
**Note:** This issue has been open since Nov 2023 and marked stale. A PR upgrading the Netty dependency would be welcome.
---
*Automated evaluation by github-manager*
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] jdk17下报错:Caused by: java.lang.NoClassDefFoundError: Could not initialize class io.netty.util.internal.PlatformDependent0 [rocketmq-dashboard]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #187: jdk17下报错:Caused by: java.lang.NoClassDefFoundError: Could not initialize class io.netty.util.internal.PlatformDependent0
URL: https://github.com/apache/rocketmq-dashboard/issues/187
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org