-
Notifications
You must be signed in to change notification settings - Fork 295
[KSP2] NoClassDefFoundError for LZ4Factory when trying KSP2 #1713
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@ZacSweers were you able to find a workaround for this? |
Also not sure if you're experiencing this, but I'm only getting this error for Apple targets (ios, watchos, tvos, macos, etc...) even though I'm running on a Linux host. Update: removing the Apple targets makes the error go away. |
Not worked around it so far |
And now it happens for me even without the Apple targets |
Similar to #1665, where some dependencies of KSP2 are not packed properly. |
Fixed in #1749 which is available in the nightly build, and will be included in the future 1.0.18 release. |
@ting-yuan Not sure if this is related but on the latest 1.0.19 for Kotlin Beta04 and with KSP2=true, I get:
|
I am still seeing this as well, same error as above. Repro: https://github.com/ZacSweers/CatchUp/actions/runs/8198029572/job/22420905486?pr=1089#step:12:458 |
|
Should be fixed in #1816. |
Repro
Checkout this PR: slackhq/kotlin-cli-util#111
Run
./gradlew check -Pksp.useKSP2=true
This is using
2.0.0-Beta3-1.0.17
Trace
The text was updated successfully, but these errors were encountered: