0 Replies Latest reply on Mar 28, 2008 6:16 PM by fed up

    jboss developer studio

    fed up Newbie

      hi all

      i'm trying to create a simple app in jboss developer studio, but having big trouble getting it to work

      i created a dynamic web project
      then created a helloworld servlet in the src folder

      public class HelloWorldServlet extends HttpServlet
      protected void service(HttpServletRequest request, HttpServletResponse response)
       throws ServletException, IOException
       ServletOutputStream out = response.getOutputStream();
       out.println("<html><body><h1>Hello World!</h1></body></html>");

      In webContent -> WEB-INF -> web.xml i added this


      I then right-click on the folder and select Debug As - debug on server

      jboss start up and i get the error - Bad version number in .class file

      in the broswer address bar i put http://localhost:8080/Test/Hello but i get a 404 error

      What am i doing wrong

      using jboss developer studio
      java 1.5