문제

Here is my code:

import com.bmc.arsys.api.ARException;
import com.bmc.arsys.api.ARServerUser;
 
public class ARServer {
    
   public static void main(String[] args) {
        ARServerUser ar = new ARServerUser();
        
        ar.setServer("ServerName");
        ar.setUser("Username");
        ar.setPassword("Password");
        ar.connect();
        ar.login();
   
        try {
            ar.verifyUser();
        } catch (ARException e) {
            System.out.println(e.getMessage());
        }
   }
}

I have created build path for this jar file "ardoc7604_build002.jar" but still i am getting errors like:

import com.bmc.arsys.api.ARException can not be resolved

import com.bmc.arsys.api.ARServerUser; can not be resolved

ARserver can not be resolved

ARException can not be resolved to a type.

Thanks in advance for help.

도움이 되었습니까?

해결책

you have put the javadoc jar in your path - you need to use the java api jar instead.

arapi7604_build002.jar

다른 팁

are you Only Java person or do you understand C# aswell if so I can give you some examples

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top