Hi All,
I've written an application which consists of a servlet.I'm using
JBoss AS 4.0.0 and JBoss Eclipse
IDE 1.6.While debug i'm getting an error like
java.lang.NoSuchMethodError: main
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x77f92373, pid=1868, tid=1644
#
#
Java VM: Java HotSpot(TM) Client VM (1.5.0_10-b03 mixed mode)
# Problematic frame:
# C [ntdll.dll+0x12373]
#
# An error report file with more information is saved as hs_err_pid1868.log
#
# If you would like to submit a bug report, please visit:
#
http://java.sun.com/webapps/bugreport/crash.jsp #
Exception in
thread "main"
How to fix this?? Can anyone tell me?
Thanks,
Sandhya.