The optional jdbc 2.0 package is a separate download from javasoft. You have to have this, but it isn't mentioned in the docs IIRC. Also not mentioned, AFAIK, is the need for XALAN on your classpath to successfully build.

The only things on my classpath when I build are:
1. xerces.jar
2. xalan.jar (1.2, not 2.0)
3. jdbc2_0-stdext.jar

jim

To: <[EMAIL PROTECTED]>
cc:
Subject: build problems, finding javax.sql.DataSource


I am having problems building any of the applications found in struts.  It can't seem to import the javax.sql.DataSource package.  Does anyone know where I might find this package?
 
Here are the details of the error:
 
    [javac] C:\jakarta-struts-1.0-b1\jakarta-struts-1.0-b1-src\src\share\org\apa
che\struts\action\ActionServlet.java:82: cannot resolve symbol
    [javac] symbol  : class DataSource
    [javac] location: package sql
    [javac] import javax.sql.DataSource;
    [javac]                  ^
 
Thanks in advance,
Mike

Reply via email to