Error while compiling

0
I upgraded a project from version 8 to 9 and then 10. I keep getting a series of compilation errors like:   javasource\saml20\implementation\DelegatedAuthenticationHandler.java:308: error: cannot find symbol            httpPost.setEntity(new ByteArrayEntity(authnState.getModifiedSOAPRequest().getBytes(), ContentType.APPLICATION_SOAP_XML));                                                                                                              ^  symbol:   variable APPLICATION_SOAP_XML  location: class ContentType    
asked
1 answers
0

If you did not already do this try importing the latest version of the SAML module.

If that didn't work open the userlib directory in your project folder and check for duplicate jar files.

If the problem persists then import the project in eclipse and look for any errors in the code that probably relate to missing jar file.

Hope this helps in finding a solution.

answered