我正在尝试在我的本地设置Jrebel for Hybris 6.1。使用Eclipse,完成Jrebel eclipse设置并成功生成rebel.xml。
但是当启动hybris服务器时,没有与Jrebel相关的日志!!!
在jrebel.eclipse.log中,我可以看到与DefaultRebelLaunchConfigProvider相关的错误,serverId =' null',server:' null'。
请在eclipse的Jrebel Configuration启动部分告诉我哪个选项需要选择?通过IDE运行或从命令行本地运行。
2018-06-18 00:06:35.687 INFO [rebel-ide-stats-sender-1] c.z.j.remoting.metrics.SyncTimer - 自上次统计以来没有同步,跳过发送同步时间统计信息 2018-06-18 00:06:47.453 WARN [rebel-messaging-executor-65]度量标准 - IOException执行度量标准任务:连接到api.segment.io:443 [api.segment.io/54.191.232.5,api.segment .io / 54.186.237.16,api.segment.io / 54.200.56.166,api.segment.io / 54.187.120.229,api.segment.io / 54.186.233.97,api.segment.io / 52.88.28.138,api.segment .io / 54.149.158.181,api.segment.io / 54.148.149.96]失败:连接超时 2018-06-18 00:07:26.467 WARN [rebel-messaging-executor-65]指标 - IOException执行指标任务:连接到api.segment.io:443 [api.segment.io/54.191.232.5,api.segment .io / 54.186.237.16,api.segment.io / 54.200.56.166,api.segment.io / 54.187.120.229,api.segment.io / 54.186.233.97,api.segment.io / 52.88.28.138,api.segment .io / 54.149.158.181,api.segment.io / 54.148.149.96]失败:连接超时 2018-06-18 00:08:05.614 WARN [rebel-messaging-executor-65]指标 - IOException执行指标任务:连接到api.segment.io:443 [api.segment.io/34.211.109.175,api.segment .io / 52.38.249.149,api.segment.io / 34.208.193.32,api.segment.io / 52.36.138.212,api.segment.io / 34.208.68.166,api.segment.io / 35.161.150.240,api.segment .io / 35.161.85.99,api.segment.io / 34.211.197.151]失败:连接超时 2018-06-18 00:08:05.615 WARN [rebel-messaging-executor-65]度量标准 - 度量标准消息丢失,超过重试次数2.
2018-06-15 02:16:53.433 INFO [Worker-327] o.z.e.l.l.DefaultRebelLaunchConfigProvider - 未知类型org.eclipse.ant.AntBuilderLaunchConfigurationType 2018-06-15 02:16:53.434 INFO [Worker-327] o.z.e.w.launching.ServerLaunchables - getServer()serverId =' null',server:' null' 2018-06-15 02:17:09.200 INFO [Worker-332] o.z.eclipse.nature.JRebelProject - updateJRebelEnablement for' P / aviallstorefront',enabled = true 2018-06-15 02:17:09.201 INFO [Worker-332] o.z.e.nature.ProjectNatureUtil - 将自然org.zeroturnaround.eclipse.jrebelNature添加到aviallstorefront 2018-06-15 02:17:13.310 INFO [Worker-332] o.z.e.c.ui.projects.ProjectsGridRow - 为项目aviallstorefront启用[OUT] JRebel。重新部署项目以应用配置。 2018-06-15 02:17:13.319 INFO [Worker-333] o.z.e.actions.RebelXmlGenerator - 使用现有的备份rebel.xml 2018-06-15 02:17:13.445 INFO [Worker-327] o.z.e.l.l.DefaultRebelLaunchConfigProvider - 未知类型org.eclipse.ant.AntBuilderLaunchConfigurationType 2018-06-15 02:17:13.445 2018-06-15 02:17:33.510 INFO [Worker-327] o.z.e.l.l.DefaultRebelLaunchConfigProvider - 未知类型org.eclipse.ant.AntBuilderLaunchConfigurationType 2018-06-15 02:17:33.510 INFO [Worker-327] o.z.e.w.launching.ServerLaunchables - getServer()serverId =' null',server:' null' 2018-06-15 02:56:10.646 INFO [main] o.z.e.l.l.DefaultRebelLaunchConfigProvider - 未知类型org.eclipse.jst.server.tomcat.core.launchConfigurationType 2018-06-15 02:56:10.647 INFO [main] o.z.e.w.launching.ServerLaunchables - getServer()serverId =' null',server:' null' 2018-06-15 02:56:11.014 INFO [main] o.z.e.l.l.DefaultRebelLaunchConfigProvider - 未知类型org.eclipse.jst.server.tomcat.core.launchConfigurationType 2018-06-15 02:56:11.014 INFO [main] o.z.e.w.launching.ServerLaunchables - getServer()serverId =' null',server:' null' 2018-06-15 02:56:43.293 INFO [main] o.z.e.l.l.DefaultRebelLaunchConfigProvider - 未知类型org.eclipse.jst.server.tomcat.core.launchConfigurationType 2018-06-15 02:56:43.295 INFO [main] o.z.e.w.launching.ServerLaunchables - getServer()serverId =' null',server:' null' 2018-06-15 02:56:43.296 INFO [main] o.z.e.l.l.DefaultRebelLaunchConfigProvider - 未知类型org.eclipse.jst.server.tomcat.core.launchConfigurationType 2018-06-15 02:56:43.296 INFO [main] o.z.e.w.launching.ServerLaunchables - getServer()serverId =' null',server:' null' 2018-06-15 02:56:43.548 INFO [main] o.z.e.l.l.DefaultRebelLaunchConfigProvider - 未知类型org.eclipse.jst.server.tomcat.core.launchConfigurationType 2018-06-15 02:56:43.549 INFO [main] o.z.e.w.launching.ServerLaunchables - getServer()serverId =' null',server:' null' 2018-06-15 02:56:43.575 INFO [main] o.z.e.l.l.DefaultRebelLaunchConfigProvider - 未知类型org.eclipse.jst.server.tomcat.core.launchConfigurationType 2018-06-15 02:56:43.576 INFO [main] o.z.e.w.launching.ServerLaunchables - getServer()serverId =' null',server:' null' 2018-06-15 02:56:43.602 INFO [main] o.z.e.l.l.DefaultRebelLaunchConfigProvider - 未知类型org.eclipse.jst.server.tomcat.core.launchConfigurationType 2018-06-15 02:56:43.602 INFO [main] o.z.e.w.launching.ServerLaunchables - getServer()serverId =' null',server:' null' 2018-06-15 02:56:52.726 INFO [main] o.z.e.l.l.DefaultRebelLaunchConfigProvider - 未知类型org.eclipse.jst.server.tomcat.core.launchConfigurationType
和Jrebel启动部分
答案 0 :(得分:0)
您是否在local.properties文件中添加了以下属性?
tomcat.javaoptions=-agentpath:"%JREBEL_HOME%/lib/libjrebel64.so"
tomcat.debugjavaoptions=-agentpath:"%JREBEL_HOME%/lib/libjrebel64.so" -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n
关注this教程了解更多详情。
答案 1 :(得分:0)
专心致志地寻找缺少的内容,但您也可以从文档here的JRebel端查看设置说明。