-
Notifications
You must be signed in to change notification settings - Fork 150
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
'JSR-303 validator failed to initialize' error remains even I followed instruction #260
Comments
@lilyzhang79/z this project will fix the problem faster if you donate a few dollars to it; just click here and pay via Stripe, it's very fast, convenient and appreciated; thanks a lot! |
I added two more dependencies in
|
@lilyzhang79 do you remember which deps were added? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I want to use the @RetryOnFailure annotation, so I added the dependencies and it compiled but got the following error.
I do not need to use the validator annotation. Is there a way I can exclude it so I do not need to solve the dependencies here?
I tried to resolve the dependency by following https://aspects.jcabi.com/jsr-303.html, but still got the same error.
In docker when I started the service by
java $JAVA_OPTS -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -Djava.security.egd=file:/dev/./urandom -jar /app.jar
, it gave error.so my current pom.xml have the following:
and
The text was updated successfully, but these errors were encountered: