Mendix 9.12.7 - SAML 2.0 - Compilation of Java actions failed
0
Buildfile: C:\Users\I5041\Documents\Mendix\x\deployment\build_core.xml compile: [javac] Compiling 846 source files to C:\Users\x\run\bin [javac] Note: Processing Log4j annotations [javac] Note: Annotations processed [javac] Note: Processing Log4j annotations [javac] Note: No elements to process [javac] C:\Users\I5041\Documents\x\javasource\audittrail\log\diff_match_patch.java:1806: warning: [dep-ann] deprecated item is not annotated with @Deprecated [javac] public LinkedList<Patch> patch_make(String text1, String text2, [javac] ^ [javac] C:\Users\I5041\Documents\Mendix\x\javasource\saml20\implementation\DelegatedAuthenticationHandler.java:308: error: cannot find symbol [javac] httpPost.setEntity(new ByteArrayEntity(authnState.getModifiedSOAPRequest().getBytes(), ContentType.APPLICATION_SOAP_XML)); [javac] ^ [javac] symbol: variable APPLICATION_SOAP_XML [javac] location: class ContentType [javac] C:\Users\I5041\Documents\Mendix\x\javasource\saml20\implementation\DelegatedAuthenticationHandler.java:486: error: cannot find symbol [javac] ByteArrayEntity postData = new ByteArrayEntity(authnState.getModifiedSOAPResponse().getBytes(), ContentType.APPLICATION_SOAP_XML); [javac] ^ [javac] symbol: variable APPLICATION_SOAP_XML [javac] location: class ContentType [javac] C:\Users\I5041\Documents\Mendix\x\javasource\saml20\implementation\DelegatedAuthenticationHandler.java:506: error: cannot find symbol [javac] ByteArrayEntity postData = new ByteArrayEntity(authnState.getModifiedSOAPResponse().getBytes(), ContentType.APPLICATION_SOAP_XML); [javac] ^ [javac] symbol: variable APPLICATION_SOAP_XML [javac] location: class ContentType [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 3 errors [javac] 1 warning BUILD FAILED C:\Users\I5041\Documents\Mendix\x\deployment\build_core.xml:30: Compile failed; see the compiler error output for details. Total time: 1 minute 2 seconds Buildfile: C:\Users\I5041\Documents\Mendix\x\deployment\build_core.xml compile: [javac] Compiling 846 source files to C:\Users\I5041\Documents\Mendix\x\deployment\run\bin [javac] Note: Processing Log4j annotations [javac] Note: Annotations processed [javac] Note: Processing Log4j annotations [javac] Note: No elements to process [javac] C:\Users\I5041\Documents\Mendix\PortfolioManagement-Nucleus 9.12.7\javasource\audittrail\log\diff_match_patch.java:1806: warning: [dep-ann] deprecated item is not annotated with @Deprecated [javac] public LinkedList<Patch> patch_make(String text1, String text2, [javac] ^ [javac] C:\Users\I5041\Documents\Mendix\PortfolioManagement-Nucleus 9.12.7\javasource\saml20\implementation\DelegatedAuthenticationHandler.java:308: error: cannot find symbol [javac] httpPost.setEntity(new ByteArrayEntity(authnState.getModifiedSOAPRequest().getBytes(), ContentType.APPLICATION_SOAP_XML)); [javac] ^ [javac] symbol: variable APPLICATION_SOAP_XML [javac] location: class ContentType [javac] C:\Users\I5041\Documents\Mendix\PortfolioManagement-Nucleus 9.12.7\javasource\saml20\implementation\DelegatedAuthenticationHandler.java:486: error: cannot find symbol [javac] ByteArrayEntity postData = new ByteArrayEntity(authnState.getModifiedSOAPResponse().getBytes(), ContentType.APPLICATION_SOAP_XML); [javac] ^ [javac] symbol: variable APPLICATION_SOAP_XML [javac] location: class ContentType [javac] C:\Users\I5041\Documents\Mendix\PortfolioManagement-Nucleus 9.12.7\javasource\saml20\implementation\DelegatedAuthenticationHandler.java:506: error: cannot find symbol [javac] ByteArrayEntity postData = new ByteArrayEntity(authnState.getModifiedSOAPResponse().getBytes(), ContentType.APPLICATION_SOAP_XML); [javac] ^ [javac] symbol: variable APPLICATION_SOAP_XML [javac] location: class ContentType [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 3 errors [javac] 1 warning BUILD FAILED C:\Users\I5041\Documents\Mendix\x\deployment\build_core.xml:30: Compile failed; see the compiler error output for details. Total time: 1 minute 2 seconds
asked
Vidya S
1 answers
0
Issue is resolved. I removed the duplicate jar files from userlib. Thanks
answered
Vidya S