Need help with fixing Spring Hibernate error

Закрито Опубліковано %project.relative_time Оплачується при отриманні
Закрито

I want to run a very basic Spring Hibernate program but getting this error. I want help to make sure the example is running.

[login to view URL]: Error creating bean with name 'beanConfig': Unsatisfied dependency expressed through field 'entityManagerFactory'; nested exception is [login to view URL]: Error creating bean with name 'getSessionFactory' defined in class path resource [com/zrsol/tours/toursproj/[login to view URL]]: Bean instantiation via factory method failed; nested exception is [login to view URL]: Failed to instantiate [[login to view URL]]: Circular reference involving containing bean 'beanConfig' - consider declaring the factory method as static for independence from its containing instance. Factory method 'getSessionFactory' threw exception; nested exception is [login to view URL]

Here is the code for BeanConfig

@Configuration

public class BeanConfig {

@Autowired

private EntityManagerFactory entityManagerFactory;

@Bean

public SessionFactory getSessionFactory(){

if([login to view URL]([login to view URL]) == null){

throw new NullPointerException("factory is not a hibernate factory.");

}

return [login to view URL]([login to view URL]);

}

}

J2EE Java Java Spring Архітектура ПЗ

ID Проекту: #18263198

Про проект

27 заявок(-ки) Дистанційний проект Остання активність 5 роки(ів) тому

27 фрілансерів(-и) готові виконати цю роботу у середньому за $12/годину

idragon712

Dear Sir Here is an expert of web development. Especially I have mastered at Java and its framework. I have rich experiences with Spring/Hibernate. I hope we can discuss about the project in more details via chat. Більше

$15 USD / година
(83 відгуків(и))
7.8
trustus

Hello, We have a team of Skilled Java-J2EE professionals with experience up to 8 years. ===== Our Expertise in Java / J2EE : * Desktop Applications : Swing, Eclipse Rich Client Platform, AWT, SWT, RMI * Framework Більше

$15 USD / година
(201 відгуків(и))
7.9
liveexperts123

typing......................................... ................................................ ..........................

$15 USD / година
(59 відгуків(и))
7.1
langlangFan

Hello I am expert with website and design. I am good at spring bot and i have developed with similar projects to yours I can help you and want to work for you. Please Chat with me. Thanks. Lang Lang

$16 USD / година
(15 відгуків(и))
6.1
kamiomar

Hi i am expert in java, j2ee having 12+ professional experience i will help you in your spring framework. more we discus over chat if you like Thanks Kamran.

$15 USD / година
(38 відгуків(и))
6.1
paulprabhakarand

Hi, I am an expert developer on Java, Spring Framework, Hibernate, JPA, MYSQL and Oracle. More than 50 applications I have developed and delivered for several customers across the world. Please come for chat, let us d Більше

$13 USD / година
(48 відгуків(и))
5.9
deytps86

Hello I am working in Java J2EE technologies for 17 years. I worked in Springboot Spring JPA Repository. Can we further talk on this? Thanks

$15 USD / година
(33 відгуків(и))
5.2
microservices

We have strong expertise on Java/J2EE and also we will deliver the project on time. Could you please award us the project

$8 USD / година
(23 відгуків(и))
4.2
dk5

Hi, I have worked on several projects related to hibernate and spring , i can resolve the specified error in 2 to 3 hours max. Let , me know if you need any help. Best Regards.

$8 USD / година
(12 відгуків(и))
4.0
simrankaurc

Hello , I am agile safe 4.0 certified I have 7 year of experience in Software development including technologies java, j2ee, spring , hibernate, ,Rest apis, php unix shell scripts, apache tomcat, jboss, server confi Більше

$8 USD / година
(7 відгуків(и))
3.7
pavan45

Hi, I am Pavan from India. I have 10+ years of experience in Java, J2ee, Springs Spring boot framework , ORM frameworks (HIbernate, JPA, MyBatis). I can read the project description its looks like some Spring dep Більше

$13 USD / година
(5 відгуків(и))
2.4
arijit12345

It is easy and common error that i know how to solve. I think, you are using maven. You don't need to write this code, it will come automatically from web.xml. You can give me your task, i will do it for sure. Don't wo Більше

$8 USD / година
(2 відгуків(и))
0.7
AmitBhambri12345

Hi I am working with spring and hibernate from past 9 years. Do send me the project so that I can fix it .. I will definitely help you with this . Thanks, Amit

$8 USD / година
(0 відгуків(и))
0.0
InderShekhawat

Hi, I can fix this issue as I am working as a software engineer in Spring hibernate. Thanks for your time.

$22 USD / година
(0 відгуків(и))
0.0
GuruPrasadMS1

i am an experianced spring hibernate developer, i have a good idea about what is the cause of that error. i can help you fix it.

$11 USD / година
(0 відгуків(и))
0.0
AnandWesly

Expertise in Java,Spring,EJB,JPA,PL SQL..• B.E. (Electronics and Communication Engineering) with nearly 7 years of experience as Technical Leader and with strong domain knowledge of Billing System and Product Engineeri Більше

$13 USD / година
(0 відгуків(и))
0.0
bhagiblack

Hi, I have good knowledge and 2+ experience in java as well as in spring. Looking forward to hear from you.

$10 USD / година
(0 відгуків(и))
0.0
rahulrrchauhan

I have experience in spring boot development.

$12 USD / година
(0 відгуків(и))
0.0
nileshrmpatil

I have 6 years of experience spring hibernate , microservices. I can complete your requirement as you stated.

$16 USD / година
(0 відгуків(и))
0.0
sachinkotagiri

i am an professional Middle ware developer with technologies Java, Kotlin using spring boot microservices with oracle. I very flexible and ready to accept new challenges and passionate in completing the given work Більше

$8 USD / година
(0 відгуків(и))
0.0