-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sandip,

On 11/30/2010 12:50 AM, Sandip Hirwale wrote:
> I [experience the] following error at runtime
> 
> java.lang.ClassNotFoundException

Which class? What is the rest of the stack trace?

> when I Build my application all the
> classes  are present in the web/WEB-INF/classes/ directory

Good, maybe. What is the "web" directory? Is that where you are
deploying your web application?

Are they in subdirectories or all in WEB-INF/classes?

> when I run application all the classes get deleted.

That shouldn't happen. When you say "run", do you mean "deploy" or
perhaps even "undeploy"?

How are you running Tomcat? How are you deploying your web application?

> why this happening?

That depends on what exactly is happening.

>  i Am usnig tomcat 6.0.20,netbeans6.8, and ubantu system

If you are launching Tomcat from within Netbeans, you may be having some
problems with the way that Netbeans deploys your webapp. You should ask
on the Netbeans list(s) how to properly deploy your webapp when using
Netbeans.

That version of Tomcat is quite old: you should consider upgrading.
There are lots of great improvements that have gone into TC since 6.0.20.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkz1ZJsACgkQ9CaO5/Lv0PAdTQCcDOsTsxMKN+hMaLLpRPrkUuBg
X+QAn02raY5Q37uHJOz9V5u7mwKBEC4h
=HUzH
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to