My Spring boot app dose not load some css and js
Dependency is correct
<dependency>
<groupId>org.camunda.bpm.springboot</groupId>
<artifactId>camunda-bpm-spring-boot-starter-webapp</artifactId>
<version>7.13.0</version>
</dependency>
<dependency>
<groupId>org.camunda.bpm.springboot</groupId>
<artifactId>camunda-bpm-spring-boot-starter-rest</artifactId>
<version>7.13.0</version>
</dependency>
2020-09-25 15:28:09.647 DEBUG 10469 --- [nio-8087-exec-2] o.s.security.web.FilterChainProxy : /camunda/app/cockpit/styles/styles.css?bust=7.13.0 at position 1 of 13 in additional filter chain; firing Filter: 'WebAsyncManagerIntegrationFilter'
2020-09-25 15:28:09.647 DEBUG 10469 --- [nio-8087-exec-2] o.s.security.web.FilterChainProxy : /camunda/app/cockpit/styles/styles.css?bust=7.13.0 at position 2 of 13 in additional filter chain; firing Filter: 'SecurityContextPersistenceFilter'
2020-09-25 15:28:09.647 DEBUG 10469 --- [nio-8087-exec-2] w.c.HttpSessionSecurityContextRepository : HttpSession returned null object for SPRING_SECURITY_CONTEXT
2020-09-25 15:28:09.647 DEBUG 10469 --- [nio-8087-exec-2] w.c.HttpSessionSecurityContextRepository : No SecurityContext was available from the HttpSession: org.apache.catalina.session.StandardSessionFacade@5015b2cf. A new one will be created.
2020-09-25 15:28:09.647 DEBUG 10469 --- [nio-8087-exec-2] o.s.security.web.FilterChainProxy : /camunda/app/cockpit/styles/styles.css?bust=7.13.0 at position 3 of 13 in additional filter chain; firing Filter: 'HeaderWriterFilter'
2020-09-25 15:28:09.647 DEBUG 10469 --- [nio-8087-exec-2] o.s.security.web.FilterChainProxy : /camunda/app/cockpit/styles/styles.css?bust=7.13.0 at position 4 of 13 in additional filter chain; firing Filter: 'LogoutFilter'
2020-09-25 15:28:09.647 DEBUG 10469 --- [nio-8087-exec-2] o.s.s.web.util.matcher.OrRequestMatcher : Trying to match using Ant [pattern='/logout', GET]
2020-09-25 15:28:09.647 DEBUG 10469 --- [nio-8087-exec-2] o.s.s.w.u.matcher.AntPathRequestMatcher : Checking match of request : '/camunda/app/cockpit/styles/styles.css'; against '/logout'
2020-09-25 15:28:09.647 DEBUG 10469 --- [nio-8087-exec-2] o.s.s.web.util.matcher.OrRequestMatcher : Trying to match using Ant [pattern='/logout', POST]
2020-09-25 15:28:09.647 DEBUG 10469 --- [nio-8087-exec-2] o.s.s.w.u.matcher.AntPathRequestMatcher : Request 'GET /camunda/app/cockpit/styles/styles.css' doesn't match 'POST /logout'
2020-09-25 15:28:09.647 DEBUG 10469 --- [nio-8087-exec-2] o.s.s.web.util.matcher.OrRequestMatcher : Trying to match using Ant [pattern='/logout', PUT]
2020-09-25 15:28:09.647 DEBUG 10469 --- [nio-8087-exec-2] o.s.s.w.u.matcher.AntPathRequestMatcher : Request 'GET /camunda/app/cockpit/styles/styles.css' doesn't match 'PUT /logout'
2020-09-25 15:28:09.647 DEBUG 10469 --- [nio-8087-exec-2] o.s.s.web.util.matcher.OrRequestMatcher : Trying to match using Ant [pattern='/logout', DELETE]
2020-09-25 15:28:09.647 DEBUG 10469 --- [nio-8087-exec-2] o.s.s.w.u.matcher.AntPathRequestMatcher : Request 'GET /camunda/app/cockpit/styles/styles.css' doesn't match 'DELETE /logout'
2020-09-25 15:28:09.647 DEBUG 10469 --- [nio-8087-exec-2] o.s.s.web.util.matcher.OrRequestMatcher : No matches found
2020-09-25 15:28:09.647 DEBUG 10469 --- [nio-8087-exec-2] o.s.security.web.FilterChainProxy : /camunda/app/cockpit/styles/styles.css?bust=7.13.0 at position 5 of 13 in additional filter chain; firing Filter: 'UsernamePasswordAuthenticationFilter'
2020-09-25 15:28:09.647 DEBUG 10469 --- [nio-8087-exec-2] o.s.s.w.u.matcher.AntPathRequestMatcher : Request 'GET /camunda/app/cockpit/styles/styles.css' doesn't match 'POST /login'
2020-09-25 15:28:09.648 DEBUG 10469 --- [nio-8087-exec-2] o.s.security.web.FilterChainProxy : /camunda/app/cockpit/styles/styles.css?bust=7.13.0 at position 6 of 13 in additional filter chain; firing Filter: 'ConcurrentSessionFilter'
2020-09-25 15:28:09.648 DEBUG 10469 --- [nio-8087-exec-2] o.s.security.web.FilterChainProxy : /camunda/app/cockpit/styles/styles.css?bust=7.13.0 at position 7 of 13 in additional filter chain; firing Filter: 'RequestCacheAwareFilter'
2020-09-25 15:28:09.648 DEBUG 10469 --- [nio-8087-exec-2] o.s.s.w.s.HttpSessionRequestCache : saved request doesn't match
2020-09-25 15:28:09.648 DEBUG 10469 --- [nio-8087-exec-2] o.s.security.web.FilterChainProxy : /camunda/app/cockpit/styles/styles.css?bust=7.13.0 at position 8 of 13 in additional filter chain; firing Filter: 'SecurityContextHolderAwareRequestFilter'
2020-09-25 15:28:09.648 DEBUG 10469 --- [nio-8087-exec-2] o.s.security.web.FilterChainProxy : /camunda/app/cockpit/styles/styles.css?bust=7.13.0 at position 9 of 13 in additional filter chain; firing Filter: 'RememberMeAuthenticationFilter'
2020-09-25 15:28:09.648 DEBUG 10469 --- [nio-8087-exec-2] o.s.security.web.FilterChainProxy : /camunda/app/cockpit/styles/styles.css?bust=7.13.0 at position 10 of 13 in additional filter chain; firing Filter: 'AnonymousAuthenticationFilter'
2020-09-25 15:28:09.648 DEBUG 10469 --- [nio-8087-exec-2] o.s.s.w.a.AnonymousAuthenticationFilter : Populated SecurityContextHolder with anonymous token: 'org.springframework.security.authentication.AnonymousAuthenticationToken@493bd1d7: Principal: anonymousUser; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.WebAuthenticationDetails@0: RemoteIpAddress: 0:0:0:0:0:0:0:1; SessionId: 2D6A6FD1DA92A8FBB795407B171BDC09; Granted Authorities: ROLE_ANONYMOUS'
2020-09-25 15:28:09.648 DEBUG 10469 --- [nio-8087-exec-2] o.s.security.web.FilterChainProxy : /camunda/app/cockpit/styles/styles.css?bust=7.13.0 at position 11 of 13 in additional filter chain; firing Filter: 'SessionManagementFilter'
2020-09-25 15:28:09.648 DEBUG 10469 --- [nio-8087-exec-2] o.s.security.web.FilterChainProxy : /camunda/app/cockpit/styles/styles.css?bust=7.13.0 at position 12 of 13 in additional filter chain; firing Filter: 'ExceptionTranslationFilter'
2020-09-25 15:28:09.648 DEBUG 10469 --- [nio-8087-exec-2] o.s.security.web.FilterChainProxy : /camunda/app/cockpit/styles/styles.css?bust=7.13.0 at position 13 of 13 in additional filter chain; firing Filter: 'FilterSecurityInterceptor'
2020-09-25 15:28:09.648 DEBUG 10469 --- [nio-8087-exec-2] o.s.s.web.util.matcher.OrRequestMatcher : Trying to match using Ant [pattern='/logout', GET]
2020-09-25 15:28:09.648 DEBUG 10469 --- [nio-8087-exec-2] o.s.s.w.u.matcher.AntPathRequestMatcher : Checking match of request : '/camunda/app/cockpit/styles/styles.css'; against '/logout'
2020-09-25 15:28:09.648 DEBUG 10469 --- [nio-8087-exec-2] o.s.s.web.util.matcher.OrRequestMatcher : Trying to match using Ant [pattern='/logout', POST]
2020-09-25 15:28:09.648 DEBUG 10469 --- [nio-8087-exec-2] o.s.s.w.u.matcher.AntPathRequestMatcher : Request 'GET /camunda/app/cockpit/styles/styles.css' doesn't match 'POST /logout'
2020-09-25 15:28:09.648 DEBUG 10469 --- [nio-8087-exec-2] o.s.s.web.util.matcher.OrRequestMatcher : Trying to match using Ant [pattern='/logout', PUT]
2020-09-25 15:28:09.648 DEBUG 10469 --- [nio-8087-exec-2] o.s.s.w.u.matcher.AntPathRequestMatcher : Request 'GET /camunda/app/cockpit/styles/styles.css' doesn't match 'PUT /logout'
2020-09-25 15:28:09.648 DEBUG 10469 --- [nio-8087-exec-2] o.s.s.web.util.matcher.OrRequestMatcher : Trying to match using Ant [pattern='/logout', DELETE]
2020-09-25 15:28:09.648 DEBUG 10469 --- [nio-8087-exec-2] o.s.s.w.u.matcher.AntPathRequestMatcher : Request 'GET /camunda/app/cockpit/styles/styles.css' doesn't match 'DELETE /logout'
2020-09-25 15:28:09.648 DEBUG 10469 --- [nio-8087-exec-2] o.s.s.web.util.matcher.OrRequestMatcher : No matches found
2020-09-25 15:28:09.648 DEBUG 10469 --- [nio-8087-exec-2] o.s.s.w.u.matcher.AntPathRequestMatcher : Checking match of request : '/camunda/app/cockpit/styles/styles.css'; against '/login'
2020-09-25 15:28:09.648 DEBUG 10469 --- [nio-8087-exec-2] o.s.s.w.u.matcher.AntPathRequestMatcher : Checking match of request : '/camunda/app/cockpit/styles/styles.css'; against '/rest/security/user/login'
2020-09-25 15:28:09.648 DEBUG 10469 --- [nio-8087-exec-2] o.s.s.w.u.matcher.AntPathRequestMatcher : Checking match of request : '/camunda/app/cockpit/styles/styles.css'; against '/assets/**'
2020-09-25 15:28:09.648 DEBUG 10469 --- [nio-8087-exec-2] o.s.s.w.u.matcher.AntPathRequestMatcher : Checking match of request : '/camunda/app/cockpit/styles/styles.css'; against '/rest/**'
2020-09-25 15:28:09.648 DEBUG 10469 --- [nio-8087-exec-2] o.s.s.w.u.matcher.AntPathRequestMatcher : Checking match of request : '/camunda/app/cockpit/styles/styles.css'; against '/camunda/**'
2020-09-25 15:28:09.649 DEBUG 10469 --- [nio-8087-exec-2] o.s.s.w.a.i.FilterSecurityInterceptor : Secure object: FilterInvocation: URL: /camunda/app/cockpit/styles/styles.css?bust=7.13.0; Attributes: [permitAll]
2020-09-25 15:28:09.649 DEBUG 10469 --- [nio-8087-exec-2] o.s.s.w.a.i.FilterSecurityInterceptor : Previously Authenticated: org.springframework.security.authentication.AnonymousAuthenticationToken@493bd1d7: Principal: anonymousUser; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.WebAuthenticationDetails@0: RemoteIpAddress: 0:0:0:0:0:0:0:1; SessionId: 2D6A6FD1DA92A8FBB795407B171BDC09; Granted Authorities: ROLE_ANONYMOUS
2020-09-25 15:28:09.649 DEBUG 10469 --- [nio-8087-exec-2] o.s.s.access.vote.AffirmativeBased : Voter: org.springframework.security.web.access.expression.WebExpressionVoter@7c8fafef, returned: 1
2020-09-25 15:28:09.649 DEBUG 10469 --- [nio-8087-exec-2] o.s.s.w.a.i.FilterSecurityInterceptor : Authorization successful
2020-09-25 15:28:09.649 DEBUG 10469 --- [nio-8087-exec-2] o.s.s.w.a.i.FilterSecurityInterceptor : RunAsManager did not change Authentication object
2020-09-25 15:28:09.649 DEBUG 10469 --- [nio-8087-exec-2] o.s.security.web.FilterChainProxy : /camunda/app/cockpit/styles/styles.css?bust=7.13.0 reached end of additional filter chain; proceeding with original chain
2020-09-25 15:28:09.651 DEBUG 10469 --- [nio-8087-exec-2] o.s.s.w.header.writers.HstsHeaderWriter : Not injecting HSTS header since it did not match the requestMatcher org.springframework.security.web.header.writers.HstsHeaderWriter$SecureRequestMatcher@9b79f2
2020-09-25 15:28:09.651 DEBUG 10469 --- [nio-8087-exec-2] w.c.HttpSessionSecurityContextRepository : SecurityContext is empty or contents are anonymous - context will not be stored in HttpSession.
2020-09-25 15:28:09.651 DEBUG 10469 --- [nio-8087-exec-2] o.s.s.w.a.ExceptionTranslationFilter : Chain processed normally
I had the same problem. I had set a custom jersey application-path via the Spring Boot property:
spring.jersey.application-path=/camunda
When I removed the property (defaulting to empty), the js/css resources were found again.