Skip to content

Unable to locate constructor for embeddable CreditCardNumber #127

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

Closed
nWidart opened this issue Mar 23, 2025 · 1 comment
Closed

Unable to locate constructor for embeddable CreditCardNumber #127

nWidart opened this issue Mar 23, 2025 · 1 comment

Comments

@nWidart
Copy link

nWidart commented Mar 23, 2025

Hello,

Thank you for this project, really helpful to see the modulith example.

When running the tests, I'm getting 5 failed tests:

Image

All about the same error:

org.springframework.orm.jpa.JpaSystemException: Unable to locate constructor for embeddable 'org.springsource.restbucks.payment.CreditCardNumber'

Is there something to do to prevent this?

Thank you

@nWidart nWidart changed the title Many failing tests Unable to locate constructor for embeddable CreditCardNumber Mar 23, 2025
@odrotbohm
Copy link
Owner

It looks like you're using IntelliJ, and it's a known issue that it doesn't automatically run build steps declared in the pom.xml. If you set up IDEA as described in the comment here, the build inside the IDE should work fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants