Netbeans - java.lang.NoClassDefFoundError

Hi,

I am working with a set of custom libraries which are used to make up my application.

I have registered my custom libraries with the required project.

So for example.

(Java Libraries)

MyLib1: located in C:\myprojects\myLib1\

MyLib2 -references MyLib1, and is located in C:\myprojects\mainproject\Mylib2\

MyLib3 s located in - C:\myprojects\mainproject\Mylib3\

MyApplication References MyLib2 and MyLib3.

The project directories are just to illustrate the level of sub directories the projects are from one another, I cannot see how this would be a problem.

I have referenced the projects by adding a project to the library list using the IDE.

The whole applcation compiles and builds without any problems, but when I run the app (within netbeans) I get java.lang.NoClassDefFoundError. Which means the libraries are not being referenced at runtime, but I cannot fined a way to correct this problem.

Does anyone have any idea's? Thanks

Solved it (I think) the main applcation needs a reference to everything for it to run.

Message was edited by:

QS42

[1152 byte] By [QS42a] at [2007-10-3 2:12:52]
# 1
Make sure all required JAR and CLASS files are on your CLASSPATH.- Saish
Saisha at 2007-7-14 19:11:44 > top of Java-index,Java Essentials,New To Java...