Spring application with embedded jetty can't find webdefault.xml if running from jar

前端 未结 6 506
伪装坚强ぢ
伪装坚强ぢ 2021-02-03 15:19

I have spring application which uses embedded Jetty instance.

project
   | src
      | controller
      | webapps
          | jsp
          | WEB-INF
                    


        
6条回答
  •  醉梦人生
    2021-02-03 15:37

    Found this github project : https://github.com/steveliles/jetty-embedded-spring-mvc

    This gives a basic startup template project based on maven. It embedded jetty with spring mvc. Good place to start from scratch or to compare and debug what's wrong with current implementation.

    The author has done a nice documentation here : http://steveliles.github.io/setting_up_embedded_jetty_8_and_spring_mvc_with_maven.html

提交回复
热议问题