对于我们正在开发的 .NET Tridion 2011 SP1 Web 应用程序,我收到以下错误。据我所知以下文档,所有必需的程序集和 jar 文件都安装在 bin 目录中,并且全部配置为指向许可证文件(最近生成)。
任何人都从以前的经验中知道可能导致这种情况的原因是什么?
无法初始化类 com.tridion.linking.Linking
找不到某些配置的类路径根
=================================================
ClassPath : C:\Websites\Live\malvern.com.en\bin\bin ClassPath : C:\Websites\Live\malvern.com.en\bin\bin ClassPath : C:\Websites\Live\malvern.com.en \bin\bin
==================================================== ========== 一些 Java 类或接口无法找到或加载
此问题的最典型原因是:
- 您忘记配置类路径
- 类路径中缺少 jarfile、zipfile 或目录
- 您的一个类路径条目中有错字
- 您的类路径中缺少一个类所需的 jarfile
- 您的类路径中的 jarfile 已过期且不包含一些新类
==================================================== ==========
javax.servlet.jsp.tagext.TagSupport com.tridion.web.jsp.tag.DynamicComponentLinkHandler com.tridion.web.jsp.tag.IncrementKeyHandler javax.servlet.http.Cookie com.tridion.marketingsolution.profilesync.Handler com.tridion .smarttarget.tags.PromotionContentTagHandler com.tridion.smarttarget.tags.PromotionTagHandler com.tridion.webservices.odata.ODataPublicationMappingFilter com.tridion.web.jsp.tag.ConditionHandler com.tridion.web.jsp.ResponseWrapper com.tridion.smarttarget。 tags.AttributeTagHandler com.tridion.smarttarget.tags.ItemContentTagHandler com.tridion.web.jsp.tag.ConditionsHandler javax.servlet.jsp.JspException [Ljavax.servlet.http.Cookie; com.tridion.linking.Linking com.tridion.smarttarget.tags.FallbackContentTagHandler com.tridion.web.jsp.tag.ComponentLinkHandler com.tridion.web.jsp.tag.ComponentPresentationHandler com.
说明:执行当前 Web 请求期间发生未处理的异常。请查看堆栈跟踪以获取有关错误及其源自代码的位置的更多信息。
异常详细信息:Java.Lang.Throwable:无法初始化类 com.tridion.linking.Linking
找不到某些配置的类路径根
=================================================
ClassPath : C:\Websites\Live\malvern.com.en\bin\bin ClassPath : C:\Websites\Live\malvern.com.en\bin\bin ClassPath : C:\Websites\Live\malvern.com.en \bin\bin
==================================================== ========== 一些 Java 类或接口无法找到或加载
此问题的最典型原因是:
- 您忘记配置类路径
- 类路径中缺少 jarfile、zipfile 或目录
- 您的一个类路径条目中有错字
- 您的类路径中缺少一个类所需的 jarfile
- 您的类路径中的 jarfile 已过期且不包含一些新类
==================================================== ==========
javax.servlet.jsp.tagext.TagSupport com.tridion.web.jsp.tag.DynamicComponentLinkHandler com.tridion.web.jsp.tag.IncrementKeyHandler javax.servlet.http.Cookie com.tridion.marketingsolution.profilesync.Handler com.tridion .smarttarget.tags.PromotionContentTagHandler com.tridion.smarttarget.tags.PromotionTagHandler com.tridion.webservices.odata.ODataPublicationMappingFilter com.tridion.web.jsp.tag.ConditionHandler com.tridion.web.jsp.ResponseWrapper com.tridion.smarttarget。 tags.AttributeTagHandler com.tridion.smarttarget.tags.ItemContentTagHandler com.tridion.web.jsp.tag.ConditionsHandler javax.servlet.jsp.JspException [Ljavax.servlet.http.Cookie; com.tridion.linking.Linking com.tridion.smarttarget.tags.FallbackContentTagHandler com.tridion.web.jsp.tag.ComponentLinkHandler com.tridion.web.jsp.tag.ComponentPresentationHandler com.
源错误:
第 35 行:第 36 行:<% Tridion.ContentDelivery.Web.Linking.ComponentLink componentLink = null; %> 第 37 行:<% Tridion.ContentDelivery.Web.Linking.Link 链接 = null; %> 第 38 行: 第 39 行:
源文件:c:\Websites\Live\malvern.com.en\default.aspx 行:37
堆栈跟踪:
[Throwable:无法初始化类 com.tridion.linking.Linking
找不到某些配置的类路径根
=================================================
ClassPath : C:\Websites\Live\malvern.com.en\bin\bin
ClassPath : C:\Websites\Live\malvern.com.en\bin\bin
ClassPath : C:\Websites\Live\malvern.com.en\bin\bin
==================================================== ========== 一些 Java 类或接口无法找到或加载
此问题的最典型原因是:
- 您忘记配置类路径
- 类路径中缺少 jarfile、zipfile 或目录
- 您的一个类路径条目中有错字
- 您的类路径中缺少一个类所需的 jarfile
- 您的类路径中的 jarfile 已过期且不包含一些新类
==================================================== ==========
javax.servlet.jsp.tagext.TagSupport com.tridion.web.jsp.tag.DynamicComponentLinkHandler com.tridion.web.jsp.tag.IncrementKeyHandler javax.servlet.http.Cookie com.tridion.marketingsolution.profilesync.Handler com.tridion .smarttarget.tags.PromotionContentTagHandler com.tridion.smarttarget.tags.PromotionTagHandler com.tridion.webservices.odata.ODataPublicationMappingFilter com.tridion.web.jsp.tag.ConditionHandler com.tridion.web.jsp.ResponseWrapper com.tridion.smarttarget。 tags.AttributeTagHandler com.tridion.smarttarget.tags.ItemContentTagHandler com.tridion.web.jsp.tag.ConditionsHandler javax.servlet.jsp.JspException [Ljavax.servlet.http.Cookie; com.tridion.linking.Linking com.tridion.smarttarget.tags.FallbackContentTagHandler com.tridion.web.jsp.tag.ComponentLinkHandler com.tridion.web.jsp.tag。
] Codemesh.JuggerNET.NTypeValue.Throw(Int64 inst) +514 Codemesh.JuggerNET.JavaClass.ThrowTypedException(Int64 inst) +1243 Codemesh.JuggerNET.JavaMethod.CallObject(JavaProxy jpo, JavaMethodArguments args) +915 Com.Tridion.Linking.ComponentLink ..ctor(Int32 publicationId) +154 Tridion.ContentDelivery.Web.UI.ComponentLink.Render(HtmlTextWriter writer) +193 ASP.default_aspx.__RenderbodyContent(HtmlTextWriter __w, Control parameterContainer) 在 c:\Websites\Live\malvern.com。 en\default.aspx:37 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +131 ASP.includes_site_master.__RenderForm1(HtmlTextWriter __w, Control parameterContainer) 在 c:\Windows\Microsoft.NET\Framework64\v4 .0.30319\Temporary ASP.NET Files\root\8694a1d7\ddf129e2\App_Web_0p0okahq.0.cs:0 System.Web.UI.Control。RenderChildrenInternal(HtmlTextWriter writer,ICollection children)+131 System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer)+315 System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)+48 System.Web.UI。 Control.RenderChildrenInternal(HtmlTextWriter writer,ICollection children)+246 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer,ICollection children)+246 System.Web.UI.Page.Render(HtmlTextWriter writer)+40 System.Web.UI .Page.ProcessRequestMain(布尔includeStagesBeforeAsyncPoint,布尔includeStagesAfterAsyncPoint)+5290Control.RenderChildrenInternal(HtmlTextWriter writer,ICollection children)+246 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer,ICollection children)+246 System.Web.UI.Page.Render(HtmlTextWriter writer)+40 System.Web.UI .Page.ProcessRequestMain(布尔includeStagesBeforeAsyncPoint,布尔includeStagesAfterAsyncPoint)+5290Control.RenderChildrenInternal(HtmlTextWriter writer,ICollection children)+246 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer,ICollection children)+246 System.Web.UI.Page.Render(HtmlTextWriter writer)+40 System.Web.UI .Page.ProcessRequestMain(布尔includeStagesBeforeAsyncPoint,布尔includeStagesAfterAsyncPoint)+5290