2 Replies Latest reply on Apr 12, 2005 8:34 PM by Fabiano Rosa

    EJB3.0: class incompatible exception

    Alexander Smirnoff Newbie

      I'm using JBoss IDE and JBoss4.0.1/EJB3.0 to play with tutorial examples. I'm getting next exception when running a client:

      Exception in thread "main" javax.naming.CommunicationException [Root exception is java.io.InvalidClassException: org.jboss.ejb3.remoting.BaseRemoteProxy; local class incompatible: stream classdesc serialVersionUID = -1019635950408433617, local class serialVersionUID = -2289426881135628080]
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:663)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:520)
      at javax.naming.InitialContext.lookup(InitialContext.java:351)
      at org.jboss.tutorial.stateless.client.Client.main(Client.java:19)

      The packaging and deployment were cool.

      Thanks,
      Alex.