0

Why do i get a run time error Exception in thread "main" java.lang.NoClassDefFoundError

I could able to compile it but unable to run my simple servlet program on Jboss.

I did Google it for solution but nothing helped me out.

Please advice!

Thanks, Tom

tom
  • 5,114
  • 6
  • 24
  • 36

2 Answers2

0

Seems like your class is available at build time but not at runetime. Look for the the differences in your build time and runtime class path.

Vivek Vermani
  • 1,934
  • 18
  • 45
0

it seems the servlet class you have specified in web.xml is not full qualified. OR provide more detail of exception and code.

Dharmraj
  • 164
  • 1
  • 15