You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a test failure for a clean clone on spectator-nflx for AutoPluginTest. The error is:
com.google.inject.CreationException: Unable to create injector, see the following errors:
1) Error injecting constructor, java.lang.NoClassDefFoundError: com/netflix/spectator/impl/Cache
at com.netflix.spectator.atlas.AtlasRegistry.<init>(AtlasRegistry.java:116)
at com.netflix.spectator.atlas.AtlasRegistry.class(AtlasRegistry.java:110)
while locating com.netflix.spectator.atlas.AtlasRegistry
at com.netflix.spectator.nflx.SpectatorModule.configure(SpectatorModule.java:91) (via modules: com.netflix.spectator.nflx.governator.AutoPlugin -> com.netflix.spectator.nflx.SpectatorModule)
while locating com.netflix.spectator.api.Registry annotated with @com.google.inject.multibindings.OptionalBinder$Default
Caused by: java.lang.NoClassDefFoundError: com/netflix/spectator/impl/Cache
at com.netflix.spectator.atlas.impl.QueryIndex.<init>(QueryIndex.java:89)
at com.netflix.spectator.atlas.impl.QueryIndex.newInstance(QueryIndex.java:41)
at com.netflix.spectator.atlas.impl.Evaluator.<init>(Evaluator.java:64)
The problem is that gradle is resolving it to an older dependency. If the tags are present in the local repo, then the snapshot will have a newer version and the local project will win and get used. Otherwise an older version will get used that maybe incompatible:
The problem is the git tags used for the version were missing. For now user should be sure to do a fetch so that tags are available. Not sure of a good workaround right now, will revisit if it becomes a bigger issue.
There is a test failure for a clean clone on
spectator-nflx
forAutoPluginTest
. The error is:The problem is that gradle is resolving it to an older dependency. If the tags are present in the local repo, then the snapshot will have a newer version and the local project will win and get used. Otherwise an older version will get used that maybe incompatible:
The text was updated successfully, but these errors were encountered: