Skip to content
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 : tlc2/value/impl/KSubsetValue in Toolbox 1.7.1 CommunityModules.jar #54

Open
carl-reverb opened this issue Nov 2, 2021 · 3 comments

Comments

@carl-reverb
Copy link

I'm unable to run Model checking when I include the CommunityModules.jar file.

TLC threw an unexpected exception.
This was probably caused by an error in the spec or model.
See the User Output or TLC Console for clues to what happened.
The exception was a java.lang.NoClassDefFoundError
: tlc2/value/impl/KSubsetValue
java --version
openjdk 11.0.13 2021-10-19
OpenJDK Runtime Environment Temurin-11.0.13+8 (build 11.0.13+8)
OpenJDK 64-Bit Server VM Temurin-11.0.13+8 (build 11.0.13+8, mixed mode)

I'm also unclear on whether I should have the CommunityModules.jar, the CommunityModules-deps.jar, or both. Attempting to include any versioned module displays an error:
{0} is not a valid library path location

Screen Shot 2021-11-02 at 1 14 38 PM

@lemmy
Copy link
Member

lemmy commented Nov 2, 2021

Unfortunately, this issue will only be fixed with the next Toolbox release. :-( In the meantime, can you copy&paste the operators, assuming you don't care about Java module overrides? If you want the module overrides, it is easiest to switch to a Toolbox nightly build. Lastly, you can grab a CommunityModules release from before I screwed up, assuming it already has what you are after.

Duplicate: #22

@carl-reverb
Copy link
Author

Ok, I saw that other issue but I didn't realize from the comments that it was the same as this one. Thank you for explaining. I'll copy the operators I need, I learn something too from doing so.

@melhindi
Copy link

I can confirm that the error is gone when using the latest (pre-release) build: https://github.com/tlaplus/tlaplus/releases/tag/v1.8.0#latest-tla-files

@lemmy lemmy pinned this issue Dec 28, 2023
@lemmy lemmy changed the title NoClassDefFoundError in Toolbox 1.7.1 CommunityModules.jar NoClassDefFoundError : tlc2/value/impl/KSubsetValue in Toolbox 1.7.1 CommunityModules.jar Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants