
The project classpath is crucial for any J2EE component in a project. It must point to the JAR or folder where the packages of the components and the classes that they use are located. You can set more than one classpath in a list. The position of a folder or a Java class in the classpath list is important because a classpath is searched for in the classpath list from top to the bottom and the first suitable classpath is used.
Managing Classpaths and Classpath Variables