I am trying to use Jetty instead of Tomcat as my embededded application server 
in my Spring Boot projects but I have a problem. (I tought it was
working but I as fooled my IntelliJ IDEA, the jar file built by gradle does not 
work...)

Jetty does not see my web root folder. So I get an 404 error when trying to 
access my html files..
In Tomcat, I have a my web content inside /META-INF/resources/ inside my jar 
file but that does not work when using Jetty. I have alse tried to put
my webcontent inside /static/ and /webapp/ but Jetty still does not see any 
html files.

What am I missing?


Regards,

BTJ

-- 
-----------------------------------------------------------------------------------------------
Bjørn T Johansen

[email protected]
-----------------------------------------------------------------------------------------------
Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange Satanic 
messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows"
-----------------------------------------------------------------------------------------------
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to