RockteMQ-AI commented on issue #749: URL: https://github.com/apache/rocketmq-spring/issues/749#issuecomment-5235130665
**Issue Evaluation** Category: `bug` | Status: **Needs Investigation** The `NoClassDefFoundError: org/apache/rocketmq/shaded/com/google/common/util/concurrent/AbstractService$6` during graceful shutdown indicates a classloading issue in the shaded Guava dependency within `rocketmq-v5-client-spring-boot`. **Analysis:** - The `$6` anonymous inner class of `AbstractService` is missing at runtime, suggesting the shaded JAR may not include all required classes, or there is a version mismatch between compile-time and runtime classpaths. - This occurs during `PushConsumerImpl.close()` → `AbstractService.stopAsync()` → `notifyFailed()`, meaning the consumer shutdown path references a class that was not properly shaded or is missing from the classpath. - Your environment: Spring Boot 2.7.18 + rocketmq-v5-client-spring-boot 2.3.1. **Possible causes:** 1. Shading plugin configuration missing some Guava inner classes 2. Classpath conflict between the shaded Guava and another Guava version on the classpath 3. Spring Boot 2.7.x classloader behavior with shaded JARs **Suggestion:** Try upgrading to the latest `rocketmq-v5-client-spring-boot` version (2.3.x latest) which may have fixed the shading configuration. If the issue persists, this needs a fix in the client shading plugin. --- *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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
