IBM Support

How to run a Web project that depends on a Java utility

Technote (FAQ)


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:

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

Document information

More support for: WebSphere Studio Application Developer
Web Development and design

Software version: 5.0

Operating system(s): Linux, Windows

Reference #: 1106086

Modified date: 2012-01-27