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

PicoCompositionException when trying to ovewrite vraptor components #41

Closed
sergiolopes opened this issue Aug 7, 2009 · 2 comments
Closed
Labels

Comments

@sergiolopes
Copy link
Member

When I try to create my own RoutesConfiguration implementation I get:

org.picocontainer.PicoCompositionException: Duplicate Keys not allowed. Duplicate for 'interface br.com.caelum.vraptor.http.route.RoutesConfiguration'

This was not happening before. Last commit I know that not breaks this is http://github.com/caelum/vraptor/commit/f10833256720f631b3006c1e72f57fbe09109ca5

@sergiolopes
Copy link
Member Author

note: the same happens with ResourceNotFoundHandler too

@lucascs
Copy link
Member

lucascs commented Aug 18, 2009

User @component annotated classes now are registered before container initialization, so it won't happen again.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants