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
- Select Show advanced Settings.
- Click Next.
- Under Modify Project Facets, click Modify...
- 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"}]
Was this topic helpful?
Document Information
Modified date:
20 March 2026
UID
ibm17263069