[
http://www.stripesframework.org/jira/browse/STS-808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12208#comment-12208
]
Nikolaos commented on STS-808:
------------------------------
I haven't looked at your attached project but the UrlBindingConflictException
seems to say it all.
Action beans must have a unique URI prefix and a variable at the start would be
problematic IMO. Try changing your action beans URL bindings to:
/Action/{$event}
/Action2/{$event}
NOTE: IIRC it is OK to have /Action and /Action2 that match but I haven't
tested that in a long time. Though in the real world one would name URI's more
appropriately in any event.
Did this really work in 1.5.4???? It appears like it should have never worked.
Keep in mind, if you have issues its best to discuss them on the Stripes User
mailing list vs. opening bug reports and only open the bug reports when issues
are clearly caused by a defect in the software but perhaps our configuration.
--Nikolaos
> UrlBindingConflictException when using mock round trip
> ------------------------------------------------------
>
> Key: STS-808
> URL: http://www.stripesframework.org/jira/browse/STS-808
> Project: Stripes
> Issue Type: Bug
> Components: ActionBean Dispatching
> Affects Versions: Release 1.5.5
> Environment: Linux - JDK 1.6.0_23 - Maven 2.2.1 - Spring 2.5.6
> Reporter: Christophe Facquez
> Attachments: MockRoundTripBug.tar.gz
>
>
> I've try to upgrade my stripes version from 1.5.4 to 1.5.5 and I'm unable to
> run my unit tests due to the following exception. All my tests are base on
> MockRoundTrip.
> SEVERE: Unhandled exception in exception handler.
> net.sourceforge.stripes.exception.UrlBindingConflictException: The path /
> cannot be mapped to a single ActionBean because multiple URL bindings match
> it. The matching URL bindings are [/{$event}/Action, /{$event}/Action2].
> I've built a lite maven project that reproduce this bug (juste change the
> stripes version in pom.xml)
> See the attached file
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development