On 7 Nov 2025, at 10:55, Theodore Petrosky via Webobjects-dev 
<[email protected]> wrote:

> All of a sudden my PageWrapper WO doc is showing this error. 
> 
> <webobject name = "EntitiesMenu" />
> 
> In The WOD:
> EntitiesMenu : MenuHeader {
> }
> 
> The class for 'MenuHeader' is either missing or does not extend WOElement.
> 
> I don’t get this error. What can I define in my POM.xml to fix this!

WebObjects might be picking up a MenuHeader class that's not your MenuHeader 
component. Try this in your Application class:

        @Override
        public void installPatches() {
                super.installPatches();
                ERXPatcher.setClassForName(MenuHeader.class, "MenuHeader");
        }


-- 
Paul Hoadley
https://logicsquad.net/
https://www.linkedin.com/company/logic-squad/



Reply via email to