1. 程式人生 > >在eclipse中用外掛JRebel熱部署時,tomcat啟動失敗的解決辦法

在eclipse中用外掛JRebel熱部署時,tomcat啟動失敗的解決辦法

今天在eclipse中安裝了JRebel(版本為2018.1.6.RELEASE)外掛,但在執行時遇到tomcat啟動失敗的情況。截圖如下:
tomcat啟動失敗截圖
。在網上搜索了各種方法都不管用。自己琢磨了一下,居然試成功了。
其實就只有簡單的幾個步驟:

1.開啟 JRebel Configuration選項:Help>>JRebel>>Configuration
開啟JRebel Configuration

2.選擇對應的tomcat伺服器
選擇對應tomcat伺服器

3.選擇要用到JRebel熱部署的專案,點選enable remote server support選項:任意專案>>JRebel>>enable remote server support
enable remote server support


最後tomcat就能成功啟動啦
成功啟動

以上就是今天自己小總結的經驗,希望能幫到大家。