Naik, You are gettig this exception because the driver class is not visible to your java application. Include the db2java.zip (present in the local machine) in the class path (if you are using WSAD, it is 'build path') of your application.
posted 14 years ago
Thnx a lot for ur reply.
I have included db2java.zip in my classpath in WSAD.Still it is giving error.
Originally posted by Avi Abrami: Maybe someone who uses WSAD can tell you how to modify the CLASSPATH used by WSAD.
Each project has it's own classpath. I think the classpath Naik was referring to was the list of classpath variables. You need to update the build path for the project with the JDBC calls to include db2 as Ranga suggested.