0 Replies Latest reply on Apr 5, 2004 4:56 AM by vivek090

    Unable to compile class for JSP

    vivek090 Newbie

      Hello All,
      When i am trying to deploy an application that is running fine under Tomcat , I am getting this error:

      Generated servlet error:
      [javac] Compiling 1 source file
      [javac] C:\tomcat\JBoss\jboss-3.2.3\jboss-3.2.3\server\default\work\MainEngine\localhost\AuthorityWeb\authorityLogin_jsp.java:8: package bfcorp does not exist
      [javac] import bfcorp.*;
      [javac] ^
      [javac] C:\tomcat\JBoss\jboss-3.2.3\jboss-3.2.3\server\default\work\MainEngine\localhost\AuthorityWeb\authorityLogin_jsp.java:95: cannot resolve symbol
      [javac] symbol : class PrintWriter
      [javac] location: class org.apache.jsp.authorityLogin_jsp
      [javac] PrintWriter pw = new PrintWriter(out,true);
      [javac] ^
      [javac] C:\tomcat\JBoss\jboss-3.2.3\jboss-3.2.3\server\default\work\MainEngine\localhost\AuthorityWeb\authorityLogin_jsp.java:95: cannot resolve symbol
      [javac] symbol : class PrintWriter
      [javac] location: class org.apache.jsp.authorityLogin_jsp
      [javac] PrintWriter pw = new PrintWriter(out,true);
      [javac] ^
      [javac] 3 errors

      I have also placed the lib files in the default lib folder.I have put the application as war files in the deployment directory.

      Is there a need to modify xml files.
      Regards,
      Vivek