Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ServletException related to linking , can not understand

 
Kousik Majumder
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am encountering a strange problem when clicking to a jsp page. Can not figure out the reason. Please help.
The exception is given below:-



 
Kuldip Shetty
Ranch Hand
Posts: 43
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kousik,

Its a class loader issue where com/test/member/entity/business/MemberPk class is loaded more then one. Verify in your JBoss Environment if the same class is present in more than one archive file.

Kuldip
 
Kousik Majumder
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, that is true.
It is in multiple jar file inside a .ear.
So what is the way out other than keeping it in only one jar file?
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So what is the way out other than keeping it in only one jar file?

None, that is the only way. Unless you want to write your own classloader.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic