{"action":"created","issue":{"url":"https://api.github.com/repos/spring-projects/spring-boot/issues/11355","repository_url":"https://api.github.com/repos/spring-projects/spring-boot","labels_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/11355/labels{/name}","comments_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/11355/comments","events_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/11355/events","html_url":"https://github.com/spring-projects/spring-boot/issues/11355","id":282263863,"number":11355,"title":"Support WebJars directly in Jersey","user":{"login":"jessemillar","id":4627837,"avatar_url":"https://avatars0.githubusercontent.com/u/4627837?v=4","gravatar_id":"","url":"https://api.github.com/users/jessemillar","html_url":"https://github.com/jessemillar","followers_url":"https://api.github.com/users/jessemillar/followers","following_url":"https://api.github.com/users/jessemillar/following{/other_user}","gists_url":"https://api.github.com/users/jessemillar/gists{/gist_id}","starred_url":"https://api.github.com/users/jessemillar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessemillar/subscriptions","organizations_url":"https://api.github.com/users/jessemillar/orgs","repos_url":"https://api.github.com/users/jessemillar/repos","events_url":"https://api.github.com/users/jessemillar/events{/privacy}","received_events_url":"https://api.github.com/users/jessemillar/received_events","type":"User","site_admin":false},"labels":[{"id":514595406,"url":"https://api.github.com/repos/spring-projects/spring-boot/labels/priority:%20low","name":"priority: low","color":"c2e0c6","default":false},{"id":131737420,"url":"https://api.github.com/repos/spring-projects/spring-boot/labels/status:%20ideal-for-contribution","name":"status: ideal-for-contribution","color":"fef2c0","default":false},{"id":16916893,"url":"https://api.github.com/repos/spring-projects/spring-boot/labels/type:%20enhancement","name":"type: enhancement","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-12-14T22:45:55Z","updated_at":"2018-02-14T09:05:09Z","closed_at":null,"author_association":"NONE","body":"This is half question and half (potential) bug report. I've inquired about the problem in the [`webjars-locator`](https://github.com/webjars/webjars-locator/issues/105#issuecomment-351828785) project and was directed here.\r\n\r\nI'm trying to get [`swagger-ui`](https://github.com/webjars/swagger-ui) working in a version agnostic manner inside of Spring Boot with Jersey and Tomcat. According to the [WebJars documentation](https://www.webjars.org/documentation#springboot), having a `pom.xml` similar to the following should allow me to access `swagger-ui` via http://localhost:8080/webjars/swagger-ui/ but it only works via http://localhost:8080/webjars/swagger-ui/3.6.1.\r\n```\r\n<dependencies>\r\n    <dependency>\r\n      <groupId>org.springframework.boot</groupId>\r\n      <artifactId>spring-boot-starter-jersey</artifactId>\r\n    </dependency>\r\n    <dependency>\r\n      <groupId>org.springframework.boot</groupId>\r\n      <artifactId>spring-boot-starter-tomcat</artifactId>\r\n    </dependency>\r\n    <dependency>\r\n      <groupId>org.webjars</groupId>\r\n      <artifactId>swagger-ui</artifactId>\r\n      <version>3.6.1</version>\r\n    </dependency>\r\n    <dependency>\r\n      <groupId>org.webjars</groupId>\r\n      <artifactId>webjars-locator</artifactId>\r\n      <version>0.32-1</version>\r\n    </dependency>\r\n</dependencies>\r\n```\r\nIs there anything special I'd need to do to get `webjars-locator` working in this situation? It works just fine in `spring-boot-starter-web` which leads me to believe this is potentially a bug."},"comment":{"url":"https://api.github.com/repos/spring-projects/spring-boot/issues/comments/365539523","html_url":"https://github.com/spring-projects/spring-boot/issues/11355#issuecomment-365539523","issue_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/11355","id":365539523,"user":{"login":"Butorchin-Dmitri","id":15669350,"avatar_url":"https://avatars1.githubusercontent.com/u/15669350?v=4","gravatar_id":"","url":"https://api.github.com/users/Butorchin-Dmitri","html_url":"https://github.com/Butorchin-Dmitri","followers_url":"https://api.github.com/users/Butorchin-Dmitri/followers","following_url":"https://api.github.com/users/Butorchin-Dmitri/following{/other_user}","gists_url":"https://api.github.com/users/Butorchin-Dmitri/gists{/gist_id}","starred_url":"https://api.github.com/users/Butorchin-Dmitri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Butorchin-Dmitri/subscriptions","organizations_url":"https://api.github.com/users/Butorchin-Dmitri/orgs","repos_url":"https://api.github.com/users/Butorchin-Dmitri/repos","events_url":"https://api.github.com/users/Butorchin-Dmitri/events{/privacy}","received_events_url":"https://api.github.com/users/Butorchin-Dmitri/received_events","type":"User","site_admin":false},"created_at":"2018-02-14T09:05:09Z","updated_at":"2018-02-14T09:05:09Z","author_association":"NONE","body":"@w4tson If you run it with 2.0.0.RC1 the access with version works: http://localhost:8080/webjars/swagger-ui/3.6.1/index.html, although it doesn't work without it, as reported in the original post - I was confused somehow.\r\nhttps://github.com/Butorchin-Dmitri/spring-boot-jersey"}}
{"actor":{"display_login":"Butorchin-Dmitri"}}