Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error while debugging a servlet in JBoss Eclipse IDE

 
Sandhya Deekonda
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic