Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Polyfills not found when running with Undertow #3839

Closed
Artur- opened this issue Apr 6, 2018 · 0 comments
Closed

Polyfills not found when running with Undertow #3839

Artur- opened this issue Apr 6, 2018 · 0 comments
Assignees
Milestone

Comments

@Artur-
Copy link
Member

Artur- commented Apr 6, 2018

Starting test-spring-boot-undertow using spring-boot:run outputs

2018-04-06 10:17:52.982  WARN 73294 --- [  XNIO-2 task-1] c.v.f.s.DefaultDeploymentConfiguration   : Unable to locate polyfill webcomponents-loader.js, proceeding without it

The underlying reason is that VaadinServlet.scanForResources is called with path /, which should scan through all webjars but scans through nothing because ServletContext.getResourcePaths("/") returns an empty set on Undertow.

I think that the whole scanForResources is just legacy and should be removed. Instead the polyfill should be found directly using the known path where it should be.

@SomeoneToIgnore SomeoneToIgnore added this to the 1.0.0.beta8 milestone Apr 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants