Message Boards

Liferay CE 7.4 GA3 GraphQL Multipart file upload not working.

Sandip Patel, modified 2 Years ago.

Liferay CE 7.4 GA3 GraphQL Multipart file upload not working.

New Member Post: 1 Join Date: 9/15/21 Recent Posts

Hi All,

I am using Liferay CE 7.4 GA3 and we are using headless graph API. 

I want to create an API for the file upload but i can see multipart request in graphQL is disabled as mentioned below link.

https://help.liferay.com/hc/en-us/articles/360039026272-Multipart-Requests

I followed the steps but while starting the server getting below error.

Caused by: java.lang.NoClassDefFoundError: com/liferay/portal/module/framework/ModuleFramework

Could you please give suggestion how to fix the issue ? 

Regards,

Sandip Patel

thumbnail
Olaf Kock, modified 2 Years ago.

RE: Liferay CE 7.4 GA3 GraphQL Multipart file upload not working.

Liferay Legend Posts: 6403 Join Date: 9/23/08 Recent Posts

Please share how you build your module. E.g. if you're using Liferay Workspace: Which target version did you configure? Do you manually configure dependencies that might be in a different version? OSGi can be quite picky if you specify a very specific version of a dependency at build-time that might not be compatible with what's found at runtime.

When you share: Pay specific attention to versions of the dependencies, or the target platform