itm / wsn-device-utils

A set of command line utils to reprogram, reset, listen to, ... wireless sensor network devices
2 stars 5 forks source link

Guice binding errors in DeviceFlashCli #45

Closed danbim closed 12 years ago

danbim commented 12 years ago
java -jar flasher-cli-1.0.2-onejar.jar -t telosb -i ../../../main.ihex -p /dev/ttyUSB0 -v Exception in thread "main" com.google.inject.CreationException: Guice creation errors:

1) No implementation for java.util.concurrent.ExecutorService was bound.
 while locating java.util.concurrent.ExecutorService
   for field at de.uniluebeck.itm.wsn.deviceutils.macreader.DeviceMacReaderImpl.executorService(DeviceMacReaderImpl.java:42)
 at de.uniluebeck.itm.wsn.deviceutils.macreader.DeviceMacReaderModule.configure(DeviceMacReaderModule.java:60)

1 error
at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:435)
at com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java:154)
at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:106)
at com.google.inject.Guice.createInjector(Guice.java:95)
at com.google.inject.Guice.createInjector(Guice.java:72)
at com.google.inject.Guice.createInjector(Guice.java:62)
at de.uniluebeck.itm.wsn.deviceutils.flasher.DeviceFlasherCLI.main(DeviceFlasherCLI.java:115)