If you want to use JPA annotations with JSF, Toplink and Spring running under Tomcat, then you MUST include the Toplink essentials jar in the Tomcat lib directory, along with any jdbc driver classes. Your persistence.xml file can reside anywhere on the classpath.
You don't get a warning if you don't, other than the "abstract schema does not exist" message.
No comments:
Post a Comment