Question

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"

Was it helpful?

Solution 2

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

OTHER TIPS

I think that you need to add a library. Your application seems to reference to a class that is not loaded (or founded).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top