使用jrebel遇到的坑

<application generated-by="eclipse" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.zeroturnaround.com" xsi:schemaLocation="http://www.zeroturnaround.com http://update.zeroturnaround.com/jrebel/rebel-2_1.xsd">

    <classpath>
        <dir name="D:/SVN/modules/feature/com.wisesoft.parent/com.wisesoft.convert.parent/com.wisesoft.convert.dubbo/target/classes">
        </dir>
    </classpath>

    <web>
        <link target="/">
            <dir name="D:/SVN/modules/feature/com.wisesoft.parent/com.wisesoft.convert.parent/com.wisesoft.convert.dubbo/target/m2e-wtp/web-resources">
                <exclude name="/"/>
            </dir>
        </link>
        <link target="/">
            <dir name="D:/SVN/modules/feature/com.wisesoft.parent/com.wisesoft.convert.parent/com.wisesoft.convert.dubbo/src/main/webapp">
            </dir>
        </link>
    </web>

</application>
 

新建一个新maven工程,直接在原有的一个工程上修改的,由于没有删除rebel.xml,导致里面的路径不对。明明新maven工程没有依赖其他jar包,启动却报很多不想关的bean创建失败。

解决方案:删除rebel.xml,重新从svn导入工程,此时rebel.xml指向的路径就是本项目的了。

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值