Hello, this u2f-jpa hack solved an issue I've encoutered with CAS v6.1.5 (also with 6.1.6-SNAP) + U2F (with JSON backend for testing). The raised exception was different :
2020-04-09 17:39:49,592 DEBUG [org.apereo.cas.web.FlowExecutionExceptionResolver] - <Ignoring the received exception [org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is java.lang.NoSuchFieldError: ACCEPT_CASE_INSENSITIVE_VALUES] due to a type mismatch with handler [[FlowHandlerMapping.DefaultFlowHandler@662a66b]]> 2020-04-09 17:39:49,595 DEBUG [org.apereo.cas.web.FlowExecutionExceptionResolver] - <Ignoring the received exception [org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is java.lang.NoSuchFieldError: ACCEPT_CASE_INSENSITIVE_VALUES] due to a type mismatch with handler [[FlowHandlerMapping.DefaultFlowHandler@662a66b]]> 2020-04-09 17:39:49,600 ERROR [org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/cas].[dispatcherServlet]] - <Servlet.service() for servlet [dispatcherServlet] in context with path [/cas] threw exception [Handler dispatch failed; nested exception is java.lang.NoSuchFieldError: ACCEPT_CASE_INSENSITIVE_VALUES] with root cause> *java.lang.NoSuchFieldError: ACCEPT_CASE_INSENSITIVE_VALUES* at com.fasterxml.jackson.datatype.jsr310.deser.JSR310DateTimeDeserializerBase.acceptCaseInsensitiveValues(JSR310DateTimeDeserializerBase.java:126) ~[jackson-datatype-jsr310-2.10.0.jar!/:2.10.0] ... But has gone since I've added the JPA backend. Thank you. Le 15/11/2019 à 14:57, Andy Ng a écrit : > Hi John, > > Not familiar with uf2 at all, but I am trying this out in my > simulation and I also encountered your bug as well. > > Something like this: > /Caused by: > org.springframework.beans.factory.BeanCurrentlyInCreationException: > Error creating bean with name 'u2fDeviceRepository': Requested bean is > currently in creation: Is there an unresolvable circular reference?/ > > I found that the bug will be gone if you > add *cas-server-support-u2f-jpa* as well: > > compile "org.apereo.cas:cas-server-support-u2f:${project.'cas.version'}" > compile > "org.apereo.cas:cas-server-support-u2f-jpa:${project.'cas.version'}" > > The error seems gone after I apply the above. > > Again I am not familiar with u2f, so other might be able to help pick > up from here if the above info is not helping you fix this bug.... > > Cheers! > - Andy > > > > -- > - 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 > <mailto:cas-user+unsubscr...@apereo.org>. > To view this discussion on the web visit > https://groups.google.com/a/apereo.org/d/msgid/cas-user/0b45cc66-1160-48aa-9320-b4fabc54ae75%40apereo.org > <https://groups.google.com/a/apereo.org/d/msgid/cas-user/0b45cc66-1160-48aa-9320-b4fabc54ae75%40apereo.org?utm_medium=email&utm_source=footer>. -- Philippe MARASSE Responsable pôle Infrastructures - DSIO Centre Hospitalier Henri Laborit CS 10587 - 370 avenue Jacques Cœur 86021 Poitiers Cedex Tel : 05.49.44.57.19 -- - 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/a5e99a10-9ed4-e1e1-7406-28ed6ae0b0e8%40ch-poitiers.fr.