简体   繁体   中英

CMIS java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/apache/chemistry/opencmis/client/api/SessionFactory

java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/apache/chemistry/opencmis/client/api/SessionFactory

I keep on getting this error when I deploy an instance of CMIS. I know that there are other questions on here with the same error message but all those questions use Alfresco. My code does not use Alfresco, I am using the CMIS libraries natively. When I run my CMIS code on a local development instance, it works just fine, no errors. When I deploy it to a production server, it generates the error. My local web server is Liberty and the production server is WAS.

I have already verified that my ECM instance is working just fine and so is the CMIS gateway. I am able to make changes with CMIS Workbench just fine.

Can someone point me in the right direction to try and debug this?

我认为Gagravarr指的是将jar文件放入要部署到WAS的应用程序EAR文件中。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM