package is.stanton.andy;

import javax.naming.InitialContext;

public class EntryPoint {
    public static void main(String[] args) throws Exception {
        new InitialContext();

        System.out.println("Running Camel + Guice example on http://127.0.0.1:8080/ping");
        System.out.println("Press Ctrl-C to quit");
    }
}

package is.stanton.andy;

import com.google.inject.Guice;

import javax.naming.InitialContext;

public class EntryPoint {
    public static void main(String[] args) throws Exception {
        new InitialContext();
        Guice.createInjector();

        System.out.println("Running Camel + Guice example on http://127.0.0.1:8080/ping");
        System.out.println("Press Ctrl-C to quit");
    }
}

--- 
+++ 
@@ -1,13 +1,10 @@
 package is.stanton.andy;
-
-import com.google.inject.Guice;
 
 import javax.naming.InitialContext;
 
 public class EntryPoint {
     public static void main(String[] args) throws Exception {
         new InitialContext();
-        Guice.createInjector();
 
         System.out.println("Running Camel + Guice example on http://127.0.0.1:8080/ping");
         System.out.println("Press Ctrl-C to quit");
Remove unnecessary Guice.createInjector() from main
