Hi,

I am trying to migrate my application from fedora core 3 to 4. tomcat 5
is working, mysql is working.  I had downloaded the latest version of
jdbc driver from mysql.com.
mysql-connector-java-3.1.12-bin.jar.

I had copied the same to lib directory of webapps/ROOT where the
application was copied to make it work.

I had taken help from a site to create jdbc.java file to compile and run
to see whether the connection is working.
http://www.dantullis.com/howtos/rh9_apache2_tomcat5_mysql413_howto6.html

While compiling [ java as it is coming with fc4 ] no error is given but
tried to run, it gives the following error.

[EMAIL PROTECTED] ROOT]# java ./jdbc
Exception in thread "main" java.lang.NoClassDefFoundError: ./jdbc
   at gnu.java.lang.MainThread.run() (/usr/lib64/libgcj.so.6.0.0)
Caused by: java.lang.ClassNotFoundException: ./jdbc
   at java.lang.Class.forName(java.lang.String, boolean,
   java.lang.ClassLoader) (/usr/lib64/libgcj.so.6.0.0)
   at gnu.java.lang.MainThread.run() (/usr/lib64/libgcj.so.6.0.0)
[EMAIL PROTECTED] ROOT]#

can some body help me.

Regards


Sarathy

-- 
http://www.fastmail.fm - One of many happy users:
  http://www.fastmail.fm/docs/quotes.html


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to