Results 1 to 2 of 2

Thread: DefaultAnnotationHandlerMapping Error

Hybrid View

  1. #1
    Join Date
    Nov 2010
    Location
    Santo Domingo, Albay Philippines
    Posts
    158

    Default DefaultAnnotationHandlerMapping Error

    Error creating bean with name 'org.springframework.web.servlet.mvc.annotation.De faultAnnotationHandlerMapping#0': Initialization of bean failed; nested exception is java.lang.IllegalStateException: Cannot map handler 'actionsController' to URL path [/actionses/{id}]: There is already handler of type [class com.corenttech.care.cac.ActionPropertiesController] mapped.

    I have two entities, "Actions" and "ActionProperties", and two controllers, actionsController and ActionPropertiesController.

    What is the best way to resolve this?

  2. #2
    Join Date
    Nov 2010
    Location
    Santo Domingo, Albay Philippines
    Posts
    158

    Red face My Mistake

    in my roo commands I had the properties backward and ended up with a reference back to itself.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •