Update ExampleService.java

Avoid duplicate imports such as 'java.io.IOException'