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

Issue with DW managed objects #20

Open
JanGorman opened this issue Feb 2, 2015 · 0 comments
Open

Issue with DW managed objects #20

JanGorman opened this issue Feb 2, 2015 · 0 comments

Comments

@JanGorman
Copy link

Hi there,

I'm having a bit of a hard time getting managed objects up and running, whenever I try adding managed beans I get something like

Exception in thread "main" java.lang.IllegalArgumentException: Unknown bean com.schnaub.managed.Foo@3ff0dbfd
    at org.eclipse.jetty.util.component.ContainerLifeCycle.manage(ContainerLifeCycle.java:352)
    at com.hmsonline.dropwizard.spring.SpringService.loadManagedBeans(SpringService.java:165)
    at com.hmsonline.dropwizard.spring.SpringService.run(SpringService.java:60)
    at com.hmsonline.dropwizard.spring.SpringService.run(SpringService.java:30)
    at io.dropwizard.cli.EnvironmentCommand.run(EnvironmentCommand.java:42)
    at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:76)
    at io.dropwizard.cli.Cli.run(Cli.java:70)
    at io.dropwizard.Application.run(Application.java:72)

In the main app I'm on right now all other beans are created just fine.

I've created a super simple demo app here that highlights the issue: https://github.com/JanGorman/ManagedBeanDemo/

Thanks in advance.
Best regards
Jan

@JanGorman JanGorman changed the title Issue with managed DW managed objects Issue with DW managed objects Feb 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant