Error on server start up:

Dec 23, 2010 11:00:03 AM
org.waveprotocol.box.server.persistence.mongodb.MongoDbProvider start
INFO: Started MongoDb persistence
Exception in thread "main" com.google.inject.CreationException: Guice
creation errors:

1) Could not find a suitable constructor in
org.waveprotocol.box.server.waveserver.WaveMap. Classes must have either one
(and only one) constructor annotated with @Inject or a zero-argument
constructor that is not private.
  at org.waveprotocol.box.server.waveserver.WaveMap.class(WaveMap.java:54)
  at
org.waveprotocol.box.server.waveserver.WaveServerModule.configure(WaveServerModule.java:96)

1 error
at
com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:385)
at
com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java:164)
at
com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:116)
at
com.google.inject.internal.InjectorImpl.createChildInjector(InjectorImpl.java:186)
at
com.google.inject.internal.InjectorImpl.createChildInjector(InjectorImpl.java:193)
at org.waveprotocol.box.server.ServerMain.run(ServerMain.java:107)
at org.waveprotocol.box.server.ServerMain.main(ServerMain.java:76)


It seems there's missing @Inject annotation for the WaveMap constructor.

Reply via email to