P.S. : without installing JAVA, JBoss and Eclipse elsewhere, of course ;-)))
Actually, I am experiencing the same problem. Although I have not been able to solve it yet myself, i think it might have something to do with a compiler conflict.
I used Apache Ant to build my project from within Eclipse, but had to switch specifically to the Eclipse compiler in my script (using the normal SDK compiler it would fail). Maybe this problem has a similar cause?
Actually, I do have the same problem.
BUT: When I start JBoss directly from the directory, there is no problem at all...
I solved the problem.
AfterI told Eclipse where all the J2EE and J2SE JREs are, it worked fine.
Tell it there:
Window / Preferences / Java / Installed jres
I've just look at the options, and I saw that I only have the 'Standard VM' (1.4.1) installed.
What JAR have you added in order to install J2SE support?
What JAR have you added in order to install J2EE support?
I've added the J2EE jar files in my standard Java config in JBoss, and it still don't work ;-(((
Also, I've the same problem if I start JBoss with a command line, so I think that the problem is more general then a JBossIDE problem.
What's you're opinion?
What are the environment variables that are used to lauch the javac command by JBoss/Tomcat when Tomcat try to compil a servlet?
Thanks for a little help...