WARN [org.hibernate.cfg.AnnotationBinder] HHH00194:Package not found or wo package-info.java: com.mycompany.myapp.mypackage
I get this WARNing message during deployment of my hibernate app on JBoss 7. I'm still able to deploy successfully, and hibernate works. But I'd like to eliminate these WARN message at startup.
I tried placing a package-info.java file at the root of my package directory. So, in src/main/java/com/mycompany/myapp/mypackage I have a package-info.java file that looks like
package com.mycompany.myapp.mypackage;
This did not fix the problem. Am I doing the right thing? Thanks for any advice.