NateLogan
NateLogan

Reputation: 1

GlassFish NoClassDefFoundError - Netbeans project

I'm sometimes getting NoClassDefFoundError after deploying web application in Netbeans (6.9.1). It's actually problem with Netbeans not deploying entire project (not copying class files or other relevant files), but only part of it.

Running "Clean & Build" a few times and/or copying rest of the files solves the problem, but it's very inconvenient.

Anyone knows the cause or solution of this problem?

Upvotes: 0

Views: 571

Answers (2)

J. Random Coder
J. Random Coder

Reputation: 11

Try clearing your Netbeans cache, or check out the bug fixes for Netbeans 7.

The cache is at ~/.netbeans/6.9/var/cache. I found instructions to just delete the index/ folder in the cache, but that didn't seem to be enough.

EDIT: Deleting the entire cache didn't seem to resolve it, either.

Upvotes: 1

Jitesh
Jitesh

Reputation: 1382

Your answer is not much clear but,

I suggest to add your required jar files in Netbeans library then import the library into your project..

If this does not work then i'll be glad to having the complete situation and errors to be written here...

Upvotes: 0

Related Questions