Problems with adding new java actors with external dependencies
I am trying to add a new java Actor to an existing example model. This actor would use a jar file that has already been added to BCVTB/lib directory. Also, myActor.class
is added to myActors/
directory.
There is a xml file that points to the myActor.class
. When I try to load the xml file in BCVTB, I get an error indicating that some class files cannot be located in the jar files.
However, as soon as I remove the dependencies to the jar package from the java class, the new actor can be created and used in BCVTB.
Any suggestions on fixing the problem is much appreciated. Am not putting the jar files in the right place?