Nov 26th, 2009, 04:08 PM
Roo 1.0.0 RC3 exception when adding entity
I'm trying to make what appears to be a simple application, but I get a ClassDefNotFound exception on JAXBException when trying to create an entity.
I've attached the stack trace and a roo script file that reproduce the issue for me. Here are my steps:
1. roo script --file datacollection.roo
2. mvn tomcat:run
3. Visit localhost:8080/datacollection
4. Click "Create new Stat Context"
5. Enter name "Foo"
6. Press "Save"
The page navigates to an internal error page, and tomcat spits out the attached stack-trace.
Nov 26th, 2009, 04:50 PM
This is a known issue with Hibernate on Java 5, which is not directly related to Roo. See https://jira.springsource.org/browse/ROO-224 for details.
Nov 26th, 2009, 09:52 PM
Thanks so much for the prompt reply Joris, I'm lucky this was an easy one