如何导出 jar 不能用他们的 lib 执行

How export jar not executable with their lib

我正在做一个项目,它将在 api 管理器的后端请求的 header 中添加调解器,所以我需要导出需要库的 jar(不可运行),你能请告诉我如何解决未找到 class 的异常 谢谢

当您要添加外部库时,您必须将它们添加到 $WSO2_Product_home/repository/components/lib 文件夹中。

然后这些库将在服务器启动时添加到 dropins 文件夹 ($Product_home/repository/components/dropins)。

注意:如果您在服务器运行时添加库,您应该重新启动服务器。