![]() ![]() I don't know what else doesn't work in this situation. b) session TTL doesn't work if 2) is uncommented and 4) is commented (that means no jakarta.annotation nor javax.annotation present, but the app still boots and no errors are visible)īasically: instead of the app crashing because of missing dependencies, it still works, but Redis TTL doesn't. b) session TTL works if 2) is commented and 4) is uncommented ("add" javax.annotation dependency with excluding just tomcat) a) session TTL works if 2) is uncommented and 4) is uncommented (replace jakarta.annotation with javax.annotation) Jetty version (To use jetty, uncomment 1) and uncomment 3): c) app won't boot if 2) is uncommented and 4) is commented - you need to have at least jakarta.annotation OR javax.annotation present for it to work ![]() ![]() b) session TTL works if 2) is uncommented and 4) is uncommented (replace jakarta.annotation with javax.annotation) a) session TTL works in spring boot default mode, i.e. Tomcat version (To use tomcat, comment 1) and comment out 3)): I nailed down the conditions to this (snippet from adle): Because of some now-strange reasons, I've excluded more dependencies than I should've. I am using Jetty starter and have tomcat starter excluded. The does not have any effect in my application and producing this minimal example revealed the core issue. I create this issue as per request in #15757.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |