V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
yumemor
V2EX  ›  Java

jrebel 给 server 添加方法 热部署不成功?

  •  
  •   yumemor · Feb 15, 2017 · 2786 views
    This topic created in 3358 days ago, the information mentioned may be changed or developed.

    已经确认 jrebel 配置完成,修改方法中的代码热部署会有效果,但是给 server 添加方法 热部署好像用不了?

    500 - Handler processing failed; nested exception is java.lang.NoSuchMethodError:

    难道必须要重启吗? 这样的话 jrebel 还有什么用? 新加了方法都不能识别?

    4 replies    2017-02-18 00:39:02 +08:00
    fmumu
        1
    fmumu  
       Feb 16, 2017
    你用的什么 ide
    yumemor
        2
    yumemor  
    OP
       Feb 16, 2017
    @fmumu idea
    fmumu
        3
    fmumu  
       Feb 17, 2017
    我就用的 idea 啊,没啥问题(idea2016.3+jrebel7.0.1)
    你看下项目下有没有 jrebel 的配置文件:jrebel.xml
    yumemor
        4
    yumemor  
    OP
       Feb 18, 2017
    @fmumu 没有这个文件,我在查询下资料 谢谢了!
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1004 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 19:38 · PVG 03:38 · LAX 12:38 · JFK 15:38
    ♥ Do have faith in what you're doing.