Chatree Srichart created OFBIZ-4845: ---------------------------------------
Summary: Apache Commons Compress is missing for Tika Key: OFBIZ-4845 URL: https://issues.apache.org/jira/browse/OFBIZ-4845 Project: OFBiz Issue Type: Bug Components: content Affects Versions: SVN trunk Environment: Ubuntu 10.04 Reporter: Chatree Srichart Attachments: commons-compress-1.4.jar I got a problem when I called createDataResource service for a zip file. 421240 [http-bio-0.0.0.0-8443-exec-2] ERROR org.ofbiz.service.group.GroupModel - Grouped service [createDataResource] failed. 421240 [http-bio-0.0.0.0-8443-exec-2] ERROR org.ofbiz.service.ServiceDispatcher - Error in Service [createContentFromUploadedFile]: ERROR: Could not complete the Create a Data Resource [file:/path/to/ofbiz/applications/content/script/org/ofbiz/content/data/DataServices.xml#createDataResource] process [Method to execute named getMimeTypeWithByteBuffer threw an exception: java.lang.NoClassDefFoundError: org/apache/commons/compress/archivers/zip/ZipFile] The problem was OFBiz is missing Apache Commons Compress library which is required for Tika. When I added commons-compress-1.4.jar into framework/base/lib/commons directory then it worked. Regards, Chatree Srichart -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira