zoukankan      html  css  js  c++  java
  • IntelliJ IDEA12.1.1+Tomcat 7.0.39+Jrebel 5.2.2开发及热部署

    一、软件安装

    1. ideaIU-12.1.1.exe 下载地址: http://www.jetbrains.com/idea/download/index.html
      号器:???要低调,用社区版吧,如果想用Ultimate版,自己找算号器吧。

    2. apache-tomcat-7.0.39(64)下载地址: http://www.apache.org/dist/tomcat/tomcat-7/v7.0.39/bin/apache-tomcat-7.0.39.tar.gz

    3. JRebel5.2.2 破解文件下载地址: http://download.csdn.net/detail/furber/5305623

    4. JRebel安装步骤:

        安装完ideaIU-12.0.exe之后,启动IntelliJ IDEA 12.0,进入Configure->Plugins,找到JRebel Plugins并选中(如图):

    然后单击Browse repositories...,找到JRebel Plugins右键Download and Install(如图):

    安装完后,替换jrebel.jar:

    copy jrebel.jar C:\Users\Administrator\.IntelliJIdea12\config\plugins\jr-ide-idea\lib\jrebel
    
    del/q C:\Users\Administrator\.jrebel\*.*
    
    copy jrebel.lic C:\Users\Administrator\.jrebel\jrebel.lic
    
    pause

     

    到此,安装完成.

    ======================================================================================

    二、开发web例子test测试热部署安装情况

    1.Import Project

    然后Artifacts路径设置为: 

    配置Tomcat:

    VM options:

    输入内容:

    -Xms2048m
    -Xmx2048m
    -XX:MaxPermSize=4096m
    -noverify
    -javaagent:F:\开发环境\jrebel\jrebel5.2.2\jrebel.jar
    -Drebel.spring_plugin=true

    输入Application context:demo,删除Make和Build’demo:war exploded’ artifact->Apply,然后切换回Server选项卡,设置如下:

    Apply->OK

    到此,Tomcat设置完成。

    接着用JRebel启动tomcat

    成功启动后查看是否能进入断点:

    修改一下JAVA文件的内容,当焦点从Intellij IDEA移开时,CLASS文件重新加载了:

    为了方便 使用大小写转换,需要安装一个插件,安装后可以方便的使用 alt+p 转大写alt+l转小写了,很方便 ,据说还可以alt+c首字母转大写:

  • 相关阅读:
    ios开发之--把秒转换为天时分秒
    网络爬虫的类型
    网络爬虫的组成
    为什么要学网络爬虫
    什么是网络爬虫
    Windows 下安装 Python3
    Linux 下安装 Python3
    HTTP 代理
    HTTP Cookies
    爬虫的基本原理
  • 原文地址:https://www.cnblogs.com/littlehb/p/3031045.html
Copyright © 2011-2022 走看看