title: java.lang.NoClassDefFoundError: org/springframework/core/KotlinDetector while migrating from spring-core-3.2.0 to spring 4.x
body: <p>I am facing issue while migrating from spring 3.2.0 to spring 4.x</p>
  
  <p>If I am using spring-core 4.x, getting exception: </p>
  
  <pre><code>[ERROR   ] SRVE0283E: Exception caught while initializing context: java.lang.NoClassDefFoundError: org/springframework/core/KotlinDetector while deploying to IBM Liberty server as the corresponding class is not there, this is available in spring-core-5.1.0
  </code></pre>
  
  <p>and further, if I am using "spring-core-5.1.0" jar, getting exception:</p>
  
  <pre><code>[ERROR   ] SRVE0283E: Exception caught while initializing context: java.lang.NoClassDefFoundError: org/springframework/util/Log4jConfigurer
  </code></pre>
  
  <p>Also, there is no such migration guide I can found for above stated issue.</p>
  
  <p>In this case I left with only one option to customize the spring-core library, but when I am trying to customize, getting exception:</p>
  
  <pre><code>[ERROR   ] SRVE0283E: Exception caught while initializing context: java.lang.NoSuchMethodError: org.springframework.core.ResolvableType.forRawClass(Ljava/lang/Class;)Lorg/springframework/core/ResolvableType
  </code></pre>
  
  <p>While deploying to IBM Liberty Server due to some compatibility issue, even after adding the ResolvableType into customized library.</p>