How do you run a Web project in IBM WebSphere Application Developer that depends on a Java utility?
A Web application contains JSPs and Servlets that depend on some Java utility classes. You put the approriate utility JAR into the Web project's Java build path; however, when you run the JSPs or Servlets in the WebSphere test environment, you receive a "class not found" error.
Steps to run a Web project that depend on a Java utility:
- Force the the WebSphere Test Environment to pick up the required utility classes during runtime by adding the appropriate utility JAR to the Enterprise Application project.
- Then, for each module, edit the Java JAR Dependencies from the properties page, and select the required JAR file to be available as a dependent JAR.