Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Error when running test on a new project #678
If I create a new project with the following command:
and open it and run the default tests I get the following error:
If I remove the h2 dependency from the pom.xml file I get some errors from Hibernate and the same error again.
If I remote the h2 and jpa dependencies then tests run as expected.
My question is to parts:
Thanks for getting in touch, but it feels like this is a question that would be better suited to Stack Overflow. As mentioned in the guidelines for contributing, we prefer to use GitHub issues only for bugs and enhancements.
You are using Java10 so there are things that have changed that you should be aware. The full stacktrace is
Thank you for that, it fixed my problem.
Do you think it would be a reasonable enhancement to the initializr app to include javax.xml.bind as a dependency if you have picked Java version 10 and jpa?
As a wider questions should javax.xml.bind be a dependency in spring boot data starter jpa?