1 Reply Latest reply on Jul 13, 2005 7:26 PM by platinumdragon

    local class incompatible: JBoss class!

    platinumdragon Newbie

      Hi,

      I am using JBoss 4.0.3 RC1 locally, Windows XP Pro SP2. Upon InitialContext.lookup, I'm getting a java.io.InvalidClassException: org.jboss.ejb3.remoting.BaseRemoteProxy; local class incompatible: stream classdesc serialVersionUID = 1126421850898582900, local class serialVersionUID = -1019635950408433617

      I know this usually happens when you're using different versions of classes, but I don't know why it would be complaining about a JBoss class. I have the following jars on my client classpath:

      jbossall-client.jar
      jboss-ejb3.jar
      jboss-ejb3x.jar
      jboss-aspect-library-jdk50.jar
      jboss-remoting.jar
      jboss-aop-jdk50.jar
      commons-httpclient.jar

      All were copied from the JBoss installation. (There isn't a jar with all of this client silliness is there? jbossall-client.jar would seem to be a good candidate, but doesn't work that way). Only one class seems to have the BaseRemoteProxy (jboss-ejb3.jar).

      This is a basic stateful EJB3 test, and I haven't changed any server configuration options, and my ejb has an Eclipse-generated serial so there isn't anything real complex going on here..

      Any ideas are appreciated

      Thanks,
      Mike