I can start JBoss from C:\jboss-4.0.2\bin\run.bat and my servlet works perfectly. Then I stop JBoss form C:\jboss-4.0.2\bin\shutdown -S.
Now I open up MyEclipse, and start JBoss. Got to a web browser and invoke the same servlet and I always get the error:
I don't understand what's different. I didn't deploy anything to JBoss from MyEclipse, I simple used MyEclipse to startup Jboss, instead of using run.bat. Anyone ever see this before??
OK, I got the answer......
I had to make sure that I was referencing the JDK instead of the JRE under the Installed JRE's in Java preferences, under the Window/Preferences option.