2 Replies Latest reply on Jan 2, 2007 10:49 AM by warfster

    Error in tutorial

    akivajunior

      I have installed JBoss IDE 2.00 beta2 in my Eclipse 3.2.1

      Now, im reading the jboss ide tutorial (http://docs.jboss.com/jbosside/tutorial/build/en/html/)

      But, when I complete the 6th chapter, i have a problem.

      this call inside doPost servlet method:

      double[] result = bean.compute(limit);
      


      generates an error. It says: "The method compute(int) is undefined for the type Fibo"

      How can I solve it??

      Thanks!



        • 1. Re: Error in tutorial
          warfster

          Were you able to work through this problem and find a solution?

          • 2. Re: Error in tutorial
            warfster

            I was able to fix this problem by re-reading the tutorial and correcting the XDoclet tags in my ComputeServlet.java class.

            See the JBoss Eclipse IDE Tutorial, Procedure 6.1. HTTP Servlet Configuration regarding the XDoclet tags for this servlet.

            This also addressed the issue I had with the
            "javax.naming.NameNotFoundException: Fibo not bound" error.