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

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
mal1602770212
Contributor
Contributor

Error Message: The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files

I installed Talend on mac Catalina for the first time, and added basic tFileInputExcel, but when trying to see the content of the the excel it shows this error:

Error Message: The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files

Preview error. Some settings must be changed.

Note: Preview errors are generally due to a wrong encoding setting.

org.talend.designer.runprocess.shadow.ShadowFilePreview.preview(ShadowFilePreview.java:90)

org.talend.metadata.managment.ui.utils.ShadowProcessHelper.getCsvArray(ShadowProcessHelper.java:383)

org.talend.repository.ui.wizards.metadata.connection.files.excel.ExcelFileStep2Form$PreviewProcessor.nonUIProcessInThread(ExcelFileStep2Form.java:1042)

org.talend.commons.ui.swt.thread.SWTUIThreadProcessor$1.run(SWTUIThreadProcessor.java:74)

I have java 11 installed on my mac

java -version

java version "15" 2020-09-15

Java(TM) SE Runtime Environment (build 15+36-1562)

Java HotSpot(TM) 64-Bit Server VM (build 15+36-1562, mixed mode, sharing)

I noticed in project java build it shows only 1.8 version.

How can I solve this?

0693p00000ADpoKAAT.png

Labels (2)
2 Replies
Anonymous
Not applicable

Hello,

What is your JDK Compliance level in Studio Java Compiler preferences? 

 

Go to JAVA --> INSTALLED JREs - to find the version of Java used by Studio and you can also alter the settings here.

 

 

Best regards

Sabrina

 

 

 

 

mal1602770212
Contributor
Contributor
Author

yes that's exactly was my issue, fixed it thanks!