Marko Bekhta (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *commented* on HV-1937 (
https://hibernate.atlassian.net/browse/HV-1937?atlOrigin=eyJpIjoiYzVmMGU4...
)
Re: Failed to validate items in an attribute of type Collection of Java Record (
https://hibernate.atlassian.net/browse/HV-1937?atlOrigin=eyJpIjoiYzVmMGU4...
)
Hey, Marcos Roberto Petry (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) thanks for reporting the problem. I have tried to run the test case you’ve provided, and
all tests are passing:
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running net.test.BidTest
Feb 03, 2023 9:12:26 PM org.hibernate.validator.internal.util.Version <clinit>
INFO: HV000001: Hibernate Validator 8.0.0.Final
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.122 s - in
net.test.BidTest
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0
I’ve only added the surefire plugin to your project to run the tests from maven:
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M8</version>
</plugin>
</plugins>
</build>
Could you try doing so (adding the surefire plugin and running the maven build in the
terminal) to eliminate any IDE-related issues? If you still see the error after that - it
might be that a problem comes from a particular version of the JDK you are using. Could
you provide that? Thanks!
(
https://hibernate.atlassian.net/browse/HV-1937#add-comment?atlOrigin=eyJp...
) Add Comment (
https://hibernate.atlassian.net/browse/HV-1937#add-comment?atlOrigin=eyJp...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100214- sha1:6115380 )