Using External jar causing Error

ⅰ亾dé卋堺 提交于 2019-12-24 14:06:39

问题


I'm doing the following steps:

  1. Create an empty Notes Database (Lotus Notes 9.0.1 on Domino 9 Server)
  2. Creating Xpage with only one Label
  3. Inserting external Jar File (Code - Jars)

I tested this setting with different jar Files. In most cases there are no problems but I found 2 jar Files which produce an error 500 in XPage without being referenced

starface-rpc-1.6.442.jar

log4j-1.2.17.jar

Does someone has an idea what can be the problem?


回答1:


Those two .jar files depend probably from other .jar files.

Look at the project pages like this for log4j to find out which .jar files you need to add to your application too.

Update:

Those .jar files stay in conflict with existing Java APIs used by Domino Server. That's why you get the error even without using them in an XPage as they get used by Domino Server executing an XPage.

Look here for explanation the log4j issue



来源:https://stackoverflow.com/questions/26730515/using-external-jar-causing-error

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!