Upgrading NTLM Webservice call from 5.15 to 5.18 Java Error - constructor NTLMScheme in class NTLMScheme cannot be applied to given types;

I am trying to upgrade my application from 5.15 to 5.18. We are using the NTLM webservice (https://github.com/chadevansMX/WebService_NTLM). I've tried to contact the developer on Github but he seems to be inactive. Is there anybody that could help me out with the following java error? Buildfile: C:\Users\Sande\Documents\REV'IT! Middleware-ACCP\deployment\build_core.xml compile: [javac] Compiling 558 source files to C:\Users\Sande\Documents\REV'IT! Middleware-ACCP\deployment\run\bin [javac] C:\Users\Sande\Documents\REV'IT! Middleware-ACCP\javasource\webservice_ntlm\actions\NTLM_WebService.java:108: error: constructor NTLMScheme in class NTLMScheme cannot be applied to given types; [javac] NTLMScheme ntlmScheme = new NTLMScheme(); [javac] ^ [javac] required: NTLMEngine [javac] found: no arguments [javac] reason: actual and formal argument lists differ in length [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: C:\Users\Sande\Documents\REV'IT! Middleware-ACCP\javasource\com\mendix\core\Core.java uses unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 1 error BUILD FAILED C:\Users\Sande\Documents\REV'IT! Middleware-ACCP\deployment\build_core.xml:28: Compile failed; see the compiler error output for details. Total time: 4 seconds
1 answers

Hi Niels, I recognise this problem and I suspect that the issue is caused by conflicting java-libraries. If you have a new clean project in which you only add the NTLM-module: you only need 5 libraries in your userlib directory: httpclient-4.4.1.jar, httpclient-cache-4.4.1.jar, httpclient-win-4.4.1.jar, httpcore-4.4.1.jar and httpmime-4.4.1.jar. Then you can add the module CommunityCommons with its libraries and this new application should work. I do not exactly know how to fix an existing project, but I think that the 5 mentioned libraries should be there without other versions. Hope this helps! Kind regards, Johan