You could just reply to this thread with the solution and it will then be 
available for anyone that searches for this issue.

Ray

On Tue, 2019-07-02 at 17:15 -0700, abdelrahman halawa wrote:
By the way, I solved that error by myself. If anyone faced this issue I will 
help him for free. Just send an email to me :)

On Tuesday, 2 July 2019 11:11:28 UTC+2, abdelrahman halawa wrote:
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?


--

Ray Bon
Programmer Analyst
Development Services, University Systems
2507218831 | CLE 019 | r...@uvic.ca<mailto:r...@uvic.ca>

I respectfully acknowledge that my place of work is located within the 
ancestral, traditional and unceded territory of the Songhees, Esquimalt and 
WSÁNEĆ Nations.

-- 
- 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 cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/747fa1f6b89341753db11f2ceaddf26a62f56e0e.camel%40uvic.ca.

Reply via email to