我尝试按照以下 WSO2 文档链接中给出的步骤来自定义 APIM 管理控制台的界面,但重新启动 carbon 服务器后更改不会反映。 需要这方面的建议。
文档链接: https://apim.docs.wso2.com/en/latest/install-and-setup/setup/advance-configurations/customizing-the-management-console/# !
根据文档遵循的步骤:
- 将 org.wso2.carbon.ui_4.6.0.jar 从 <PRODUCT_HOME>/repository/components/plugins/ 复制到单独的位置。
- 创建了一个名为 org.wso2.carbon.ui_4.6.0_patch 的 MMP,并在 MMP 下添加了新的 css 文件和图像文件。 从org.wso2.carbon.ui_4.6.0.jar复制模板.jsp,放到这个MMP项目下。 在此 jsp 文件中,添加了对新 css 文件的引用。
- Created one more MMP with name org.wso2.carbon.ui_4.6.0_fragment and within its pom.xml added a plugin to point to the org.wso2.carbon.ui_4.6.0_patch MMP.
- 使用 maven 为两个 MMP 创建了 jars,并将它们复制到 <PRODUCT_HOME>/repository/components/dropins/ 下。
- 重新启动 WSO2 APIM 服务器,但更改未反映在文档中给出的管理控制台 (https://localhost:9443/carbon) 中。