IBM Support

Resolving Tomcat 10 Web Project Errors by Using Dynamic Web Module 4.0 in IBM Business Developer 10

Troubleshooting


Problem

Errors with Tomcat 10 or higher web projects that use the project facet Dynamic Web Module 5.0.

Symptom

  • Expanding Tomcat web projects results in the error “java.lang.IllegalArgumentException: Attempted to beginRule: P/myproject, does not match outer scope rule: “
  • ClassCastException when deploying to Tomcat web projects

Environment

IBM Business Developer 10

Resolving The Problem

Modify the project facet of the web project to use Dynamic Web Module 4.0 instead of 5.0

  • When creating an EGL Web Project for  Tomcat 10 or higher
    1. Select Show advanced Settings.
    2. Click Next.
    3. Under Modify Project Facets, click Modify...
    4. Select Dynamic Web Module 4.0.
         
  • When creating an Eclipse Dynamic Web Project, select Dynamic Web Module version 4.0.

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB70","label":"Z TPS"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSQ5HH","label":"IBM Business Developer"},"ARM Category":[{"code":"a8m0z0000000BB1AAM","label":"Rational Business Developer"}],"ARM Case Number":"","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"10.0.0"}]

Document Information

Modified date:
20 March 2026

UID

ibm17263069