WSO2 API 管理器未将更改应用于 repository/components/lib 中的外部 jar 文件

WSO2 API Manager not applying changes to external jar files in repository/components/lib

我已经实现了一个基于monetization interface and copied it to repository/components/lib folder. And done all the configurations related to monetization base on Monetizing an API 的计费引擎库。现在,每当我更改此库中的代码并构建新的 jar 文件并将其复制到此文件夹时,它都不会得到应用。每次进行更改时,我也会重新启动服务器。是否有任何缓存库文件的机制或其他一些我忽略的原因?

JAR 工件在服务器启动期间转换为 OSGi 包。如果您将任何 JAR 工件放在 /components/lib 目录中,它们将被 WSO2 转换为 OSGi 包并添加到 /components/dropins 目录中。

如果您更改了 JAR 的包名称或工件名称,则必须从 /components/dropins 目录中删除现有的 OSGi 包。删除后,将新的 JAR 放入 /components/lib 目录并重新启动服务器以再次加载包。