我为SmartTarget配置了Deployer(.NET网站)。当我尝试发布动态组件模板时,它在部署时给出了错误。
错误是:
2012-06-14 15:39:53,296 DEBUG DeploymentHandler - 部署tcd:pub [14] / componentmeta [1300]。
2012-06-14 15:39:53,296 DEBUG DeploymentHandler - 活动线程事务:tcm:0-1731-66560。 2012-06-14 15:39:53,296 DEBUG DeploymentHandler - 将参考文献从:tcd:pub [14] / componentmeta [1300]传递到:1项 2012-06-14 15:39:53,296 DEBUG DeploymentHandler - 跟踪参考总数:15 2012-06-14 15:39:53,296 DEBUG HandlerFactory - 检索itemURI的typeHandler:tcd:pub [14] / componentmeta [1300] 2012-06-14 15:39:53,312 DEBUG DeploymentHandler - 部署tcd:pub [0] / pub [14]。 2012-06-14 15:39:53,312 DEBUG HandlerFactory - 检索itemURI的typeHandler:tcd:pub [0] / pub [14] 2012-06-14 15:39:53,312 DEBUG MetaDataFactory - 从文件C:\ tridion \ incoming \ testRD \ Zip \ tcm_0-1731-66560.Content \ component_presentations.xml为type = ComponentPresentations创建MetaDataFile 2012-06-14 15:39:53,312 DEBUG SectionVisitor - 处理部分ComponentPresentations 2012-06-14 15:39:53,312 DEBUG ComponentPresentationDeploy - 调用ComponentPresentationDeploy.processItem 2012-06-14 15:39:53,312 DEBUG TCDLEngine - 将目标语言设置为无 2012-06-14 15:39:53,312 DEBUG TransformProcessor - 转换文件C:\ tridion \ incoming \ testRD \ Zip \ tcm_0-1731-66560.Content \ ComponentPresentations \ tcm_14-1299_tcm_14-1302-32 source encoding null 2012-06-14 15:39:53,312 DEBUG TCDLTransformer - 为语言转换启用tcdl的内容 2012-06-14 15:39:53,312 WARN DeployPipelineExecutor - 阶段:部署处理阶段失败消息:org / apache / commons / lang / StringUtils for transaction:tcm:0-1731-66560 2012-06-14 15:39:53,312 DEBUG DeployPipelineExecutor - 阶段失败:部署处理阶段尝试:1表示事务:tcm:0-1731-66560 2012-06-14 15:39:53,312 ERROR DeployPipelineExecutor - 阶段的最终尝试:事务的部署处理阶段失败:tcm:0-1731-66560 2012-06-14 15:39:53,312 ERROR DeployPipelineExecutor - 交易的原始堆栈跟踪:tcm:0-1731-66560 java.lang.NoClassDefFoundError:org / apache / commons / lang / StringUtils 在com.tridion.smarttarget.tcdl.TcdlRegionTagHandler.doEndTag(TcdlRegionTagHandler.java:44)〜[smarttarget_core.jar:na]
在com.tridion.tcdl.TagDispatcher.endTag(TagDispatcher.java:358)〜[cd_tcdl.jar:na]
在com.tridion.tcdl.TCDLParser.parse(TCDLParser.java:156)〜[cd_tcdl.jar:na]
at com.tridion.tcdl.TCDLTransformer.nonRELTransform(TCDLTransformer.java:122)~ [cd_tcdl.jar:na]
在com.tridion.tcdl.TCDLTransformer.process(TCDLTransformer.java:83)〜[cd_tcdl.jar:na]
在com.tridion.deployer.TCDLTransformer.transform(TCDLTransformer.java:118)〜[cd_deployer.jar:na]
在com.tridion.deployer.TCDLTransformer.transform(TCDLTransformer.java:89)〜[cd_deployer.jar:na]
在com.tridion.deployer.TransformProcessor.transformItem(TransformProcessor.java:185)〜[cd_deployer.jar:na]
at com.tridion.deployer.modules.ComponentPresentationDeploy.processComponentPresentation(ComponentPresentationDeploy.java:123)~ [cd_deployer.jar:na]
在com.tridion.deployer.modules.ComponentPresentationDeploy.processItem(ComponentPresentationDeploy.java:105)〜[cd_deployer.jar:na]
在com.tridion.deployer.SectionVisitor.processSection(SectionVisitor.java:83)〜[cd_deployer.jar:na]
在com.tridion.deployer.SectionVisitor.process(SectionVisitor.java:60)〜[cd_deployer.jar:na]
在com.tridion.deployer.Processor.process(Processor.java:109)〜[cd_deployer.jar:na]
在com.tridion.deployer.workers.ProcessorWorker.doWork(ProcessorWorker.java:74)〜[cd_deployer.jar:na]
在com.tridion.deployer.phases.ProcessingPhase.execute(ProcessingPhase.java:73)〜[cd_deployer.jar:na]
at com.tridion.deployer.phases.DeployPipelineExecutor.runMainExecutePhase(DeployPipelineExecutor.java:186)[cd_deployer.jar:na]
在com.tridion.deployer.phases.DeployPipelineExecutor.doExecute(DeployPipelineExecutor.java:97)[cd_deployer.jar:na] 在com.tridion.deployer.phases.DeployPipelineExecutor.execute(DeployPipelineExecutor.java:61)[cd_deployer.jar:na]
在com.tridion.deployer.TransactionManager.handleDeployPackage(TransactionManager.java:80)[cd_deployer.jar:na]
在com.tridion.deployer.queue.QueueLocationHandler $ 1.run(QueueLocationHandler.java:176)[cd_deployer.jar:na]
at java.util.concurrent.Executors $ RunnableAdapter.call(Unknown Source)[na:1.6.0_11]
at java.util.concurrent.FutureTask $ Sync.innerRun(Unknown Source)[na:1.6.0_11]
at java.util.concurrent.FutureTask.run(Unknown Source)[na:1.6.0_11]
at java.util.concurrent.ThreadPoolExecutor $ Worker.runTask(Unknown Source)[na:1.6.0_11]
at java.util.concurrent.ThreadPoolExecutor $ Worker.run(Unknown Source)[na:1.6.0_11]
在java.lang.Thread.run(未知来源)[na:1.6.0_11]
2012-06-14 15:39:53,312 INFO TransactionPersistence - 删除部署事务信息:tcm:0-1731-66560
2012-06-14 15:39:53,312 ERROR DeployPipelineExecutor - 无法使用transactionId开始处理部署包:tcm:0-1731-66560
2012-06-14 15:39:53,312 DEBUG DeployPipelineExecutor - 检查交易是否完成:tcm:0-1731-66560是否属于
2012-06-14 15:39:53,312 INFO DeployPipelineExecutor - 交易完成:tcm:0-1731-66560
2012-06-14 15:39:53,312 INFO DeployPipelineExecutor - 完成执行部署管道:tcm:0-1731-66560 in 94 ms。
2012-06-14 15:39:53,312 INFO TransactionManager - 清理事务的部署包:tcm:0-1731-66560并输入:CONTENT
2012-06-14 15:39:53,328 INFO TransactionManager - 部署包的完成处理:tcm:0-1731-66560,类型:CONTENT
2012-06-14 15:39:53,328 DEBUG QueueLocationHandler - 删除部署包上的独占锁:tcm:0-1731-66560,类型为:CONTENT。
答案 0 :(得分:3)
java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils
看起来您还没有安装第三方lib文件。