Spring Java config exception -
I am trying to switch from XML configuration to Java config and try to get the following exception when starting the application. I am doing
: java.lang.ClassCastException: $ Proxy188 can not be placed on org.springframework.format.support.FormattingConversionService
This exception is given on the first line of the following method :
@ Override Public Request MappingHandlerAdapter RequestMappingHandlerAdapter () {RequestMappingHandlerAdapter Adapter = Super.requestampingHandlerAdapter (); Adapter.setIgnoreDefaultModelOnRedirect (true); Return adapter; }
Why any idea is failing?
Comments
Post a Comment