aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Error while debugging a servlet in JBoss Eclipse IDE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Error while debugging a servlet in JBoss Eclipse IDE" Watch "Error while debugging a servlet in JBoss Eclipse IDE" New topic
Author

Error while debugging a servlet in JBoss Eclipse IDE

Sandhya Deekonda
Ranch Hand

Joined: Dec 18, 2006
Posts: 34
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Error while debugging a servlet in JBoss Eclipse IDE