3 Replies Latest reply on Nov 1, 2003 10:54 AM by Juha Lindfors

    Where do classes go?

    jfox Newbie

      This seems incredibly simple to figure out, but I'm a total JSP newbie and can't find seem to find good documentation.

      I have a war file that works fine with JRUN but is giving me errors under JBOSS 3.2.1.

      The error message:
      Generated servlet error:
      [javac] Compiling 1 source file
      [javac] C:\jboss-3.2.1\server\default\tmp\deploy\server\default\deploy\work\MainEngine\localhost\rma\mrbreports_jsp.java:7: '.' expected
      [javac] import sqltoxls;
      [javac] ^
      [javac] C:\jboss-3.2.1\server\default\tmp\deploy\server\default\deploy\work\MainEngine\localhost\rma\mrbreports_jsp.java:505: cannot resolve symbol
      [javac] symbol : class sqltoxls
      [javac] location: class org.apache.jsp.mrbreports_jsp
      [javac] sqltoxls xls = new sqltoxls("//misnfs1/rma/temp/","",ADO);
      [javac] ^
      [javac] C:\jboss-3.2.1\server\default\tmp\deploy\server\default\deploy\work\MainEngine\localhost\rma\mrbreports_jsp.java:505: cannot resolve symbol
      [javac] symbol : class sqltoxls
      [javac] location: class org.apache.jsp.mrbreports_jsp
      [javac] sqltoxls xls = new sqltoxls("//misnfs1/rma/temp/","",ADO);
      [javac] ^
      [javac] Note: C:\jboss-3.2.1\server\default\tmp\deploy\server\default\deploy\work\MainEngine\localhost\rma\mrbreports_jsp.java uses or overrides a deprecated API.
      [javac] Note: Recompile with -deprecation for details.
      [javac] 3 errors



      sqltoxls.class is located under \WEBINF-classes\

      Here is the line of code where it is imported in mrbreports.jsp:
      <%@ page import="sqltoxls"%>