私はjrebelをEclipseプラグインとしてではなくスタンドアロンバージョンとして使用しているので、すべてのrebel.xml
ファイルを自分で作成しました...
これでrebel.xml
私は<configuration>
タグで次のエラーを日食に入れました
cvc-complex-type.2.4.a:要素'configuration'で始まる無効なコンテンツが見つかりました。'{name、module、deployment、version、 "http://www.zeroturnaround.com":classpath、 "http:// www.zeroturnaround.com":web、 "http://www.zeroturnaround.com ":war}'が必要です。
<?xml version="1.0" encoding="UTF-8"?>
<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">
<configuration>
<!--
root is 2 directoris away from jar/war modules
-->
<relativePath>../../</relativePath>
<rootPath>$${project_name.root}</rootPath>
</configuration>
<classpath>
<dir name="${project_name.root}/datamodel/target/classes" />
</classpath>
</application>
jRebelはすでに機能していますが、Eclipseでエラーが表示され、これは少し面倒です。誰かがエラーを見たり、これを修正する方法を知っていますか?
私が使用しているもの:Eclipse Indigo Service Release2およびjrebel5.0.1スタンドアロン(jarバージョン)