question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

2.25 compiler jar missing shaded dependency classes

See original GitHub issue

After updating to use 2.25 running in a gradle build via kapt I am seeing:

java.lang.NoClassDefFoundError: dagger/shaded/auto/common/BasicAnnotationProcessor

A quick download of the sources jar shows they are missing there as well. (assuming they should have been included)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:15
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

6reactions
bcorsocommented, Oct 23, 2019

This should now be fixed in release 2.25.2

2reactions
lucas34commented, Oct 23, 2019

Also facing the same issue after updating to 2.25 on Android / Kotlin project

Caused by: java.lang.ClassNotFoundException: dagger.shaded.auto.common.BasicAnnotationProcessor
        at java.net.URLClassLoader.findClass(URLClassLoader.java:382)

Am I missing any configuration or new dependency ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Maven shade is only shading some classes from the ...
Decompiling the jar shows that ConfigManager and Utils are shaded, but Logger is ignored.
Read more >
Apache Maven Shade Plugin – Introduction
Apache Maven Shade Plugin ... This plugin provides the capability to package the artifact in an uber-jar, including its dependencies and to shade ......
Read more >
SDK and Worker Dependencies - Dataflow - Google Cloud
The Apache Beam SDKs and Dataflow workers depend on common third-party components which then import additional dependencies. Version collisions can result ...
Read more >
OSGI requirement issue - jersey.repackaged
Hi,. I'm facing similar behavior. I've developed Confluence plugin, to which I've added as a dependency - a jar file of another project...
Read more >
Dependency-Check Report
Dependency, Vulnerability IDs, Package, Highest Severity, CVE Count, Confidence ... grpc-netty-shaded-1.23.0.jar (shaded: io.netty:netty-codec-http2:4.1.38.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found