[GRADLE-2184] Regression: Spring application context creation fails with org.springframework.aop.aspectj.AspectJAdviceParameterNameDiscoverer$AmbiguousBindingException: Still 2 unbound args at this(),target(),args( ) binding stage, with no way to determine between them Created: 20/Mar/12 Updated: 10/Feb/17 Resolved: 10/Feb/17
After upgrading from Gradle 1.0 milestone 8 to milestone 9 our web application (started via tomcat-gradle-plugin) or any Junit test case requiring Spring fails with the following exception:
Note that this issue does not appear for Milestone 8 (8a appears fine, too).
Probably it is some new form of classpath issue recently introduced causing this abiguity.
Please note that we had to use the following to get around JPA2 classpath/entity scanning issues (
buildDir = 'target'
Please let me know if I can add more details to diagnose this. Currently I have no good idea how to track this down. Workaround: stick to milestone 8.
|Comment by mech [ 31/May/12 ]|
Not sure what was changed recently. But upgrading to GRADLE 1.0rc3 solves the problem for us, also rc2 appears to work. Hence you may close this Jira issue, if you like, and set fix version to rc2.
|Comment by Benjamin Muschko [ 15/Nov/16 ]|
As announced on the Gradle blog we are planning to completely migrate issues from JIRA to GitHub.
We intend to prioritize issues that are actionable and impactful while working more closely with the community. Many of our JIRA issues are inactionable or irrelevant. We would like to request your help to ensure we can appropriately prioritize JIRA issues you’ve contributed to.
Please confirm that you still advocate for your JIRA issue before December 10th, 2016 by:
We look forward to collaborating with you more closely on GitHub. Thank you for your contribution to Gradle!
|Comment by Benjamin Muschko [ 10/Feb/17 ]|
Thanks again for reporting this issue. We haven't heard back from you after our inquiry from November 15th. We are closing this issue now. Please create an issue on GitHub if you still feel passionate about getting it resolved.