Importing java agent - class not found

Hello,

i’ve written a java agent using jbuilder 8 and build a jar-file of it. Now i will import the agent with the designer’s function “imported java”. I load the jar-file and point the base classname to java/tad/notes/vertrieb/CreateSalesOrder.class. The import filename is shown as java/tad.jar in the dialog window.

After refreshing the design of my database and starting the agent, I got the following error:

java.lang.ClassNotFoundException: java.tad.notes.vertrieb.CreateSalesOrder

at lotus.domino.AgentLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(ClassLoader.java:446)

at lotus.domino.AgentLoader.runAgent(Unknown Source)

In the notes.ini JavaUserClasses is set to c:\lotus\notes\data\java.

Any ideas?

Subject: importing java agent - class not found

Hi, Have you specified the package name in the base class. For example if you have your classin the package ‘com.mypackage.java’ then the base class should point to ‘com.mypackage.java.CreateSalesOrder.class’