I am using NetBeans 7.1 and made a servlet in it. Now when I am running it, it is giving me
Class ' ' neither has a main method nor its a servlet specified in web.xml
After this, it is showing me one more error:
class ' ' does not have a main method"
I can't figure out what the problem is. I have uninstalled and installed the NetBean twice but no help. The servlet is just an ordinary servlet with no logic in it.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…