cannot be resolved to a type -Java compilation Error

Hi All,

We have consumed a external jar in server level . When we tried to use that in Pega activity java method getting cannot be resolved to a type -Java compilation Error .It’s working fine in other environments. One of our test environment is failing with compilation error .

  1. .Issue environment have jar at server level .

  2. we can see that class in SMA .

Is there any other place to check or is there any way to resolve this compilation error , please advice .

@Annamalai Have you restarted the server after the External JAR ? If not, please do so.

Also, check whether :

(1) Library is compiled in that environment

(2) Syntax is correctly written in the function (since the function works in other environments, this should not be an issue).

@VTALUKDAR

Thanks for your reply .

We have reinstalled a jar in pega and restarted a server .It was working .

Somehow a jar class instances are missed in one of our environment after migration .