Need help with fixing Spring Hibernate error
$8-15 USD / jam
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]);
}
}
ID Projek: #18263198
Tentang projek
27 pekerja bebas membida secara purata $12/jam untuk pekerjaan ini
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. Lagi
typing......................................... ................................................ ..........................
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
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.
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 Lagi
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
We have strong expertise on Java/J2EE and also we will deliver the project on time. Could you please award us the project
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.
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 Lagi
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 Lagi
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
Hi, I can fix this issue as I am working as a software engineer in Spring hibernate. Thanks for your time.
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.
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 Lagi
Hi, I have good knowledge and 2+ experience in java as well as in spring. Looking forward to hear from you.
I have 6 years of experience spring hibernate , microservices. I can complete your requirement as you stated.
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 Lagi