Announcement Announcement Module
No announcement yet.
"No mapping found for HTTP" and proxy-target-class Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • "No mapping found for HTTP" and proxy-target-class

    Hi all, I'm new and i have some troubles with this simple configuration

    public interface con{
    void method();

    public class conImp implements interface{
    void method(){...}

    i get "[org.springframework.web.servlet.PageNotFound] - No mapping found for HTTP ecc" (without @PreAuthorize controller works but ob no more security).Looking on google i found that with setting proxy-target-class="true" on global-method-security all its ok. So the question is, why spring security need this attribute with @PreAuthorize and @RequestMapping?

    Thank you!

  • #2
    It would be helpful if you post your whole configuration relating to Spring Security and your Controller class. Also you might want to compare your setup and configuration with the following guide:

    You might find some differences or similarities that might help you troubleshoot your application.