Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.lang.LinkageError while deploying.

843842Aug 3 2010 — edited Aug 6 2010
Hello 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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 3 2010
Added on Aug 3 2010
5 comments
412 views