Skip to content

Is Java 17 supported? Version 2.2.0 available? #68

@adammscisz

Description

@adammscisz

Please make sure these boxes are checked before submitting your issue - thank you!

  • [ x] Fixing my submitted issue is done by making changes to code in this repository.

Your issue here:
Hi,
trying to run validator on java oracle 17.0.6 and maven 3.8.7 and having trouble with google juice.
I get errors:
"[ERROR] Caused by: Unable to load cache item
[ERROR] Caused by: Could not initialize class com.google.inject.internal.cglib.core.$MethodWrapper"

I'm not sure the version used in validator (4.2.2) should work with Java 17 and manual exclusion and inclusion of 5. doesn't seem to work either.

I can see in sources of 2.2.0 that deps have been updated. What's the status of that version? When will it be released?
I downloaded sources of 2.2.2 and built it locally and was getting error that activation.Database was missing, so I added the dependency and it worked

    <dependency>
        <groupId>javax.activation</groupId>
        <artifactId>activation</artifactId>
        <version>1.1.1</version>
    </dependency>

Is that reliable now?;)

Thank you,
Adam

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions