I tried to solve the problem by adding this repository 
https://mvnrepository.com/artifact/org.apereo/spring-webflow-client-repo/1.0.3

but unfortunately faced this error 

 *ERROR 
[org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/].[dispatcherServlet]]
 - <Servlet.service() for servlet [dispatcherServlet] in context with path [] 
threw exception │*│*java.lang.ClassCastException: class 
org.apereo.spring.webflow.plugin.ClientFlowExecutionRepository**$SerializedFlowExecutionState**
 cannot be cast to class 
org.apereo.cas.web.flow.executor.ClientFlowExecutionRepos│*│*       at 
org.apereo.cas.web.flow.executor.ClientFlowExecutionRepository.getFlowExecution(**ClientFlowExecutionRepository.java:75**)
 ~[cas-server-core-webflow-api-6.1.3.jar!/:6.1.3]*                              
 * │*│*       at 
org.springframework.webflow.executor.FlowExecutorImpl.resumeExecution(**FlowExecutorImpl.java:167**)
 ~[spring-webflow-2.5.1.RELEASE.jar!/:2.5.1.RELEASE]*                           
                       * │*│       *at 
jdk.internal.reflect.GeneratedMethodAccessor345.invoke(Unknown Source) ~[?:?]*  
                                                                                
                                       * │*│*       at 
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(**DelegatingMethodAccessorImpl.java:43**)
 ~[?:?]*                                                                        
                         * │*│       *at 
java.lang.reflect.Method.invoke(**Method.java:566**) ~[?:?]*                    
                                                                                
                                           * │*│*       at 
org.springframework.util.ReflectionUtils.invokeMethod(**ReflectionUtils.java:279**)
 ~[spring-core-5.2.0.RELEASE.jar!/:5.2.0.RELEASE]*                              
                                        * │*│*       at 
org.springframework.cloud.context.scope.GenericScope**$LockedScopedProxyFactoryBean**.invoke(**GenericScope.java:499**)
 ~[spring-cloud-context-2.2.0.RC1.jar!/:2.2.0.RC1]*                             
        * │*│*       at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(**ReflectiveMethodInvocation.java:186**)
 ~[spring-aop-5.2.0.RELEASE.jar!/:5.2.0.RELEASE]*                               
              * │*│*       at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(**JdkDynamicAopProxy.java:212**)
 ~[spring-aop-5.2.0.RELEASE.jar!/:5.2.0.RELEASE]*                               
                               * │*│       *at 
com.sun.proxy.**$Proxy289**.resumeExecution(Unknown Source) ~[?:?]*             
                                                                                
                                           * │*│*       at 
org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.handle(**FlowHandlerAdapter.java:254**)
 ~[spring-webflow-2.5.1.RELEASE.jar!/:2.5.1.RELEASE]*                           
                         * │*│*       at 
org.springframework.web.servlet.DispatcherServlet.doDispatch(**DispatcherServlet.java:1040**)
 ~[spring-webmvc-5.2.0.RELEASE.jar!/:5.2.0.RELEASE]*                            
                              * │*│*       at 
org.springframework.web.servlet.DispatcherServlet.doService(**DispatcherServlet.java:943**)
 ~[spring-webmvc-5.2.0.RELEASE.jar!/:5.2.0.RELEASE]*                            
                                * │*│*       at 
org.springframework.web.servlet.FrameworkServlet.processRequest(**FrameworkServlet.java:1006**)
 ~[spring-webmvc-5.2.0.RELEASE.jar!/:5.2.0.RELEASE]*                            
                            * │*│*       at 
org.springframework.web.servlet.FrameworkServlet.doPost(**FrameworkServlet.java:909**)
 ~[spring-webmvc-5.2.0.RELEASE.jar!/:5.2.0.RELEASE]*                            
                                     * │*│*       at 
javax.servlet.http.HttpServlet.service(**HttpServlet.java:665**) 
~[javax.servlet-api-4.0.1.jar!/:4.0.1]*                                         
                                              


On Tuesday, January 14, 2020 at 3:07:27 PM UTC+3, mohamed gamal wrote:
>
> Hello every one I am having a weird problem with cas. 
>
> my Java version is 
> java version "11.0.2" 2019-01-15 LTS
> Java(TM) SE Runtime Environment 18.9 (build 11.0.2+9-LTS)
> Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.2+9-LTS, mixed mode)
>
> I have tried multiple solutions. none of them is working.
> Did anyone face a problem like this ? 
>
> *2020-01-14 15:04:09,083 **ERROR 
> [org.apereo.cas.web.flow.executor.EncryptedTranscoder] - 
> <org.apereo.spring.webflow.plugin.ClientFlowExecutionRepository$SerializedFlowExecutionState>*
>                              *│*│*java.lang.ClassNotFoundException: 
> org.apereo.spring.webflow.plugin.ClientFlowExecutionRepository**$SerializedFlowExecutionState*
>                                                                               
>       *│*│*       at 
> java.net.URLClassLoader.findClass(**URLClassLoader.java:471**) ~[?:?]*        
>                                                                               
>                                                 *│*│*       at 
> java.lang.ClassLoader.loadClass(**ClassLoader.java:588**) ~[?:?]*             
>                                                                               
>                                                 *│*│*       at 
> org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(**LaunchedURLClassLoader.java:92**)
>  ~[cas.war:?]*                                                                
>                           *│*│*       at 
> java.lang.ClassLoader.loadClass(**ClassLoader.java:521**) ~[?:?]*             
>                                                                               
>                                                 *│*│*       at 
> java.lang.Class.forName0(Native Method) ~[?:?]*                               
>                                                                               
>                                             *│*│*       at 
> java.lang.Class.forName(**Class.java:398**) ~[?:?]*                           
>                                                                               
>                                                 *│*│*       at 
> java.io.ObjectInputStream.resolveClass(**ObjectInputStream.java:693**) 
> ~[?:?]*                                                                       
>                                                        *│*│*       at 
> java.io.ObjectInputStream.readNonProxyDesc(**ObjectInputStream.java:1886**) 
> ~[?:?]*                                                                       
>                                                   *│*│*       at 
> java.io.ObjectInputStream.readClassDesc(**ObjectInputStream.java:1772**) 
> ~[?:?]*                                                                       
>                                                      *│*│*       at 
> java.io.ObjectInputStream.readOrdinaryObject(**ObjectInputStream.java:2060**) 
> ~[?:?]*                                                                       
>                                                 *│*│*       at 
> java.io.ObjectInputStream.readObject0(**ObjectInputStream.java:1594**) 
> ~[?:?]*                                                                       
>                                                        *│*│*       at 
> java.io.ObjectInputStream.readObject(**ObjectInputStream.java:430**) ~[?:?]*  
>                                                                               
>                                                 *│*│*       at 
> org.apereo.cas.web.flow.executor.EncryptedTranscoder.decode(**EncryptedTranscoder.java:116**)
>  ~[cas-server-core-webflow-api-6.1.3.jar!/:6.1.3]*                            
>                                  *│*│*       at 
> org.apereo.cas.web.flow.executor.ClientFlowExecutionRepository.getFlowExecution(**ClientFlowExecutionRepository.java:75**)
>  ~[cas-server-core-webflow-api-6.1.3.jar!/:6.1.3]*                            
>     *│*│*       at 
> org.springframework.webflow.executor.FlowExecutorImpl.resumeExecution(**FlowExecutorImpl.java:167**)
>  ~[spring-webflow-2.5.1.RELEASE.jar!/:2.5.1.RELEASE]*                         
>                           *│*│*       at 
> jdk.internal.reflect.GeneratedMethodAccessor366.invoke(Unknown Source) 
> ~[?:?]*                                                                       
>                                                    *│*│*       at 
> jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(**DelegatingMethodAccessorImpl.java:43**)
>  ~[?:?]*                                                                      
>                             *│*│*       at 
> java.lang.reflect.Method.invoke(**Method.java:566**) ~[?:?]*                  
>                                                                               
>                                                 *│*│*       at 
> org.springframework.util.ReflectionUtils.invokeMethod(**ReflectionUtils.java:279**)
>  ~[spring-core-5.2.0.RELEASE.jar!/:5.2.0.RELEASE]*                            
>                                            *│*│*       at 
> org.springframework.cloud.context.scope.GenericScope**$LockedScopedProxyFactoryBean**.invoke(**GenericScope.java:499**)
>  ~[spring-cloud-context-2.2.0.RC1.jar!/:2.2.0.RC1]*                           
>            *│*│*       at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(**ReflectiveMethodInvocation.java:186**)
>  ~[spring-aop-5.2.0.RELEASE.jar!/:5.2.0.RELEASE]*                             
>                  *│*│*       at 
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(**JdkDynamicAopProxy.java:212**)
>  ~[spring-aop-5.2.0.RELEASE.jar!/:5.2.0.RELEASE]*                             
>                                   *│*│*       at 
> com.sun.proxy.**$Proxy289**.resumeExecution(Unknown Source) ~[?:?]*           
>                                                                               
>                                                 *│*│*       at 
> org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.handle(**FlowHandlerAdapter.java:254**)
>  ~[spring-webflow-2.5.1.RELEASE.jar!/:2.5.1.RELEASE]*                         
>                             *│*│*       at 
> org.springframework.web.servlet.DispatcherServlet.doDispatch(**DispatcherServlet.java:1040**)
>  ~[spring-webmvc-5.2.0.RELEASE.jar!/:5.2.0.RELEASE]*                          
>                                  *│*│*       at 
> org.springframework.web.servlet.DispatcherServlet.doService(**DispatcherServlet.java:943**)
>  ~[spring-webmvc-5.2.0.RELEASE.jar!/:5.2.0.RELEASE]*                          
>                                    *│*│*       at 
> org.springframework.web.servlet.FrameworkServlet.processRequest(**FrameworkServlet.java:1006**)
>  ~[spring-webmvc-5.2.0.RELEASE.jar!/:5.2.0.RELEASE]*                          
>                                *│*│*       at 
> org.springframework.web.servlet.FrameworkServlet.doPost(**FrameworkServlet.java:909**)
>  ~[spring-webmvc-5.2.0.RELEASE.jar!/:5.2.0.RELEASE]*                          
>                                         *│*│*       at 
> javax.servlet.http.HttpServlet.service(**HttpServlet.java:665**) 
> ~[javax.servlet-api-4.0.1.jar!/:4.0.1]*                                       
>                                                              *│*│*       at 
> org.springframework.web.servlet.FrameworkServlet.service(**FrameworkServlet.java:883**)
>  ~[spring-webmvc-5.2.0.RELEASE.jar!/:5.2.0.RELEASE]*                          
>                                        *│*│*       at 
> javax.servlet.http.HttpServlet.service(**HttpServlet.java:750**) 
> ~[javax.servlet-api-4.0.1.jar!/:4.0.1]*                                       
>                                                              *│*│*       at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(**ApplicationFilterChain.java:231**)
>  ~[tomcat-catalina-9.0.30.jar!/:9.0.30]*                                      
>                          *│*│*       at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(**ApplicationFilterChain.java:166**)
>  ~[tomcat-catalina-9.0.30.jar!/:9.0.30]*                                      
>
>
>
>
>
>

-- 
- 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/73e0a88d-80c0-439a-a37b-355db9b7f12c%40apereo.org.

Reply via email to