Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
When I try to import my row strutues in my routines, I have an error "import projectName cannot be solved"
package routines;
import projectName.JobName_0_1.jobName.row1Struct;
public class myClass {
....
}
can someone help me ?
Thanks & Regards
Hi @abarim ,
consider sharing more details about your project structure, the location of the class, and any relevant logs or error messages, this will help narrow down the problem and provide more targeted assistance.
Hello,
The structure is very simple. I create a local project (local repository) on my C: drive. The name is:
"myproject"
In this project i have a job called "test". The code of this job has below declarations.
package myproject.test_0_1;
public class test implements TalendJob
public static class row1Struct implements routines.system.IPersistableRow<row1Struct>
I create a routines in which i want to import the row1Struct .
package routines;
import myproject.test_0_1.test.row1Struct;
public class test
{
public static void helloExample(String message)
{
if(message == null)
{
message = "World";
}
System.out.println("Hello " + message + " !");
}
}
At the line when i import the row1Struct, I have the below error:
The import myproject cannot be resolved
I hope it is enough clear and detailed.
Reagrds,
Ali