My Application is built in jdk 1.4.Now there is a requirement for CachedRowSet for which i am using rowset.jar (as CachedRowSet is supported from jdk1.5 onwards).
there isn't any error displayed on the Eclipse IDE, but when i am building the application (running build.xml) its displays error as
cannot resolve symbol
CachedRowSet crs1 = new CachedRowSetImpl();
It sounds like the Ant build file does not include the required jar file - check the classpath it uses.
Ping & DNS - updated with new look and Ping home screen widget
Joined: Jul 01, 2008
In the build.xml i am specifying the path of the parent folder , and i have kept rowset.jar in it.
Joined: Mar 22, 2005
If you want to include jar files, then specifying the path doesn't work - you have to specify the actual jar file. Specifying directories only causes loose class files in them to be included, but not any jar files.