开发者

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 cla开发者_StackOverflowss 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?


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.


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...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜