Click here to Skip to main content
15,902,891 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello every one, i'm just a beginner of hibernate, so i want to build an app for order system, but i stuck with this error and i don't know how to solve it. Could anyone help me please?

This is a problem. I have all POJO classes and all mapping-Xml file already, and pf course there are a hibernate.cfg.xml file to configuration. But when i want to test is it work but i got this error "Can not bind factory to JNDI". So what is this error about? How can i solve it?

Updated 5-Nov-11 0:35am

1 solution

Here a thread(OP(chen_yulei) solved himself)
Could not bind factory to JNDI[^]
also this
I am Receiving a Warning : Could not bind factory to JNDI[^]
Share this answer
Comments 5-Nov-11 10:33am    
Thank you so much, the problem was solved. Thanks in million!!

It's just don't need to name for session-factory in the hibernate configuration
thatraja 5-Nov-11 11:12am    
You welcome, cheers.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900