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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

failed to generate code

Hi,

I just installed TOS DI 7.1. When I add a component and press the Guess Schema button, I see the error "Failed to Generate Code".

For error in .metadata / logs, it says:

 

 

!ENTRY org.talend.platform.logging 4 0 2019-05-03 16:58:35.695
!MESSAGE 2019-05-03 16:58:35,695 ERROR org.talend.designer.codegen.config.TalendJetEmitter - No .class file created for file org\talend\designer\codegen\translators\common\ContextJava.class in C:/Talend/TOS_DI-Win32-20181026_1147-V7.1.1/workspace/.JETEmitters/runtime because of an IOException: C:\Talend\TOS_DI-Win32-20181026_1147-V7.1.1\workspace\.JETEmitters\runtime\org\talend\designer\codegen\translators\common\ContextJava.class (Access is denied)

 



To see the whole post, download it here
Labels (3)
1 Reply
Anonymous
Not applicable
Author

Hi
Which JDK version are you using? The recommended JDK version for v7.1 is Oracle JDK8 or OpenJDK 8, I would recommend you to read the documentation about compatible Operating systems and compatible Java environments.
https://help.talend.com/reader/H7vhLQax26UubBMaA6OfZQ/bzBSaP8aNjKInTxeTYRDjg

Regards
Shong