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

mongodb session store doesn't work #590

Closed
jknack opened this issue Dec 8, 2016 · 0 comments
Closed

mongodb session store doesn't work #590

jknack opened this issue Dec 8, 2016 · 0 comments
Labels
Milestone

Comments

@jknack
Copy link
Member

jknack commented Dec 8, 2016

{
  use(new Mongodb();

  session(MongoSessionStore.class);
}

We forgot to upgrade MongoSessionStore after #228

An error occurred while starting the application:
com.google.inject.CreationException: Unable to create injector, see the following errors:

1) Could not find a suitable constructor in com.mongodb.DB. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.
  at com.mongodb.DB.class(DB.java:77)
  while locating com.mongodb.DB
    for the 1st parameter of org.jooby.mongodb.MongoSessionStore.<init>(MongoSessionStore.java:131)
  at org.jooby.Jooby.lambda$38(Jooby.java:2708)

@jknack jknack added the bug label Dec 8, 2016
@jknack jknack added this to the 1.0.1 milestone Dec 8, 2016
jknack added a commit that referenced this issue Dec 10, 2016
@jknack jknack closed this as completed in b0f0547 Dec 18, 2016
jknack added a commit that referenced this issue Dec 18, 2016
mongodb session store doesn't work fix #590
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

1 participant