i am working with eclipse3.1 version. when i try to deploy the web application it is being deployed. but when i start the JBOSS 4.0 server i am getting the error "couldnot find the main class.prog will exit && server jboss.4.0 failed to start && starting server cannot connect to VM"
Also, based on your other post, i guess you have installed JBoss (and maybe even Java) in a folder which has space in its path name (Ex: C:\Program Files\JBoss-4.0). There have been weird issues reported when you install Java or JBoss in folders which have a space in the path. I would recommend moving JBoss and Java to folders which do not have a space in the path (Ex: C:\JBoss-4.0)