How to make Jetty dynamically load “static” pages

前端 未结 10 801
耶瑟儿~
耶瑟儿~ 2020-12-02 14:57

I am building Java web applications, and I hate the traditional \"code-compile-deploy-test\" cycle. I want to type in one tiny change, then see the result INSTANTLY, without

10条回答
  •  南笙
    南笙 (楼主)
    2020-12-02 15:21

    Although this is a Old problem but i found this post very helpful, in short just change your config to

                
                    org.mortbay.jetty
                    jetty-maven-plugin
                    
                    
                        
                            8080
                        
                    
                    
                
    

    This disables the NIO support in Jetty ( but it should not be problem for debug puropse for simple cases ).

提交回复
热议问题