Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
i tried to use TOS 8 with the tPop component from github to get Authentication Mode to Microsoft Exchange. I can choose it in the component and filled in my tenant id, application id and client secret value, but during compile i get this error below: What to do?
Kind Regards
Holger
org.talend.designer.runprocess.ProcessorException: Job compile errors
At least job "Fetch_EMail" has a compile errors, please fix and export again.
Error Line: 1419
Detail Message: com.microsoft.aad.msal4j.ClientCredentialParameters cannot be resolved to a type
There may be some other errors caused by JVM compatibility. Make sure your JVM setup is similar to the studio.
at org.talend.designer.runprocess.JobErrorsChecker.checkLastGenerationHasCompilationError(JobErrorsChecker.java:359)
at org.talend.designer.runprocess.DefaultRunProcessService.checkLastGenerationHasCompilationError(DefaultRunProcessService.java:534)
at org.talend.designer.runprocess.RunProcessService.checkLastGenerationHasCompilationError(RunProcessService.java:318)
at org.talend.designer.runprocess.ProcessorUtilities.generateBuildInfo(ProcessorUtilities.java:826)
at org.talend.designer.runprocess.ProcessorUtilities.generateCode(ProcessorUtilities.java:706)
at org.talend.designer.runprocess.ProcessorUtilities.generateCode(ProcessorUtilities.java:2029)
at org.talend.designer.runprocess.RunProcessContext$2.run(RunProcessContext.java:663)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:436)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:352)
at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:468)
at org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.run(ProgressMonitorJobsDialog.java:228)
at org.eclipse.ui.internal.progress.ProgressManager.run(ProgressManager.java:984)
at org.talend.designer.runprocess.RunProcessContext.exec(RunProcessContext.java:610)
at org.talend.designer.runprocess.ui.ProcessComposite.exec(ProcessComposite.java:1447)
at org.talend.designer.runprocess.ui.views.ProcessView$RunAction.run(ProcessView.java:736)
at org.talend.designer.runprocess.ui.actions.RunProcessAction.run(RunProcessAction.java:63)
at org.talend.designer.core.debug.JobLaunchConfigurationDelegate$1$1.run(JobLaunchConfigurationDelegate.java:98)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:185)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4179)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3839)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1157)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:644)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:551)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:156)
at org.talend.rcp.intro.Application.start(Application.java:303)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:577)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:654)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1462)
Hello,
JDK 18 is not supported officially yet. It could not be caused by it but it might be.
We need to build to support a JDK version that is supported by everything being used(the complications here are due to dependencies upon many other third party sources ).
JDK 11 is supported for Talend v8 as well.
Best regards
Sabrina
Hello,
i installed JDK 11 and configured my Talend to use it as default. The job still won't compile. Error is the same as before.
Kind regards
Holger
Hello,
What is your JDK Compliance level in Studio Java Compiler preferences? 1.8?
You can 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
that's what i did after installing jdk 11, so that Studio is actually using jdk 11
Kind regards
Hello,
Thanks for your feedback and we need to make an investigation on your issue with our R&D team.
Will come back to you as soon as we can.
Best regards
Sabrina
Perhaps this link could help:
https://github.com/AzureAD/azure-activedirectory-library-for-java/wiki/ADAL4J-Basics
I think the adal4j libs are missing in my studio environment. If someone could tell me, what to do, to include those libs, it would probably solve the compile error
Kind Regards
Holger
Hello,
You can use the tLibraryLoad component to override the loaded JARs and their order. The JARs loaded by this component are placed at the beginning of the classpath, so you can use this component to forcefully load a class. However, Talend recommends using this component to add missing JARs and not to modify JAR versions.
Here is an official support article about:
Best regards
Sabrina
Sorry, but i still don't know what to do. I'm totally lost with the link in the answer.
Is there anybody here to share the exact steps needed to get the tPop Component working with M365?
What jar file is needed? Where to get this from? How to activate/load it in talend studio?
Kind regards
Hello @HoS1
Talend Studio notify you about required external modules in several ways.
https://help.talend.com/r/en-US/8.0/studio-user-guide/installing-external-modules
Don't hesitate to post your issue here.
Best regards
Sabrina
Hi Sabrina,
this is my last attempt getting help from the community. Let's recap what problem i have, so that you understand what's going on here.
I exchanged the tPop component in my studio from github according to my other question here
https://community.qlik.com/t5/Installing-and-Upgrading/Monthly-update-needed/m-p/2380139#M3511
Than after restarting and compiling i get this error:
At least job "Fetch_EMail" has a compile errors, please fix and export again.
Error Line: 1419
Detail Message: com.microsoft.aad.msal4j.ClientCredentialParameters cannot be resolved to a type
I followed the instructions on the link you gave me and take a look into the modules view especially for tPOP both needed modules are installed
also msal4j seems to be installed, too
Clicking on the download symbol in the modules view to install the missing libraries i see this
nothing to do for me here.
So what is the next step?
Regards
Holger