使用jrebel遇到的问题

简介:

1,启动tomcat 时提示No spring WebApplicationInitializer types detected on classpath

解决方法

1,修改src\main\resources\rebel.xml

原来的:

 
修改之后的:

Xml代码   收藏代码
  1. <?xml version="1.0" encoding="UTF-8"?>  
  2. <application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.zeroturnaround.com" xsi:schemaLocation="http://www.zeroturnaround.com http://www.zeroturnaround.com/alderaan/rebel-2_0.xsd">  
  3.   
  4.     <classpath>  
  5.         <dir name="D:/software/eclipse/workspace2/tv_mobile/target/classes">  
  6.         </dir>  
  7.     </classpath>  
  8.   
  9.     <web>  
  10.         <link target="/">  
  11.             <dir name="D:/software/eclipse/workspace2/tv_mobile/target/m2e-wtp/web-resources">  
  12.                 <exclude name="/"/>  
  13.             </dir>  
  14.         </link>  
  15.         <link target="/">  
  16.             <dir name="D:/software/eclipse/workspace2/tv_mobile/src/main/webapp">  
  17.             </dir>  
  18.         </link>  
  19.     </web>  
  20.   
  21. </application>  

 

相关文章
|
监控 IDE Java
JRebel插件使用详解
JRebel插件使用详解
JRebel插件使用详解
|
5月前
|
缓存
idea配置JRebel
idea配置JRebel
|
Java 数据库连接 mybatis
Idea热部署插件JRebel+XRebel
Idea热部署插件JRebel+XRebel
360 0
|
IDE Java 应用服务中间件
[idea]idea配置Jrebel
[idea]idea配置Jrebel
163 0
|
存储 Java 应用服务中间件
Eclipse中JRebel热部署神器的配置
直接下官方正版的就好了 eclipse->help->eclipse marketplace 搜索JRebel
369 0
Eclipse中JRebel热部署神器的配置
IDEA的JRebel插件安装
IDEA的JRebel插件安装
116 0
IDEA的JRebel插件安装
|
应用服务中间件
IDEA中安装并使用JRebel热部署插件
IDEA中安装并使用JRebel热部署插件
IDEA中安装并使用JRebel热部署插件
idea 安装插件Jrebel实现热部署(热更新)
idea 安装插件Jrebel实现热部署(热更新)
719 0
idea 安装插件Jrebel实现热部署(热更新)
IDEA 安装 Jrebel
版权声明:本文首发 http://asing1elife.com ,转载请注明出处。 https://blog.csdn.net/asing1elife/article/details/82696822 ...
2173 0