Hey Marvin,

I can build cas without including hibernate-annotations or 
hibernate-commons-annotations, but I still get the following complaints from 
Tomcat when trying to deploy.

2011-09-12 11:23:33,350 WARN 
[org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - <Ignored XML 
validation warning> org.xml.sax.SAXParseException; lineNumber: 9; columnNumber: 
55; SchemaLocation: schemaLocation value = 
'http://www.springframework.org/schema/beans 
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd 
http://www.springframework.org/schema/tx' must have even number of URI's.

2011-09-12 11:23:33,359 ERROR [org.springframework.web.context.ContextLoader] - 
<Context initialization failed>
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 40 
in XML document from ServletContext resource 
[/WEB-INF/spring-configuration/ticketRegistry.xml] is invalid; nested exception 
is org.xml.sax.SAXParseException; lineNumber: 40; columnNumber: 69; 
cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can 
be found for element 'tx:annotation-driven'.

It would seem that ether I am doing something wrong or the ticketRegistry.xml 
documentation on the CAS User Manual for Jpa is also in need of an update.

Thanks,
Jonathan

________________________________________
From: Marvin Addison [[email protected]]
Sent: Monday, September 12, 2011 10:06
To: [email protected]
Subject: Re: [cas-user] JpaTicketRegistry

> It seemed to me that there should be a "3.6.0.Final" version of 
> hibernate-annotations
> so I did some searching and came across this
> http://lists.jboss.org/pipermail/hibernate-dev/2010-November/005742.html
> To me this means that hibernate-core should replace hibernate-annotations and
> possibly hibernate-commons-annotations.

I'm fairly certain that the hibernate-core dependency is sufficient
for JpaTicketRegistry integration.  I can say for certain that the
annotations dependencies are no longer in our overlay, which works
fine.  Try building without it using 3.6.0.Final, and if you confirm
it works without I'll update the documentation.

M

--
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to