When I installed the whole thing as instructed by the
README in the web site, I get an error when running ant
which looks like:
compile:
[javac] Compiling 66 source files to /home/dphillips/
Source/mysql_shout/jukex-0.8.3-src/build/classes
[javac] /home/dphillips/Source/mysql_shout/jukex-0.8.3-
src/src/java/com/neoworks/jukex/query/Query.java:173:
cannot resolve symbol
[javac] symbol : variable CachedRowSet
[javac] location: class com.neoworks.jukex.query.Query
[javac] CachedRowSet = new
CachedRowSet();
[javac] ^
[javac] /home/dphillips/Source/mysql_shout/jukex-0.8.3-
src/src/java/com/neoworks/jukex/query/Query.java:173:
javax.sql.rowset.CachedRowSet is abstract; cannot be
instantiated
[javac] CachedRowSet = new
CachedRowSet();
[javac] ^
[javac] /home/dphillips/Source/mysql_shout/jukex-0.8.3-
src/src/java/com/neoworks/jukex/query/Query.java:174:
cannot resolve symbol
[javac] symbol : variable cs
[javac] location: class com.neoworks.jukex.query.Query
[javac] cs.populate( state.executeQuery(
this.getSQL() ) );
[javac] ^
[javac] /home/dphillips/Source/mysql_shout/jukex-0.8.3-
src/src/java/com/neoworks/jukex/query/Query.java:176:
cannot resolve symbol
[javac] symbol : variable cs
[javac] location: class com.neoworks.jukex.query.Query
[javac] retval = new
AttributeValueResultSet( cs , this.selectAttributes );
[javac] ^
[javac] 4 errors
After redownloading and starting with a clean source tree,
here's how I fixed the problem. First, changed the import to:
import com.sun.rowset.CachedRowSetImpl;
and change all of the calls to "CachedRowSet" to
"CachedRowSetImpl".
The library I ended up using was jdbc_rowset-1.0-rd2 which
can be downloaded from https://jsecom8b.sun.com:443/
ECom/EComActionServlet/LegalPage:~:
com.sun.sunit.sdlc.content.LegalWebPageInfo;
jsessionid=jsecom8b.sun.com
-18238%3A3ff0c5cf%3Af589d3c49e43994