Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi everyone,
i'm trying to run attached java code. Project settings Pom file is at attached.
i am getting the following error when i run "basic run":
Error: Unable to initialize main class dq_poc.boldtest_0_1.boldtest Caused by: java.lang.NoClassDefFoundError: org/apache/poi/ss/usermodel/Font
i am getting the following error when i run "debug run":
Hello
Make sure to import the necessary jar file into the job. Within the job, utilize the tLibraraLoad component to load the jar. If you're writing Java code in a user routine, simply right-click on the routine and choose 'Edit Routine Jar Libraries' to add the required jars.
Regards
Shicong
thanks your reply. I'm not writing code in a user routine, i am trying run my code in tjava component.
I think that i imported jar files correctly because i can see dependecies in the java build path. I have checked also their versions they are correct too.
Another thing to check is whether the version of the jar file is compatible with the current version of JAVA being used.
I've added libraries to project settings. Should i also add its to job with tLibraraLoad?