1 Reply Latest reply on Apr 28, 2009 5:50 AM by Sean O'Callaghan

    java.lang.IncompatibleClassChangeError : Building http-consumer

    dibs DG Newbie

      Hi,

       

      I am getting a strange error while trying to build my project. My project has the following service units

      1.http-consumer su

      2. eip su

      3. servicemix-jms su - I will be connecting to Websphere MQ.

       

      While building I am getting the following error. ( I am attaching the xbean.xml for the http-consumer)

      -


      java.lang.IncompatibleClassChangeError: class org.apache.servicemix.soap.SoapEnd

      point has interface org.apache.servicemix.common.Endpoint as super class

              at java.lang.ClassLoader.defineClass1(Native Method)

              at java.lang.ClassLoader.defineClass(ClassLoader.java:620)

              at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12

      4)

              at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)

              at java.net.URLClassLoader.access$100(URLClassLoader.java:56)

              at java.net.URLClassLoader$1.run(URLClassLoader.java:195)

              at java.security.AccessController.doPrivileged(Native Method)

              at java.net.URLClassLoader.findClass(URLClassLoader.java:188)

              at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

              at java.lang.ClassLoader.loadClass(ClassLoader.java:251)

              at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)

              at java.lang.ClassLoader.defineClass1(Native Method)

              at java.lang.ClassLoader.defineClass(ClassLoader.java:620)

              at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12

      4)

              at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)

              at java.net.URLClassLoader.access$100(URLClassLoader.java:56)

              at java.net.URLClassLoader$1.run(URLClassLoader.java:195)

              at java.security.AccessController.doPrivileged(Native Method)

              at java.net.URLClassLoader.findClass(URLClassLoader.java:188)

              at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

              at java.lang.ClassLoader.loadClass(ClassLoader.java:251)

              at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)

              at org.apache.servicemix.http.packaging.HttpServiceUnitAnalyzer.isValidE

      ndpoint(HttpServiceUnitAnalyzer.java:68)

              at org.apache.servicemix.common.xbean.AbstractXBeanServiceUnitAnalyzer.i

      nit(AbstractXBeanServiceUnitAnalyzer.java:93)

              at org.apache.servicemix.maven.plugin.jbi.GenerateServiceUnitDescriptorM

      ojo.generateJbiDescriptor(GenerateServiceUnitDescriptorMojo.java:185)

              at org.apache.servicemix.maven.plugin.jbi.GenerateServiceUnitDescriptorM

      ojo.execute(GenerateServiceUnitDescriptorMojo.java:143)

              at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi

      nManager.java:451)

              at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa

      ultLifecycleExecutor.java:558)

              at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi

      fecycle(DefaultLifecycleExecutor.java:499)

              at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau

      ltLifecycleExecutor.java:478)

              at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan

      dleFailures(DefaultLifecycleExecutor.java:330)

              at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen

      ts(DefaultLifecycleExecutor.java:291)

              at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi

      fecycleExecutor.java:142)

              at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)

              at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)

              at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

      java:39)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

      sorImpl.java:25)

              at java.lang.reflect.Method.invoke(Method.java:585)

              at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)

              at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)

              at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

       

              at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

      -


      Total time: 28 seconds

      Finished at: Mon Apr 27 12:06:37 BST 2009

      Final Memory: 35M/63M

      -