CAS 5.3.x WS-Federation fatal error

8 views
Skip to first unread message
is duplicateview conversation

abdelrahman halawa

unread,
Jul 2, 2019, 5:09:59 AM7/2/19
to cas-...@apereo.org
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,
------------------------------------
photo 
Abdelrahman Halawa
Teacher Assistant, Computer and Systems Department, Al-Azhar University
+2 01008131693 | abdelrah...@gmail.com | Skype: abdelrahmanhalawa | Maadi, Cairo, Egypt

Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages