I am using Domino8.0.2 . I am using run agent in my java application. when executing the Run Agent, the following error occurs.this is my agent…This is part of my code…
AgentContext agentContext = s.getAgentContext();
Document doc = newdb.createDocument();
doc.replaceItemValue("FileName", dxlPath);
doc.save(true, true);
String paramid = doc.getNoteID();
Agent agent = newdb.getAgent("JavaImport");
agent.run(paramid);
This is the following error…
Exception in thread “Thread-1” java.lang.NoClassDefFoundError: lotus/domino/webs
vc/client/Service
at lotus.domino.local.Agent.Nrun(Native Method)
at lotus.domino.local.Agent.run(Unknown Source)
at com.Oppsol.EmailManager.NotesMailOpener.runNotes(NotesMailOpener.java
:332)
at lotus.domino.NotesThread.run(Unknown Source)
12/23/2008 11:03:00 AM JVM: The lotus/domino/websvc/client/Service class could
not be loaded.