I am trying to intigrate my project in Broadleaf 1.5.2 version, used archetype to set up initial project. As soon as I add
<mvc:annotation-driven/> tag I am seeing following exception
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping#0': Initialization of bean failed; nested exception is java.lang.IllegalStateException: Cannot map handler 'mycompanyCheckoutController' to URL path [/checkout/checkout.htm]: There is already handler of type [class org.broadleafcommerce.core.web.controller.checkout.CheckoutController] mapped.
Seems like the same URL mapping is mentioned in two different objects causing the handler not being able to map the URL. In this case
'/checkout/checkout.htm' might be mentioned in CheckoutController & in 'mycompanyCheckoutController'
My project is not AOP project and I am trying to see if I can get both of them work together or integrate them easily. But the above issue seems something internal in Broadleaf.
Also could you please advise on the version which you recommend for my POC with broadleaf.
Any advise is much appreciated.
This forum is in readonly mode and serves as an archive of old information. All posting, registration and commenting abilities have been turned off. To get help, the Broadleaf team reguarly monitors the broadleaf-commerce tag on Stack Overflow so please ask your questions there.