hi friends,
I try to run the simple HelloWorldServlet on JBoss 4.0.3SP1 with eclipse 3.1 (JBoss IDE 1.5).
The sample is from the JBoss IDE aticle - http://www.devx.com/opensource/Article/20242/0/page/4
When i run packaging to create my war file - i see that it doesn't create the WEB-INF/classes folder in the bin dir, so the HelloWorldServlet.class is not copied to the above location.
When i try to reach http://localhost:8080/helloworld/Hello from the browser, i get this:
08:55:36,437 ERROR [[/helloworld]] Error loading WebappClassLoader
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.FactoryURLClassLoader@df0c3a
com.devx.example.HelloWorldServlet
java.lang.ClassNotFoundException: com.devx.example.HelloWorldServlet
I think the problem is in the packafing operation.
What am i doing wrong? Please advice.
Thanks
Rivka
hi again friends,
don't bother reading the original post - i did a mistake in the servlet name.
thanks
Rivka