Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi there,
I've imported a Job and when I try to run the Job, I get the message "ValConnection_SAP cannot be resolved to a type".
The component, tJava, has the following instruction:
ValConnection_SAP conector = new ValConnection_SAP();
conector.main(null);
What must I do to get passed this error?
Thanks,
Rui
Hello @Rui Motta ,
Please check the tJava's advanced settings/Import to make sure where the class ValConnection_SAP come from ?
I guess it come from the Code/Routine, if yes, please import the missing code/routines
Best regards
Aiming
Hi Aiming,
Good morning.
The advanced settings are as follows:
Maybe the problem is this line, right?
//import java.util.List;
import java.io.File;
import java.io.FileOutputStream;
import java.util.Properties;
import pt.com.digital.ValConnection_SAP();
Maybe the problem is this line, right?
import pt.com.digital.ValConnection_SAP();
@Rui Motta , yes, it should be
import pt.com.digital.ValConnection_SAP;
But, if for some reason, the "import pt.com.digital.ValConnection_SAP;" instruction doesn't work, the error "ValConnection_SAP cannot be resolved to a type" is to be expected, right?