Hi there, from an application client I get this error
javax.naming.CommunicationException [Root exception is java.io.InvalidClassException: org.jboss.ejb3.remoting.BaseRemoteProxy; local class incompatible: stream classdesc serialVersionUID = 1126421850898582900, local class serialVersionUID = -2711693270411201590]
4984 [main] FATAL eu.virtualLab.util.dataMigrator.remote.dao.EjbFactory - eu.virtualLab.util.dataMigrator.remote.dao.EjbFactoryException: javax.naming.CommunicationException [Root exception is java.io.InvalidClassException: org.jboss.ejb3.remoting.BaseRemoteProxy; local class incompatible: stream classdesc serialVersionUID = 1126421850898582900, local class serialVersionUID = -2711693270411201590]
4984 [main] FATAL eu.virtualLab.util.dataMigrator.Workflow - eu.virtualLab.util.dataMigrator.remote.dao.EjbFactoryException: eu.virtualLab.util.dataMigrator.remote.dao.EjbFactoryException: javax.naming.CommunicationException [Root exception is java.io.InvalidClassException: org.jboss.ejb3.remoting.BaseRemoteProxy; local class incompatible: stream classdesc serialVersionUID = 1126421850898582900, local class serialVersionUID = -2711693270411201590]
After a search on the net I discovered that this error could means that I've got different classes between my classpath's client and the ear deployed.
This is not my case, they're the same, because I extract the jar from the ear and copied into the classpath's client.
However, I don't understand where those serialVersionUID come from. I've no entities on my jar with that number. They've completely different numbers, declared as static final.
Could it be the remote interface? If so, what would be the best approach?