Error while compiling

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

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.