Compliation of Java Actions failed - After adding Pusher Widget

0
Hello Mendixer, After adding the Pusher Module (   Mendix Marketplace - Pusher ) to the App i get the Error : Compliation of Java Actions failed    Below the Details of the Error: Buildfile: C:\Users\zenkovicd\Desktop\Mendix Aplications\OrderManagment App-main\deployment\build_core.xml compile:     [javac] Compiling 528 source files to C:\Users\zenkovicd\Desktop\Mendix Aplications\OrderManagment App-main\deployment\run\bin     [javac] C:\Users\zenkovicd\Desktop\Mendix Aplications\OrderManagment App-main\javasource\saml20\implementation\security\SAMLSessionInfo.java:111: error: cannot find symbol     [javac]                     new String[]{"TLSv1.2", "TLSv1.3"}, null, SSLConnectionSocketFactory.getDefaultHostnameVerifier());     [javac]                                                                                         ^     [javac]   symbol:   method getDefaultHostnameVerifier()     [javac]   location: class SSLConnectionSocketFactory     [javac] C:\Users\zenkovicd\Desktop\Mendix Aplications\OrderManagment App-main\javasource\saml20\implementation\security\SAMLSessionInfo.java:121: error: cannot find symbol     [javac]             RequestConfig requestConfig = RequestConfig.custom().setCookieSpec(CookieSpecs.STANDARD_STRICT)     [javac]                                                                                           ^     [javac]   symbol:   variable STANDARD_STRICT     [javac]   location: class CookieSpecs     [javac] C:\Users\zenkovicd\Desktop\Mendix Aplications\OrderManagment App-main\javasource\saml20\implementation\security\SAMLSessionInfo.java:132: error: cannot find symbol     [javac]                     .setConnectionTimeToLive(1, TimeUnit.MINUTES)     [javac]                     ^     [javac]   symbol:   method setConnectionTimeToLive(int,TimeUnit)     [javac]   location: class HttpClientBuilder     [javac] Note: Some input files use or override a deprecated API.     [javac] Note: Recompile with -Xlint:deprecation for details.     [javac] 3 errors BUILD FAILED C:\Users\zenkovicd\Desktop\Mendix Aplications\OrderManagment App-main\deployment\build_core.xml:30: Compile failed; see the compiler error output for details. Total time: 7 seconds It seems like, that there is a conflict with Saml now. In a other TestApp the Pusher Widget works perfekt.   Some Advices? Thanks!   Best Regards,  
asked
3 answers
2

This is usually down to multiple versions of the same module in the userlib folder of your problem. In this case, I think suspect you have two different versions of httpclient.jar. 

The fix is to remove the lower versions of the same modules leaving only the highest version number.

Good luck!

answered
0

Probably an issue with duplicate jar files in your userlib directory.

Search for duplicate jars with a different version and make sure there is only one version of that jar file available in the directory, that should solve your issue (might need to clean the deployment directory)

answered
0

Thank you Robert and thank you Erwin.

Problem Solved!!

 

 

answered