B
bgolda
Hi,
I have an application (which uses Tomcat5 on Windows) and would like to
compile it (very much). There is an environment in which the previous
version compiles well, but the new one does not. The only change was
that the program can use another jdbc driver. The suitable jar was put
in the directory used for the another driver and the path was set in
the compiling batch - it is the same as for the previous one. I'm not a
java programmer and have just basic knowledge and the compilation
errors in this case are not very informative to me. And I just wanted
to see "compilation succesful" message...
I read somewhere that it could be a servlet.jar issue, so I downloaded
it and put in the JAVA_HOME directory but it didn't help.
Any suggestions? It is probably very simple, but I could not find
anything suitable on the Groups and on the Web (or was too dumb to ask
the Right Question).
Thanks in advance,
Bart Golda
[error description starts]
[javac] Compiling 1 source file to C:\XXX\deploy.we
b\WEB-INF\classes
[javac] C:\XXX\src\com\mycorp\prod\prodQBE.
java:200: cannot access javax.servlet.jsp.PageContext
[javac] file javax\servlet\jsp\PageContext.class not found
[javac] rQuery.initialize(request, response, pageContext,
session, a
pplication, out, page);
[javac] ^
[javac] C:\XXX\src\com\mycorp\prod\prodQBE.
java:345: cannot access javax.servlet.jsp.JspWriter
[javac] file javax\servlet\jsp\JspWriter.class not found
[javac] out.println(sb.toString());
[javac] ^
[javac] Note: C:\XXX\src\com\mycorp\prod\prodQBE.java uses
unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 2 errors
[error description ends]
I have an application (which uses Tomcat5 on Windows) and would like to
compile it (very much). There is an environment in which the previous
version compiles well, but the new one does not. The only change was
that the program can use another jdbc driver. The suitable jar was put
in the directory used for the another driver and the path was set in
the compiling batch - it is the same as for the previous one. I'm not a
java programmer and have just basic knowledge and the compilation
errors in this case are not very informative to me. And I just wanted
to see "compilation succesful" message...
I read somewhere that it could be a servlet.jar issue, so I downloaded
it and put in the JAVA_HOME directory but it didn't help.
Any suggestions? It is probably very simple, but I could not find
anything suitable on the Groups and on the Web (or was too dumb to ask
the Right Question).
Thanks in advance,
Bart Golda
[error description starts]
[javac] Compiling 1 source file to C:\XXX\deploy.we
b\WEB-INF\classes
[javac] C:\XXX\src\com\mycorp\prod\prodQBE.
java:200: cannot access javax.servlet.jsp.PageContext
[javac] file javax\servlet\jsp\PageContext.class not found
[javac] rQuery.initialize(request, response, pageContext,
session, a
pplication, out, page);
[javac] ^
[javac] C:\XXX\src\com\mycorp\prod\prodQBE.
java:345: cannot access javax.servlet.jsp.JspWriter
[javac] file javax\servlet\jsp\JspWriter.class not found
[javac] out.println(sb.toString());
[javac] ^
[javac] Note: C:\XXX\src\com\mycorp\prod\prodQBE.java uses
unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 2 errors
[error description ends]