itm/wsn-device-utils — Issue #45: Guice binding errors in DeviceFlashCli
Author: danbim
Created: 2012-02-21 15:06:02+00:00
State: open
Labels: Defect

```
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)
```