Technote (FAQ)
Question
How do you run a Web project in IBM WebSphere Application Developer that depends on a Java utility?
Cause
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.
Answer
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.
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.