title: LinkageError during weblogic startup
body: <p>When I deploy my <code>ear</code> project into weblogic, during application startup the <code>LinkageError</code> appears as follow:</p>
  
  <pre><code>&lt;Jun 11, 2018 5:31:00 PM IRDT&gt; &lt;Error&gt; &lt;WLSS.Setup&gt; &lt;BEA-331210&gt; &lt;Skip SIP related logic, because error occurs when parsing sip related annotations of "DSwar"
  com.bea.wcp.sip.engine.server.setup.SipAnnotationParsingException: 
      at com.bea.wcp.sip.engine.server.setup.SipAnnotationData.&lt;init&gt;(SipAnnotationData.java:155)
      at com.bea.wcp.sip.util.DeploymentUtil.getOrCreateAnnotationData(DeploymentUtil.java:70)
      at com.bea.wcp.sip.util.DeploymentUtil.isSipModule(DeploymentUtil.java:96)
      at com.bea.wcp.sip.engine.server.SipServerTailModule$1.visit(SipServerTailModule.java:127)
      at com.bea.wcp.sip.engine.server.SipServerTailModule.visitAllContexts(SipServerTailModule.java:112)
      Truncated. see log file for complete stacktrace
  Caused By: java.lang.IncompatibleClassChangeError: Implementing class
      at java.lang.ClassLoader.defineClass1(Native Method)
      at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
      at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:343)
      Truncated. see log file for complete stacktrace
  &gt; 
  &lt;Jun 11, 2018 5:31:06 PM IRDT&gt; &lt;Error&gt; &lt;WLSS.Setup&gt; &lt;BEA-331210&gt; &lt;Skip SIP related logic, because error occurs when parsing sip related annotations of "TTMS"
  com.bea.wcp.sip.engine.server.setup.SipAnnotationParsingException: 
      at com.bea.wcp.sip.engine.server.setup.SipAnnotationData.&lt;init&gt;(SipAnnotationData.java:155)
      at com.bea.wcp.sip.util.DeploymentUtil.getOrCreateAnnotationData(DeploymentUtil.java:70)
      at com.bea.wcp.sip.util.DeploymentUtil.isSipModule(DeploymentUtil.java:96)
      at com.bea.wcp.sip.engine.server.SipServerTailModule$1.visit(SipServerTailModule.java:127)
      at com.bea.wcp.sip.engine.server.SipServerTailModule.visitAllContexts(SipServerTailModule.java:112)
      Truncated. see log file for complete stacktrace
  Caused By: java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method "org.springframework.ui.freemarker.FreeMarkerConfigurationFactory.setResourceLoader(Lorg/springframework/core/io/ResourceLoader;)V" the class loader (instance of weblogic/utils/classloaders/GenericClassLoader) of the current class, org/springframework/web/servlet/view/freemarker/FreeMarkerConfigurer, and the class loader (instance of weblogic/utils/classloaders/ChangeAwareClassLoader) for interface org/springframework/context/ResourceLoaderAware have different Class objects for the type org/springframework/core/io/ResourceLoader used in the signature
      at java.lang.Class.getDeclaredMethods0(Native Method)
      at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
      at java.lang.Class.privateGetPublicMethods(Class.java:2547)
      at java.lang.Class.getMethods(Class.java:1410)
      at com.bea.wcp.sip.engine.server.setup.SipAnnotationData.classAnnotationParsing(SipAnnotationData.java:344)
      Truncated. see log file for complete stacktrace
  &gt; 
  </code></pre>
  
  <p>The version of weblogic is <code>10.3.6.0</code></p>