您好,这是Eclipse Console Log,在JRebel设置成功完成之后。在Java文件中进行更改,然后单击Synchronize。
Response headers: [Server: Apache-Coyote/1.1, x-rebel-response: ERR_UNKNOWN_REBEL_HASH, x-rebel-responseMessage: Remoting module '5e1de368dea571c9bc1939d90988e22a746772ce' was not found, Content-Length: 0, Date: Wed, 12 Nov 2014 09:56:42 GMT]
[2014-11-12 02:56:42] Cannot find such project on the remote server. Maybe it is not deployed, or project's id in rebel-remote.xml file is different.
com.zeroturnaround.jrebel.remoting.RemotingException: Cannot find such project on the remote server. Maybe it is not deployed, or project's id in rebel-remote.xml file is different.
at com.zeroturnaround.jrebel.remoting.net.RemotingClient.performHandshake(JRebelRemoting:124)
at com.zeroturnaround.jrebel.remoting.net.RemotingClient.beginTransaction(JRebelRemoting:77)
at com.zeroturnaround.jrebel.remoting.Transaction.begin(JRebelRemoting:108)
at com.zeroturnaround.jrebel.remoting.TransactionGroup.begin(JRebelRemoting:35)
at org.zeroturnaround.eclipse.jrebel.remoting.builder.RemotingSyncPerformer.initSynchronization(RemotingSyncPerformer.java:58)
at org.zeroturnaround.eclipse.jrebel.remoting.builder.ManualBuilder.synchronizeProject(ManualBuilder.java:57)
at org.zeroturnaround.eclipse.jrebel.remoting.actions.SyncNowAction$1.run(SyncNowAction.java:124)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)发布于 2014-11-11 21:14:15
正如Stefan提到的,确保部署的应用程序也有rebel-remote.xml -它应该位于.war文件的WEB-INF/classes内或.jar文件的根目录中。如果它确实存在,请确保工作区和已部署应用程序中的id-s相同。如果您有多个模块,那么每个模块都应该有唯一的remote-id。
另一件事是确保你确实需要使用远程处理-如果你从同一台机器上启动服务器,你不需要,因为远程处理意味着服务器在不同的机器上或在VM中的情况下。从同一台计算机开始,无论是否在集成开发环境之外,您只需确保部署的应用程序具有rebel.xmls,其中包含集成开发环境编译的类文件的路径。
如果所有方法都失败了,请联系support@zeroturnaround.com
https://stackoverflow.com/questions/26862455
复制相似问题