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
Error creating DefaultJpaContext bean in test cases [DATAJPA-813] #1173
Comments
Oliver Drotbohm commented What does your test setup look like? Do you have a sample project to reproduce the error? |
Marcel Stör commented I don't have a sample project that I can expose, sorry. The root cause seems to be that we only have an |
Oliver Drotbohm commented That's sort of expected. I've pushed a test case showing the integration to work as advertised. Can you see any fundamental differences to the approach you're using? |
Mike Makidis commented Just upgraded from Spring Data JPA 1.8.2 to 1.9.4 and I get the same exception. My configuration is:
in my applicationContext.xml. StackOverflow also has an entry about this issue: http://stackoverflow.com/questions/35126880/spring-data-jpa-compatibility-issue-error-creating-bean-with-name-jpacontext |
Oliver Drotbohm commented Looks like the JNDI lookup is not exposing the configured type early enough so that our |
Oliver Drotbohm commented That's in place in master and scheduled for Hopper RC1. We now also detect bean definitions for |
spring-projects-issues commentedOct 14, 2015
Marcel Stör opened DATAJPA-813 and commented
After upgrading from commons:1.10.2 and jpa:1.8.2 to the Gosling combo (1.11, 1.9.) I get the following exception in my unit tests:
The exception really confuses me because there is an
EntityManager
available in the context (at least before Gosling). I confirmed this one more time by adding the following code to the unit test class and then check for not-null in the test:Any ideas how to tackle this?
Affects: 1.9 GA (Gosling)
Issue Links:
("depends on")
2 votes, 4 watchers
The text was updated successfully, but these errors were encountered: