Hibernate Books

All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Spring Boot - OpenEntityManagerInViewInterceptor not found
PostPosted: Wed Nov 08, 2017 3:01 am 
Newbie

Joined: Wed Nov 08, 2017 2:14 am
Posts: 1
I am getting the following error when I am accessing context .xml from classpath in external jar from Spring Boot application:

Quote:
org.springframework.boot.SpringApplication- Application startup failed
java.lang.IllegalStateException: Could not evaluate condition on org.springframework.boot.autoconfigure.orm.jpa.JpaBaseConfiguration#transactionManager due to org/springframework/orm/jpa/support/OpenEntityManagerInViewInterceptor not found. Make sure your own configuration does not rely on that class. This can also happen if you are @ComponentScanning a springframework package (e.g. if you put a @ComponentScan in the default package by mistake)


What are the dependencies I need to add to resolve the issue?


Top
 Profile  
 
 Post subject: Re: integrating extenal jar into spring boot application
PostPosted: Wed Nov 08, 2017 3:34 am 
Hibernate Team
Hibernate Team

Joined: Thu Sep 11, 2014 2:50 am
Posts: 1582
Location: Romania
That's a spring framework isssue so you need to ask this question on their forum.

Your issue is no way related to Hibernate.

_________________
If you liked my answer, you are going to love my High-Performance Java Persistence book and my blog as well.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.