title: Spring boot with websphere configuration classes not working
body: <p>I am getting below error when running the app with springboot tomcat. The below error message is repeating continuously. Please help.</p>
  
  <blockquote>
    <p>2015-09-22 03:37:09.477 ERROR 20112 --- [           main]
    c.i.w.naming.java.javaURLContextFactory  : NMSV0307E: A java: URL name
    was used, b ut Naming was not configured to handle java: URL names.
    The likely cause is a user in error attempting to specify a java: URL
    name in a non- J2EE client or server environment. Throwing
    ConfigurationException.</p>
  </blockquote>
  
  <p><strong>Dependencies</strong></p>
  
  <pre><code>&lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-starter-web&lt;/artifactId&gt;
              &lt;exclusions&gt;
                  &lt;exclusion&gt;
                      &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
                      &lt;artifactId&gt;log4j-over-slf4j&lt;/artifactId&gt;
                  &lt;/exclusion&gt;
              &lt;/exclusions&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.aredis&lt;/groupId&gt;
              &lt;artifactId&gt;aredis&lt;/artifactId&gt;
              &lt;version&gt;1.4&lt;/version&gt;
  
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;log4j&lt;/groupId&gt;
              &lt;artifactId&gt;log4j&lt;/artifactId&gt;
              &lt;!-- &lt;version&gt;1.2.16&lt;/version&gt; --&gt;
  
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;net.sf.joesnmp&lt;/groupId&gt;
              &lt;artifactId&gt;joesnmp&lt;/artifactId&gt;
              &lt;version&gt;0.3.4&lt;/version&gt;
  
          &lt;/dependency&gt;
          &lt;dependency&gt;
                  &lt;groupId&gt;com.ibm.ws.admin&lt;/groupId&gt;  
                  &lt;artifactId&gt;adminClient&lt;/artifactId&gt;  
                  &lt;version&gt;8.5.0&lt;/version&gt;  
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.ibm.ws.runtime&lt;/groupId&gt;
              &lt;artifactId&gt;ibmRuntime&lt;/artifactId&gt;
              &lt;version&gt;1.0&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;com.ibm.websphere&lt;/groupId&gt;
              &lt;artifactId&gt;ibmorb&lt;/artifactId&gt;
              &lt;version&gt;8.5&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;com.ibm.websphere&lt;/groupId&gt;
              &lt;artifactId&gt;ibmorbapi&lt;/artifactId&gt;
              &lt;version&gt;8.5&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;com.ibm.websphere&lt;/groupId&gt;
              &lt;artifactId&gt;orb&lt;/artifactId&gt;
              &lt;version&gt;8.5&lt;/version&gt;
          &lt;/dependency&gt; 
  
      &lt;/dependencies&gt;
      &lt;properties&gt;
          &lt;start-class&gt;com.springboot.main.ConfigInitializer&lt;/start-class&gt;
          &lt;jersey-version&gt;1.5&lt;/jersey-version&gt;
      &lt;/properties&gt;
  </code></pre>