Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PreferredConstructorDiscoverer - wrong exception message [DATACMNS-43] #525

Closed
spring-projects-issues opened this issue Jun 5, 2011 · 0 comments
Assignees
Labels
type: enhancement A general enhancement
Milestone

Comments

@spring-projects-issues
Copy link

Maciej Drozdzowski opened DATACMNS-43 and commented

The exception is thrown at

org.springframework.data.mapping.PreferredConstructorDiscoverer.<init>(PreferredConstructorDiscoverer.java:81).

The message is "Multiple constructors with arguments found in class [xxx]! Annotate one with @PreferedConstructor explicitly to select it to be used in persistence operations". There is no such annotation, the name is PersistenceConstructor


Affects: 1.1 M1

Attachments:

Issue Links:

  • DATAMONGO-244 Misleading error message in PreferredConstructorDiscoverer
    ("is duplicated by")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants