Page 1 of 1

Error code in jboss

PostPosted:Thu Dec 22, 2016 6:33 am
by jimac
I am trying to move a file to another document. ( I will make an action in the Node node)
I used the code that was referenced by sir Jilot. (in my post : how to use public void move)


but then.. there is an error.
DbSessionManager cannot be resolved
OKMDocument cannot be resolved


Please see the attached image.
Thank you!
God Bless :D

Re: Error code in JBoss

PostPosted:Thu Dec 22, 2016 7:10 pm
by jllort
You need to link the openkm source code with this new project, for doing it:
right click on properties > java build path > tab projects ( and choose from there the openkm project that you have also checked out from sourceforge )

Re: Error code in JBoss

PostPosted:Fri Dec 23, 2016 1:46 am
by jimac
jllort wrote:You need to link the openkm source code with this new project, for doing it:
right click on properties > java build path > tab projects ( and choose from there the openkm project that you have also checked out from sourceforge )

PLEASE SEE THE ATTACHED PICTURES.

Good Day!

I have added the sdk1.1.jar in the build path as shown in the attached picture.
But still, DbSessionManager and OKMDocument error is it cannot be resolved

why is it like that??
what should I import??

THANK YOU! :D

Re: Error code in JBoss

PostPosted:Fri Dec 23, 2016 1:48 am
by jimac
other picture

Re: Error code in JBoss

PostPosted:Fri Dec 23, 2016 10:01 am
by jllort
The SDK is for connecting applications outside openkm, for creating workflow code must use openkm code project. Did you downloaded openkm portable ( https://sourceforge.net/projects/openkmportabledev/ ) or you are using a clean eclipse ?