Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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.calss 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?

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.calss myActor.class is added to myActors myActors/ directory.

There is a xml file that points to the myActor.class. 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? place?

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?

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?