4 Replies Latest reply on Jan 26, 2005 6:24 AM by wisu66

    Precompiling JSP

    wisu66

      I am trying to precompile the JSP files but recive the following error when building:

      No public execute() in class org.apache.jasper.JspC

      My buildfile is basicly the same as the Tomcat example build
      http://jakarta.apache.org/tomcat/tomcat-5.0-doc/printer/jasper-howto.html

      What can I do about this?


        • 1. Re: Precompiling JSP
          efcorpa

          It could be an IDE bug; I used JBuilder X and had the same problem. If you do so as well, then you should install the JBuilder X Update 004 patch (download from Borland if registered) and follow patching instructions related to JBoss fixes

          • 2. Re: Precompiling JSP
            wisu66

            I am using Ant from the Cmd-prompt on Win NT .

            Java: 1.5.0
            JBoss 4.0.0

            • 3. Re: Precompiling JSP
              efcorpa

              Are your JSPs located at your webapp root dir or in subdirectories?
              I've heard about building problems in second case. You can try replacing the jasper-compiler.jar and jasper-runtime.jar libraries you are curently using for building for older ones (could be 4.0)

              • 4. Re: Precompiling JSP
                wisu66

                I have fetched the latest Jasper.*.jar fromboth: apache.org and jboss-4.0.1 but still recived receives the error:"No public execute() in class org.apache.jasper.JspC"