-
Notifications
You must be signed in to change notification settings - Fork 41.2k
Fat jar works for embedded Jetty and Tomcat but not for Undertow #8764
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
Comments
btw, this test project works when running as java -jar jarfile but not when I run it as gradle bootRun, any pointers what I need to do to make it work using gradle bootRun? |
Thanks for the sample, but it's left me a bit confused. It appears to be using Jetty but you said the problem was with Undertow. I get a failure with Can you please clarify the problem that you're reporting? I don't want to waste time diagnosing something else. |
Yes, forgot to change the dependency back to undertow, so yes, my problem is when using undertow and using java -jar. bootRun does not work on either and as I mention in my comment above, I am not sure how to make this project wok using bootRun, but perhaps you have some ideas? |
There are two things going on here. Firstly, your resources are in the wrong place. They're in If I move your resources to the right location and use 1.5.3.BUILD-SNAPSHOT things work fine with Undertow using both |
ok, the placement is just copied from the example project from Primefaces using their theme but I guess I do not need to follow this... |
I am trying to create a executable fat jar instead of war files for my Spring Boot projects , where I use JSF and Primefaces.
My test project works fine using either Jetty or Tomcat but Undertow complains about not finding the resources for the Primefaces theme I use..
I have included a test project...
undertow_test.tar.zip
The text was updated successfully, but these errors were encountered: