Skip to content

[WIP] Fix JSP compilation errors in legacy UI#234

Closed
Copilot wants to merge 1 commit intomasterfrom
copilot/fix-jsp-compile-errors
Closed

[WIP] Fix JSP compilation errors in legacy UI#234
Copilot wants to merge 1 commit intomasterfrom
copilot/fix-jsp-compile-errors

Conversation

Copy link
Contributor

Copilot AI commented Feb 23, 2026

Thanks for asking me to work on this. I will get started on it and keep this PR's description up to date as I form a plan and make progress.

Fix these errors that i get when i run the changes in this pull request #232 within openmrs web app version 3.0.0-SNAPSHOT: org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: [3,349] in the generated java file: [/Users/danielkayiwa/Projects/openmrs/openmrs-core/webapp/target/tmp/jsp/org/apache/jsp/WEB_002dINF/view/index_jsp.java] The method doCatch(Throwable) is undefined for the type PortletTag

An error occurred at line: [3,351] in the generated java file: [/Users/danielkayiwa/Projects/openmrs/openmrs-core/webapp/target/tmp/jsp/org/apache/jsp/WEB_002dINF/view/index_jsp.java] The method doFinally() is undefined for the type PortletTag

An error occurred at line: [5,030] in the generated java file: [/Users/danielkayiwa/Projects/openmrs/openmrs-core/webapp/target/tmp/jsp/org/apache/jsp/WEB_002dINF/view/index_jsp.java] The method doCatch(Throwable) is undefined for the type PortletTag

An error occurred at line: [5,032] in the generated java file: [/Users/danielkayiwa/Projects/openmrs/openmrs-core/webapp/target/tmp/jsp/org/apache/jsp/WEB_002dINF/view/index_jsp.java] The method doFinally() is undefined for the type PortletTag

An error occurred at line: [5,188] in the generated java file: [/Users/danielkayiwa/Projects/openmrs/openmrs-core/webapp/target/tmp/jsp/org/apache/jsp/WEB_002dINF/view/index_jsp.java] The method doCatch(Throwable) is undefined for the type PortletTag

An error occurred at line: [5,190] in the generated java file: [/Users/danielkayiwa/Projects/openmrs/openmrs-core/webapp/target/tmp/jsp/org/apache/jsp/WEB_002dINF/view/index_jsp.java] The method doFinally() is undefined for the type PortletTag

Stacktrace: at org.apache.jasper.compiler.DefaultErrorHandler.javacError (DefaultErrorHandler.java:102) at org.apache.jasper.compiler.ErrorDispatcher.javacError (ErrorDispatcher.java:213) at org.apache.jasper.compiler.JDTCompiler.generateClass (JDTCompiler.java:520) at org.apache.jasper.compiler.Compiler.compile (Compiler.java:397)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants