Error Extension Publication Workflow Application with Xwiki Entreprise 8.4.6

I’m trying to use the Workflow Application Extension.
I have created all the groups (contributors, moderators and validators) and i have created a new Workflow using these groups but when i try to publish a page from my draft space i have this error “Workflow.script. failed” and the log error is “Deprecated usage of getter [com.xpn.xwiki.api.XWiki.getSpaces] In xwiki:Publicationworkflow.PublicationWorkflowPanel.”
Is anyone could tell me how to resolve this problem please ?

Hello, is anyone can help me please ?

HI, i’ve found the solution, i had to download the api because of the dependies.