Open pujavs opened 2 years ago
@qbert2k would you be so kind to check ? @pujavs please share branch where you are making these changes.
Jetty upgrade branch is https://github.com/JanssenProject/jans/tree/jans-jetty-upgrade However the same issue also comes with main branch -> https://github.com/JanssenProject/jans/tree/main/jans-eleven Using Java 11
..\jans\jans-eleven\server\src\main\java\io\jans\eleven\service\PKCS11Service.java [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project jans-eleven-server: Compilation failure: Compilation failure: [ERROR] ...\jans\jans-eleven\server\src\main\java\io\jans\eleven\service\PKCS11Service.java:[92,49] error: incompatible types: InputStream cannot be converted to Config [ERROR] ..\jans\jans-eleven\server\src\main\java\io\jans\eleven\service\PKCS11Service.java:[237,36] error: no suitable constructor found for RSAPublicKeyImpl(BigInteger,BigInteger)
Getting above error with existing code in main as well as jetty migrated code.