Hi team,
Im trying do the same thing but in Confluence instance, using this same script in Script Console for confluence and i got this error:
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
Script32.groovy: 3: unable to resolve class org.ofbiz.core.entity.ConnectionFactory
@ line 3, column 1.
import org.ofbiz.core.entity.ConnectionFactory
^
Script32.groovy: 4: unable to resolve class org.ofbiz.core.entity.DelegatorInterface
@ line 4, column 1.
import org.ofbiz.core.entity.DelegatorInterface
^
How i resolve this problem? Thanks