简体   繁体   中英

How import java class from library java in code java

For explain situation I was in Lotus Designer. I works with java class and I would like add code from java Library and I can't. My library are in the Script's Libraries but I can't import this class of my Library !!

I don't understand !!

exemple :

Code => Script's Libraries => com.pasquier.utilitaire.UtiliRepertoire;
     => java's code => package com.pasquier.photoWeb.DAO;

package com.pasquier.photoWeb.DAO;

import com.pasquier.utilitaire.UtilRepertoire; <=   "import can not be resolved"

public class PhotoDAO {


}

Could you help me ?

Well it isn't possible to access the libraries from the code java. We must copy the package in Library ANd in the code...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM