私はRMIサーバを実行するAntビルドスクリプトを持っています(開発者テスト中)、私は最近Log4J2に切り替え、Log4J2でant設定ファイルを見つけられませんでした。ビットをグーグルとアリにJVMの引数年代を指定しようとしている他の人々をreveiwing - 私はこれをやって試してみた:Windows - Ant、Log4J2 ConfigurationFile JVM引数
<target name="win-server-run" depends="compile" description="Copies JAR file to server folder">
<java classname="com.mycompany.server.Main" fork="yes" dir=".">
<classpath refid="classpath-server-run"/>
<jvmarg value="-Dlog4j.configurationFile=${project.dir}/resources/rmiServer/properties/classpath/log4j.properties"/>
</java>
</target>
$ {project.dir}は Cに等しいと:\ Users \ユーザージェイ\デスクトップ\ MyTesting \ workspace-mytesting \ MyApp \
[java]エラーStatusLogger無効なURL C:/ Users/Jay/Desktop/MyTesting/workspace-mytesting/MyApp//resources/rmiServer/properties/classpath/log4j.properties [java] java.net.MalformedURLException:不明なプロトコル:c
C:ドライブにantが混乱しているようですか?