title: JPA can NOT generate tables
body: <p>we have two standalone web projects need to share same entities , so we create one project for entities and use maven to make sure the two web  projects can refer to the entities correctly, but when we try to deploy the web project with tomcat we found the database tables can NOT be generated by JPA , and if we copy all the related entities to each web project it works fine.  the entity project will output entity.jar which include all entity classes and will be included in each web project , just like refer any 3p jar. i am really confused abt this and what i am suspecting is if tomcat should load the entity.jar earlier than other classes or we need to re-write classloader to fix this . this issue have blocked us whole day and there are less info on website for this specified issue , thanks very much .</p>