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

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -