无法初始化类com.tridion.storage.StorageManagerFactory

时间:2012-04-30 18:44:10

标签: classpath tridion dd4t

我正在使用Tridion 2011实现DD4T MVC3。我已经实现了它并且它在上周五之前正常工作。我能够获取页面模型并使用Razor视图呈现它。

但是在周末我尝试运行相同的应用程序后,我得到了以下错误(从两行开始)。

Tridion许可证将于今天(2012年4月30日)到期。这会有问题吗?但Tridion Content Manager工作正常。

Could not initialize class com.tridion.storage.StorageManagerFactory
================================================

Some configured classpath roots cannot be found

================================================

   ClassPath           : C:\MyProjects\DD4TMVC\FirstDD4TMVCApplication\FirstDD4TMVCApplication\bin\bin

============================================================
Some Java classes or interfaces could not be found or loaded

The most typical reasons for this problem are:

- you forgot to configure a classpath
- a jarfile, zipfile, or directory is missing from your
  classpath
- you have a typo in one of your classpath entries
- a jarfile required by one of your classes is missing from
  your classpath
- a jarfile on your classpath is out-of-date and does not
  contain some new classes

============================================================

 com.tridion.web.asp.ASPAdmin
 com.tridion.web.jsp.tag.DynamicComponentLinkHandler
 com.tridion.web.jsp.tag.IncrementKeyHandler
 com.tridion.webservices.odata.ODataPublicationMappingFilter
 com.tridion.web.jsp.tag.ConditionHandler
 com.tridion.web.jsp.ResponseWrapper
 com.tridion.web.jsp.tag.ConditionsHandler
 com.tridion.linking.Linking
 com.tridion.storage.StorageManagerFactory
 com.tridion.web.jsp.tag.ComponentLinkHandler
 com.tridion.web.jsp.tag.ComponentPresentationHandler
 com.tridion.web.Admin
 com.tridion.webservices.odata.ODataContextListener
 com.tridion.web.jsp.JSPProcessor
 com.tridion.web.jsp.tag.TargetGroupHandler
 com.tridion.linking.ASPLinking
 com.tridion.web.jsp.tag.BinaryLinkHandler
 com.tridion.ambientdata.web.AmbientDataServletFilter
 com.tridion.webservices.security.authentication.OAuth2AccessTokenHandler
 com.tridion.web.jsp.JSPXSLTProcessor
 com.tridion.web.jsp.tag.PageLinkHandler
 com.tridion.web.jsp.tag.TaxonomyHandler
 com.tridion.web.jsp.tag.LinkBaseHandler

请帮忙

5 个答案:

答案 0 :(得分:6)

我建议您首先获得新的SDL Tridion内容交付许可,如果您仍然遇到问题,请回复我们。这似乎是一个可能的罪魁祸首。

答案 1 :(得分:4)

我们通过仅替换许可证文件解决了类似问题。

谢谢, Vikas Kumar

答案 2 :(得分:1)

如果更改许可证无效,请检查日志中是否存在ClassDefNotFound错误或ClassNotFoundException异常。核心日志或Tridion事件日志是包含这些错误的非常好的候选者。

答案 3 :(得分:0)

如果它不是上述许可证,请确保存储配置文件cd_storage_conf.xml中的所有设置都有效。我在丢失数据库信息时看到了同样的错误。

答案 4 :(得分:0)

确实过期的cd_licenses会导致此问题。

我今天看到的是:

ERROR - <JavaException  <Type>java/lang/NoClassDefFoundError</Type<Message>     <![CDATA[Could not initialize class com.tridion.storage.StorageManagerFactory
================================================ 
Some configured classpath roots cannot be found
================================================

所以完美的解决方案是更改cd_licenses文件并保持良好的有效性。