I’m using sun java app server 8.0 PE, I have created webapplication and added some servlets and deployed successful. after some time I again, tried to add someother servlet as a webcomponent, while adding I got following error , what is problem exactly?
“Unable to load servlet calss
specified in module,java.lang.ClassNotFoundException:
junit/framework/Testcase”
Solution:
Just remove the libraries from the webapp or war file, and add servlet class now with library. this will add the servlet as web component successfully..
@Aito: thanks for your idea