Yes, the project wasn’t in project reference (I added it). But it didn’t do anything better.
I tried src\hibernate.cfg.xml or hibernate.cfg.xml, anyway I put the hibernate.cfg.xml anywhere in the project with no results. Tried double forward slashes and back slashes also.
So finally I merged the 2 projects in one and it works perfectly. thats enough for me, I have lost enough energy on this problem.
Anyway, I suspect that this bug hides another problem (which maybe is not linked…), so queer.
I thank you for all your efforts to help me!!