使用 RallyConnectorforJira-Ruby-2.7.4 我正在尝试配置连接器以在 Rally 和 JIRA 之间同步评论,如http://www.rallydev.com/help/Jira-config-RallyJiraCommentLinker.pxml中所述,但是当我添加以下是我的 jira_config.xml:
<RelatedObjectLinkers>
<RallyJiraCommentLinker />
</RelatedObjectLinkers>
连接器在启动后立即死亡,并出现“相关对象链接器找不到 RallyJiraCommentLinker 的类”错误(下面的日志内容)。
是我做错了什么还是不再支持 RallyJiraCommentLinker?
谢谢,
安德鲁。
--- 开始记录 ---
************************************************************************************************************
rally2_jira_connector
pid: 1234
starting at: 2012-08-15 15:08:02 Z
cwd: /opt/RallyConnectorforJira-Ruby-2.7.4
configs: jira_config.xml
interval: 15
************************************************************************************************************
[2012-08-15 15:08:02 Z] ANY : ConnectorRunner.block in run - processing to commence using content from jira_config.xml
[2012-08-15 15:08:02 Z] INFO : Class.read_config_file - jira_config.xml last modified 2012-08-15 15:06:45 UTC, size: 2665 chars
[2012-08-15 15:08:02 Z] INFO : RallyConnection.initialize - Initializing Rally connection version 2.7.4
[2012-08-15 15:08:02 Z] INFO : RallyConnection.initialize - Rally Web Services version 1.16
[2012-08-15 15:08:02 Z] INFO : JiraConnection.initialize - Initializing JIRA connection version 2.7.4
[2012-08-15 15:08:02 Z] INFO : Class.read_workflow_file - jira_workflow.xml
[2012-08-15 15:08:02 Z] ERROR : Connector.rescue in block in read_related_object_linkers - Related Object Linker could not find a class for RallyJiraCommentLinker
[2012-08-15 15:08:02 Z] ERROR : ConnectorRunner.initialize - uninitialized constant Kernel::RallyJiraCommentLinker
[2012-08-15 15:08:02 Z] ERROR : Object.exception - Message uninitialized constant Kernel::RallyJiraCommentLinker
[2012-08-15 15:08:02 Z] ERROR : Object.exception - Stack Trace
[2012-08-15 15:08:02 Z] ERROR : Object.block in exception - /usr/local/rvm/gems/ruby-1.9.3-p194/gems/yeti-2.7.4/lib/yeti/connector.rb:364:in `const_get'
[2012-08-15 15:08:02 Z] ERROR : Object.block in exception - /usr/local/rvm/gems/ruby-1.9.3-p194/gems/yeti-2.7.4/lib/yeti/connector.rb:364:in `block in read_related_object_linkers'
[2012-08-15 15:08:02 Z] ERROR : Object.block in exception - /usr/local/rvm/gems/ruby-1.9.3-p194/gems/nokogiri-1.5.5/lib/nokogiri/xml/node_set.rb:239:in `block in each'
[2012-08-15 15:08:02 Z] ERROR : Object.block in exception - /usr/local/rvm/gems/ruby-1.9.3-p194/gems/nokogiri-1.5.5/lib/nokogiri/xml/node_set.rb:238:in `upto'
[2012-08-15 15:08:02 Z] ERROR : Object.block in exception - /usr/local/rvm/gems/ruby-1.9.3-p194/gems/nokogiri-1.5.5/lib/nokogiri/xml/node_set.rb:238:in `each'
[2012-08-15 15:08:02 Z] ERROR : Object.block in exception - /usr/local/rvm/gems/ruby-1.9.3-p194/gems/yeti-2.7.4/lib/yeti/connector.rb:362:in `read_related_object_linkers'
[2012-08-15 15:08:02 Z] ERROR : Object.block in exception - /usr/local/rvm/gems/ruby-1.9.3-p194/gems/yeti-2.7.4/lib/yeti/connector.rb:54:in `read_config'
[2012-08-15 15:08:02 Z] ERROR : Object.block in exception - /usr/local/rvm/gems/ruby-1.9.3-p194/gems/yeti-2.7.4/lib/yeti/connector.rb:37:in `initialize'
[2012-08-15 15:08:02 Z] ERROR : Object.block in exception - /usr/local/rvm/gems/ruby-1.9.3-p194/gems/yeti-2.7.4/lib/yeti/connector_runner.rb:154:in `new'
[2012-08-15 15:08:02 Z] ERROR : Object.block in exception - /usr/local/rvm/gems/ruby-1.9.3-p194/gems/yeti-2.7.4/lib/yeti/connector_runner.rb:154:in `block in run'
[2012-08-15 15:08:02 Z] ERROR : Object.block in exception - /usr/local/rvm/gems/ruby-1.9.3-p194/gems/yeti-2.7.4/lib/yeti/connector_runner.rb:136:in `each'
[2012-08-15 15:08:02 Z] ERROR : Object.block in exception - /usr/local/rvm/gems/ruby-1.9.3-p194/gems/yeti-2.7.4/lib/yeti/connector_runner.rb:136:in `run'
[2012-08-15 15:08:02 Z] ERROR : Object.block in exception - rally2_jira_connector.rb:24:in `<main>'
--- 结束日志 ---