Github user aledsage commented on a diff in the pull request:
https://github.com/apache/incubator-brooklyn/pull/1089#discussion_r46714780
--- Diff:
core/src/main/java/org/apache/brooklyn/core/mgmt/classloading/JavaBrooklynClassLoadingContext.java
---
@@ -82,6 +87,10 @@ private ClassLoader getClassLoader() {
try {
className =
DeserializingClassRenamesProvider.findMappedName(className);
return (Maybe) Maybe.of(getClassLoader().loadClass(className));
+ } catch (NoClassDefFoundError e) {
+ String msg = "Invalid linkage in (transitive dependencies of)
class "+className+": "+e.toString();
+ LOG.debug(msg);
--- End diff --
I'll live with flooding the debug log, as folk should really fix he
underlying problem.
Longer term, we could guard to only log.warn once about it for a given
class.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---