mitreid-connect / OpenID-Connect-Java-Spring-Server

An OpenID Connect reference implementation in Java on the Spring platform.
Other
1.47k stars 767 forks source link

Compilation issue #1562

Open samyem opened 2 years ago

samyem commented 2 years ago

Checking out from git and running mvn package gives the following error:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.1:compile (default-compile) on project openid-connect-common: Compilation failure: Compilation failure: [ERROR] /home/azureuser/fhir/miteid/openid/OpenID-Connect-Java-Spring-Server/openid-connect-common/src/main/java/org/mitre/openid/connect/config/ConfigurationPropertiesBean.java:[23,24] cannot find symbol [ERROR] symbol: class PostConstruct [ERROR] location: package javax.annotation [ERROR] /home/azureuser/fhir/miteid/openid/OpenID-Connect-Java-Spring-Server/openid-connect-common/src/main/java/org/mitre/jwt/encryption/service/impl/DefaultJWTEncryptionAndDecryptionService.java:[28,24] cannot find symbol [ERROR] symbol: class PostConstruct [ERROR] location: package javax.annotation [ERROR] /home/azureuser/fhir/miteid/openid/OpenID-Connect-Java-Spring-Server/openid-connect-common/src/main/java/org/mitre/openid/connect/config/ConfigurationPropertiesBean.java:[82,10] cannot find symbol [ERROR] symbol: class PostConstruct [ERROR] location: class org.mitre.openid.connect.config.ConfigurationPropertiesBean [ERROR] /home/azureuser/fhir/miteid/openid/OpenID-Connect-Java-Spring-Server/openid-connect-common/src/main/java/org/mitre/jwt/encryption/service/impl/DefaultJWTEncryptionAndDecryptionService.java:[119,10] cannot find symbol [ERROR] symbol: class PostConstruct [ERROR] location: class org.mitre.jwt.encryption.service.impl.DefaultJWTEncryptionAndDecryptionService

jamietanna commented 2 years ago

FYI if you're just trying to get up and running, the solution I've done today is to just download the WAR from Maven Central