Hello,
*I'm using CAS v5.3.9. I want to use WS-federation feature so I added these
dependencies into pom.xml*

<dependency>
<groupId>org.apereo.cas</groupId>
<artifactId>cas-server-support-ws-sts</artifactId>
<version>${cas.version}</version>
</dependency>
<dependency>
<groupId>org.apereo.cas</groupId>
<artifactId>cas-server-support-ws-idp</artifactId>
<version>${cas.version}</version>
</dependency>

*After that, when I was adding JPA ticket registry* {

<dependency>
<groupId>org.apereo.cas</groupId>
<artifactId>cas-server-support-jpa-ticket-registry</artifactId>
<version>${cas.version}</version>
</dependency> }

*I got this error*

2019-07-02 11:54:37,058 WARN [org.apereo.cas.web.CasWebApplicationContext]
- <Exception encountered during context initialization - cancelling refresh
attempt: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'casBeanValidationPostProcessor' defined in class
path resource [org/apereo/cas/config/CasCoreUtilConfiguration.class]:
BeanPostProcessor before instantiation of bean failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name
'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration':
Initialization of bean failed; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'ticketTransactionManager' defined in class path
resource [org/apereo/cas/config/JpaTicketRegistryConfiguration.class]:
Unsatisfied dependency expressed through method 'ticketTransactionManager'
parameter 0; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'ticketEntityManagerFactory' defined in class path resource
[org/apereo/cas/config/JpaTicketRegistryConfiguration.class]: Invocation of
init method failed; nested exception is org.hibernate.AnnotationException:
No identifier specified for entity:
org.apereo.cas.ticket.SecurityTokenTicket>

Any help?

-- 
Best regards,
------------------------------------

[image: photo]
*Abdelrahman Halawa*
Teacher Assistant, Computer and Systems Department, Al-Azhar University
+2 01008131693 <+2+01008131693> | [email protected] | Skype:
abdelrahmanhalawa <https://mail.google.com/mail/u/0/#> | Maadi, Cairo, Egypt
<http://eg.linkedin.com/pub/abdelrahman-halawa/2b/689/886>
<http://twitter.com/Abdelrahman_S_H>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAMKQGEaq-LMfVfStdfNwJ3CQka1qnW2Eg4CWjF-HM5o%2BvRLG4w%40mail.gmail.com.

Reply via email to