当前位置: 动力学知识库 > 问答 > 编程问答 >

java - Domino Designer : Eclipse Project Loses External Jar References

问题描述:

I'me developping a java agent with Designer 8.5 with external jars in the project.

It works fine except when I close and reopen the project.

Then something quite strange happens: in the project build properties the references to jars are present but not taken in account, so there are compilation errors.

Then if I save a source file and come back to the project properties the references have gone.

So I must use the button "Add external jars" to redeclare them.

Has someone had this problem?

网友答案:

Mikkel Heisterberg has a great summary of the options available to you in regards to Managing external Java dependencies in Domino Designer

Basically, it boils down to:

  1. Include the classes in the agent/web service you are writing
  2. Put the classes in a Java script library and include the script library
  3. Use the JavaUserClasses notes.ini setting
  4. Put the classes in the jvm/lib/ext folder

Was that the information you were looking for? If not, please describe where/how you are using the external jars (Agents, Xpages, Managed Bean, ...).

分享给朋友:
您可能感兴趣的文章:
随机阅读: