Is it possible to put my entity in a project and the session in another one and make an EAR project to deploy them?
When I do that, I obtain this error:
09:52:59,024 ERROR [SocketClientInvoker] Got marshalling exception, exiting
java.lang.ClassNotFoundException: org.hibernate.hql.ast.QuerySyntaxException
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
Can you help me?