java.lang.LinkageError while deploying.
843842Aug 3 2010 — edited Aug 6 2010Hello All,
I am working on an application which runs on jboss and while deploying I come accross the below error.
09:55:37,607 ERROR [[ehaweb]] Servlet.service() for servlet ehaweb threw exception
java.lang.LinkageError: loader constraint violation: when resolving interface method "com.eha.service.PageAccessMangementLoca
l.savePageAccessLog(Lcom/eha/domain/PageAccessLog;)V" the class loader (instance of org/jboss/web/tomcat/service/WebAppClassL
oader) of the current class, com/eha/web/filter/PageAccessLogFilter, and the class loader (instance of org/jboss/mx/loading/U
nifiedClassLoader3) for resolved class, com/eha/service/PageAccessMangementLocal, have different Class objects for the type c
om/eha/domain/PageAccessLog used in the signature
Please let me know if something else is needed.
I am deploying an ear file which also has a war file and all required libs and jars in it.
Thanks in advance.