spring-attic / spring-security-saml

SAML extension for the Spring Security project
Other
419 stars 484 forks source link

Build Error #500

Closed sundarvc closed 3 years ago

sundarvc commented 3 years ago

Hi ,

I am trying to follow the build instructions give here but I am facing issues. Do I need JDK 1.6 or will JDK 11 or 13 work ? When I run ./gradlew build install I get compilation errors with JDK 11 .

Task 'install' not found in root project 'spring-security-saml'.

then, with just build task

springframework/security/saml/trust/httpclient/TLSProtocolSocketFactory.java:23: error: package javax.annotation does not exist import javax.annotation.PostConstruct; ^ Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 error 3 warnings

Thanks, Sundar

sundarvc commented 3 years ago

I was able to get it working with latest version of JDK 1.8 .