Skip to content

Instantly share code, notes, and snippets.

@skuppa
Created February 24, 2014 15:52
Show Gist options
  • Save skuppa/9190925 to your computer and use it in GitHub Desktop.
Save skuppa/9190925 to your computer and use it in GitHub Desktop.
Spring MVC Tips

When Bad Request happens, most of the problem is in the data serialization and de-serialization. To get the detailed stack trace add the following in the log4j configuration or similar for logback.

    <logger name="org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod">
        <level value="trace"/>
    </logger>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment