I just code my server extension with hibernate without using maven. I copy hiberante, mysql connector... jars file to my libs folder and put hibernate.cfg.xml like this below picture
then i configure jar file like
Then I built artifact in Window OS. My extension have run without any error, it was successfully done
But when I copy whole my project to Mac. Opened it and rebuilt artifact, run smartfox and it trace that "Cant not found hibernate.cfg.xml".
Code: Select all
private static final SessionFactory SESSION_FACTORY =
I tried to replace "/resources/hibernate.cfg.xml" with relative path but it still false
What did I wrong?
Sorry, I dont know how to upload images
p/s: I use IntelliJ to code and build artifact