[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

javax API



I tried to run a jsp page on my testing box with mozilla and tomcat and
got errors about not being able to find javax.sql and sun.jdbc.rowset,
among others. After searching, I figured out that these packages are
part of the j2ee... or so I concluded from what I found.

My question: is there a package (official or unofficial) for debian that
includes the above packages? I have the unofficial j2sdk1.3 and j2re1.3
installed already.

Here're the errors, in case there's something I'm missing:

Error: 500
Location: /examples/ism/country.jsp
Internal Servlet Error:

org.apache.jasper.JasperException: Unable to compile 
Found 16 semantic errors compiling "/var/cache/tomcat/DEFAULT/examples/ism/country_1.java":

     6. import javax.sql.*;
               <------->
*** Error: Could not find package "javax/sql" in:
                /usr/lib/j2re1.3/lib/rt.jar
                /usr/share/java/repository
                /usr/lib/j2sdk1.3/jre/lib/rt.jar
                /usr/lib/j2sdk1.3/lib/tools.jar
                /usr/share/tomcat/lib/tomcat.jar
                /var/lib/tomcat/webapps/examples/WEB-INF/classes
                /var/cache/tomcat/DEFAULT/examples
                /usr/share/tomcat/lib/container/xalan.jar
                /usr/share/tomcat/lib/container/xerces.jar
                /usr/share/tomcat/lib/common/etomcat.jar
                /usr/share/tomcat/lib/common/connector_util.jar
                /usr/share/tomcat/lib/common/core_util.jar
                /usr/share/tomcat/lib/common/tomcat_core.jar
                /usr/share/tomcat/lib/common/jasper-runtime.jar
                /usr/share/java/servlet-2.2.jar
                .



     7. import  sun.jdbc.rowset.*;
                <------------->
*** Error: Could not find package "sun/jdbc/rowset" in:
                /usr/lib/j2re1.3/lib/rt.jar
                /usr/share/java/repository
                /usr/lib/j2sdk1.3/jre/lib/rt.jar
                /usr/lib/j2sdk1.3/lib/tools.jar
                /usr/share/tomcat/lib/tomcat.jar
                /var/lib/tomcat/webapps/examples/WEB-INF/classes
                /var/cache/tomcat/DEFAULT/examples
                /usr/share/tomcat/lib/container/xalan.jar
                /usr/share/tomcat/lib/container/xerces.jar
                /usr/share/tomcat/lib/common/etomcat.jar
                /usr/share/tomcat/lib/common/connector_util.jar
                /usr/share/tomcat/lib/common/core_util.jar
                /usr/share/tomcat/lib/common/tomcat_core.jar
                /usr/share/tomcat/lib/common/jasper-runtime.jar
                /usr/share/java/servlet-2.2.jar

<rest of errors not included>


TIA



Reply to: