Error importing library (.JAR) and using it in a script

We have imported a library (google-oauth-client-1.30.1) through Bonitasoft's library loading manager. The load looks good and is available, but when we are going to import it into a script and evaluate that import, the following exception appears:

(...) Groovy script throws an exception of type class java.lang.NoClassDefFoundError.

We tried placing the .JAR in the Bonita folders and in the workspace but the same exception followed. Reading we have found that it may be a problem with the ClassPath and class loader, but we do not know how to solve it to use this library.

Error al importar librería (.JAR) y utilizarla en un script

Hemos importado una librería (google-oauth-client-1.30.1) mediante el gestor de carga de librerías de Bonitasoft. La carga se ve bien y queda disponible, pero cuando vamos a importarla en un script y evaluar esa importación aparece la siguiente excepción:

(...) Groovy script throws an exception of type class java.lang.NoClassDefFoundError.

Java Project Dependency not recognized - NoClassDefFoundException

I have a Java Project with Objects and Classes to use in Connectors in Bonita Studio. I see the class definitions when I initialize eg a Pool Variable and can select my class type. Whenever I use something from that jar in a Java Connector inside Bonita Studio I run into NoClassDefFoundException when executing the process.

How can I use custom Objects and Classes in Bonita Connectors?

Connector return value exception: com.thoughtworks.xstream.mapper.CannotResolveClassException

Hi @all

Env: Win7-32Bit/Bonita BPM Community Edition 6.5.0/Java 8

I created a connector which calls a service class that uses JPA to query the DB and returns a POJO. When I test the connector, querying the DB (with usage of persistence.xml) works ok, but when connector is closed (or whatever is its state within the BPM) and the result ist returned I get the following exception: