Camunda Cockpit giving 404

My dependencies:


    implementation "org.camunda.bpm.springboot:camunda-bpm-spring-boot-starter:$camundaVersion"
    implementation "org.camunda.bpm.springboot:camunda-bpm-spring-boot-starter-webapp:$camundaVersion"
    implementation "org.camunda.bpm.springboot:camunda-bpm-spring-boot-starter-rest:$camundaVersion"
@Configuration
@ConditionalOnProperty(value = "camunda.bpm.enabled", havingValue = "true", matchIfMissing = true)
public class CamundaConfig {

    @Component
    public class ConfigureProcessEngineConfigurationPlugin extends AbstractProcessEnginePlugin {

        @Override
        public void preInit(ProcessEngineConfigurationImpl processEngineConfiguration) {
            processEngineConfiguration.getCustomPostBPMNParseListeners().add(taskEnhancingBpmParseListener());
            processEngineConfiguration.setDelegateInterceptor(skipDelegateInterceptor());
            processEngineConfiguration.setEnablePasswordPolicy(true);
        }

    }

    @Bean
    public SkipDelegateInterceptor skipDelegateInterceptor() {
        return new SkipDelegateInterceptor();
    }

    @Bean
    public TaskEnhancingBpmParseListener taskEnhancingBpmParseListener() {
        return new TaskEnhancingBpmParseListener(
            new LoggingUserTaskEndListener()
        );
    }

    @Bean
    public RuntimeService runtimeService() {
        return new RuntimeServiceImpl();
    }

    @Bean
    public TaskService taskService() {
        return new TaskServiceImpl();
    }

    @Bean
    public RepositoryService repositoryService() {
        return new RepositoryServiceImpl();
    }


}

application.properties:

camunda.bpm.admin-user.id=admin
camunda.bpm.admin-user.firstName=test
camunda.bpm.admin-user.lastName=test
camunda.bpm.admin-user.password=test123
camunda.bpm.database.schema-update=false
camunda.bpm.database.schema-name=camunda
camunda.bpm.database.table-prefix=camunda.

My camunda version is 7.17 with Spring boot 2.5.14
I’m getting 404 whenever I try to access /camunda/app/cockpit/default/#/login