So my project (project1) is based on maven, and the pom references another project (project2) which itself references anpther project (hibernate). My project doesnt mention hibernate in its pom, however it does use hibernate it its code. Everything works okay with INnelliJ on WIndows but on OSX it fails wherever a reference to hibernate in the code is made. I can build from the commandline using maven okay.
Part of me is wondering if I should add hibernate to the pom of project 1 seeing as project 1 references hibernate classes, but I dont need to do this for Windows so seems to be a Intellij problem somewhere.
I tried Invalidate Caches and it made no different