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

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -