james-server-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charlie Hubbard <charlie.hubb...@gmail.com>
Subject James Server 3.0 Beta4 missing JPAHeader and jpa-mappings-template.xml
Date Tue, 29 Jan 2013 03:30:35 GMT
I'm getting the following error:

Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'mailetcontext': Injection of resource dependencies
failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'domainlist': Invocation of init method failed; nested
exception is <openjpa-2.1.0-r422266:1071316 nonfatal general error>
org.apache.openjpa.persistence.PersistenceException:
org.xml.sax.SAXException:
jar:file:/Users/charlie/projects/emailarchive/trunk/server/webapps/root/WEB-INF/lib/apache-james-3.0-beta4.jar!/META-INF/jpa-mappings-template.xml
[Location: Line: 28, C: 71]: Type
"org.apache.james.mailbox.jpa.mail.model.JPAHeader" could not be
instantiated.

And when you look in jpa-mappings-template.xml it references
org.apache.james.mailbox.jpa.mail.model.JPAHeader, but that was removed
from the codebase in 3.0.  So why's it still in the files?  Can I just
remove jpa-mappings-template.xml reference in persistence.xml?

Thanks
Charlie

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message