Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
abarim
Contributor
Contributor

use rowStruct in routines

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

Labels (2)
2 Replies
F_B
Specialist II
Specialist II

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.

abarim
Contributor
Contributor
Author

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