1

我正在使用 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

请帮忙

4

5 回答 5

6

我建议您先获得一个新的 SDL Tridion Content Delivery 许可证,如果您仍有问题,请联系我们。这似乎是一个可能的罪魁祸首。

于 2012-04-30T18:59:06.767 回答
4

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

谢谢,维卡斯库马尔

于 2012-05-01T07:40:45.187 回答
1

如果更改许可证没有帮助,请检查日志是否有ClassDefNotFound错误或ClassNotFoundException异常。Core 日志或 Tridion 事件日志非常适合包含这些错误。

于 2012-04-30T19:04:41.273 回答
0

如果不是上面提到的license,请确保存储配置文件cd_storage_conf.xml中的所有设置都有效。当缺少数据库信息时,我看到了同样的错误。

于 2014-06-23T13:18:10.800 回答
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 文件。

于 2015-11-19T10:03:13.020 回答