I am migrating to camunda-7.20.0-alpha5 and Spring boot 3.1.3 and I have also setup my JDK to 17. From the Spring Boot 3 Release notes, they specified that they are moving from Javax to Jakarta.
InteliJ is highlighting this error on my SecurityConfig class:
Type parameter ‘org.camunda.bpm.engine.rest.security.auth.ProcessEngineAuthenticationFilter’ is not within its bound; should implement ‘jakarta.servlet.Filter’
org.camunda.bpm.engine.rest.security.auth public class ProcessEngineAuthenticationFilter
extends Object
implements javax.servlet.Filter
Maven: org.camunda.bpm:camunda-engine-rest-core:7.20.0-alpha5
And also getting this error when trying to build:
/config/CamundaSecurityConfig.java:[17,108] incompatible types: can
not infer type arguments for org.springframework.boot.web.servlet.FilterRegistrationBean<>
[ERROR] reason: inference variable T has incompatible bounds
[ERROR] equality constraints: org.camunda.bpm.engine.rest.security.auth.ProcessEngineAuthenticationFilter
[ERROR] lower bounds: jakarta.servlet.Filter
I’m struggling to get rid of this error, I think org.camunda.bpm.engine.rest.security.auth.ProcessEngineAuthenticationFilter should be implementing jakarta.servlet.Filter