-
Notifications
You must be signed in to change notification settings - Fork 737
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
NoClassDefFoundError: org/threeten/extra/AmPm #1670
Comments
which JDK are you running on ? |
Using JDK 8. |
I'm running into the same problem (on JDK11). To reproduce:
Output:
|
This seems like a dependency issue - CC'ing myself. |
@kluever Any updates on this? |
Have an internal CL pending - should be sync'ed out shortly (switching to use FQCN string literals for the ThreeTenExtra types to avoid a dependency) |
…r a dependency on ThreeTenExtra. Fixes #1670 PiperOrigin-RevId: 327862374
…r a dependency on ThreeTenExtra. Fixes #1670 PiperOrigin-RevId: 327862374
…r a dependency on ThreeTenExtra. Fixes #1670 PiperOrigin-RevId: 327862374
I am having the same problem. Is there any way to fix this problem? Thank you |
This was fixed in #1794, which will be in the next release (#2061). You could wait for the next release, or add an explicit dependency on
|
I just add this dependency on my local mac, which is in .m2/repository/org/threeten/threeten-extra/1.5.0/threeten-extra-1.5.0.jar. When I run the same command, it still reports the same issue. I am just wondering if I place this dependency in the incorrect location? Thank you. |
It needs to be on the processorpath when you run Error Prone, e.g. by adding an entry in |
@cushon Resolved! Thank you so much! |
…r a dependency on ThreeTenExtra. Fixes google#1670 PiperOrigin-RevId: 328144552
ErrorProne 2.4, using error_prone_core-2.4.0-with-dependencies.jar, appears not to contain the threeten dependencies for the new FromTemporalAccessor check.
The text was updated successfully, but these errors were encountered: