且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

xpages:java.lang.ClassNotFoundException:在 NSF 中找不到类 org.apache.commons.httpclient.HttpMethod

更新时间:2023-11-16 19:03:28

在 WebContent\WEB-INF 下创建一个名为 lib 的文件夹.您不需要将其添加到构建路径中.将 apache commons jar 作为 jar 导入其中.然后它对我有用,但正如我所说,我没有在一台服务器上测试过一种以上的方法.

Create a folder under WebContent\WEB-INF called lib. You don’t need to add it into the Build Path. Import the apache commons jar into that as a jar. Then it worked for me, but as I say I haven’t tested on more than one method on one server.

在这个问题中也有导入插件到 XPage 项目不工作