Page 1 of 1

Problems with OpenKM web services exceptions

PostPosted:Thu Mar 23, 2017 11:06 am
by moh.ali
I'm using OpenKM web services to integrate it with another java system but when i built it I got a lot of errors in exception, and I have got these errors.
I'm using :
1-OpenKM 6.2.24
2-Firefox 52.0.1
3-Windows 10 Pro

how can I solve it ?
Code: Select all
[ERROR] Errors in 'file:/C:/Users/NleDox%20-%20Mohammed/LunaWorkspace/ND1.5.0-Migration/src/main/java/sd/nctr/niledocs/frontend/client/service/MessageService.java'
[INFO]                [ERROR] Line 53: No source code is available for type com.openkm.ws.client.repository.AccessDeniedException_Exception; did you forget to inherit a required module?
[INFO]                [ERROR] Line 53: No source code is available for type com.openkm.ws.client.repository.DatabaseException_Exception; did you forget to inherit a required module?
[INFO]                [ERROR] Line 53: No source code is available for type com.openkm.ws.client.repository.PathNotFoundException_Exception; did you forget to inherit a required module?
[INFO]                [ERROR] Line 53: No source code is available for type com.openkm.ws.client.folder.DatabaseException_Exception; did you forget to inherit a required module?
[INFO]                [ERROR] Line 53: No source code is available for type com.openkm.ws.client.folder.AccessDeniedException_Exception; did you forget to inherit a required module?
[INFO]                [ERROR] Line 53: No source code is available for type com.openkm.ws.client.folder.AutomationException_Exception; did you forget to inherit a required module?
[INFO]                [ERROR] Line 53: No source code is available for type com.openkm.ws.client.folder.ExtensionException_Exception; did you forget to inherit a required module?
[INFO]                [ERROR] Line 53: No source code is available for type com.openkm.ws.client.folder.ItemExistsException_Exception; did you forget to inherit a required module?
[INFO]                [ERROR] Line 53: No source code is available for type com.openkm.ws.client.folder.PathNotFoundException_Exception; did you forget to inherit a required module?
[INFO]                [ERROR] Line 53: No source code is available for type com.openkm.ws.client.folder.RepositoryException_Exception; did you forget to inherit a required module?
[INFO]                [ERROR] Line 53: No source code is available for type com.openkm.ws.client.document.DatabaseException_Exception; did you forget to inherit a required module?
[INFO]                [ERROR] Line 53: No source code is available for type com.openkm.ws.client.document.IOException_Exception; did you forget to inherit a required module?
[INFO]                [ERROR] Line 53: No source code is available for type com.openkm.ws.client.document.PathNotFoundException_Exception; did you forget to inherit a required module?
[INFO]                [ERROR] Line 53: No source code is available for type com.openkm.ws.client.document.RepositoryException_Exception; did you forget to inherit a required module?
[INFO]             [ERROR] Unable to find type 'sd.nctr.niledocs.frontend.client.service.MessageService'
[INFO]                [ERROR] Hint: Previous compiler errors may have made this type unavailable
[INFO]                [ERROR] Hint: Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly

Re: Problems with OpenKM web services exceptions

PostPosted:Fri Mar 24, 2017 4:00 pm
by jllort
You have some missing package here, the error is clear, the question is why you are sharing frontend class with webservices ?
Code: Select all
sd.nctr.niledocs.frontend.client.service.MessageService
First of all I suggest to upgrade to the lastest OpenKM version: 6.3.3 https://github.com/openkm/document-management-system follow the steps described here https://docs.openkm.com/kcenter/view/ok ... guide.html

Finally I suggest you use our SDK for JAVA ( it's a client wrapper yet done to be used with community version what has almost interesting API mehtods ) https://docs.openkm.com/kcenter/view/sdk4j-1.1/