Java Project Dependency not recognized - NoClassDefFoundException

1
0
-1

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?

1 answer

1
0
-1

Hi,

If you use a Bonita-provided connector, you must declare your jar in the list of dependencies of your process (in the configuration options).

If you use a custom connector you need to declare your Jar as a dependency of your connector, so that your connector implementation packages the jar inside it.

Hope this helps,
Emmanuel

Notifications