あるコミュニティからページを LAR としてエクスポートし、この LAR を別のコミュニティにインポートしようとしています。基本的に、ある環境から LAR をエクスポートし、他の環境にインポートしたいと考えていました。インポート中に次の例外が発生します。以下の構成を使用しています: Weblogic 10.3 JDK 1.6 Unix 環境にインストールされた Liferay 6 Enterprise Edition
画面エラー: 要求されたリソースへのアクセス中にエラーが発生しました。
原因: java.lang.NoClassDefFoundError: org/dom4j/Element at org.jaxen.dom4j.DocumentNavigator.getChildAxisIterator(DocumentNavigator.java:231) at org.jaxen.expr.iter.IterableChildAxis.namedAccessIterator(IterableChildAxis.java:98) org.jaxen.expr.DefaultNameStep.evaluate(DefaultNameStep.java:180) で org.jaxen.expr.DefaultLocationPath.evaluate(DefaultLocationPath.java:140) で org.jaxen.expr.DefaultXPathExpr.asList(DefaultXPathExpr.java:102) ) org.jaxen.BaseXPath.selectNodesForContext(BaseXPath.java:674) で org.jaxen.BaseXPath.selectNodes(BaseXPath.java:213) で org.jaxen.BaseXPath.selectSingleNode(BaseXPath.java:234) で org.dom4j .xpath.DefaultXPath.selectSingleNode(DefaultXPath.java:159) org.dom4j.tree.AbstractNode.selectSingleNode(AbstractNode.java:185) com.liferay.portal.xml.NodeImpl.selectSingleNode(NodeImpl.java:211) で com.liferay.portal.lar.LayoutImporter.importLayout(LayoutImporter.java:818) で com.liferay.portal.lar.LayoutImporter com.liferay.portal.service.impl.LayoutLocalServiceImpl.importLayouts(LayoutLocalServiceImpl.java:706) の .importLayouts(LayoutImporter.java:346) (NativeMethodAccessorImpl.java:39) で sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) で java.lang.reflect.Method.invoke(Method.java:597) で com.liferay.portal.spring.aop で。 com.liferay.portal.spring.transaction の ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115)。com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:60) の TransactionInterceptor.invoke(TransactionInterceptor.java:86) com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java: 60) com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:60) で com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:93) で $Proxy96.importLayouts(ソース不明) com.liferay.portal.service.impl.LayoutServiceImpl.importLayouts(LayoutServiceImpl.java:300) で sun.reflect.NativeMethodAccessorImpl.invoke0(ネイティブ メソッド) で sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ) sun.reflect.DelegatingMethodAccessorImpl で。java.lang.reflect.Method.invoke(Method.java:597) での invoke(DelegatingMethodAccessorImpl.java:25) com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115) での com.liferay .portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:86) com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:60) com.liferay.portal.spring.aop.ChainableMethodAdvice .invoke(ChainableMethodAdvice.java:60) com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:60) com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:93) ) com.liferay.portal.service.LayoutServiceUtil の $Proxy97.importLayouts(不明なソース) で。importLayouts(LayoutServiceUtil.java:173) com.liferay.portlet.communities.action.ImportPagesAction.processAction(ImportPagesAction.java:62) com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:174) com .liferay.portlet.StrutsPortlet.processAction(StrutsPortlet.java:190) com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:70) com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java) :48) com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:653) で com.liferay.portlet.InvokerPortletImpl.invokeAction(InvokerPortletImpl.java:689) で com.liferay.portlet.InvokerPortletImpl.processAction(InvokerPortletImpl. java:361) com.liferay.portal.action.LayoutAction で。processPortletRequest(LayoutAction.java:840) で com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:629) で com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:240) で org.apache .struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) で org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) で com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java) :170) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) で org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) で javax.servlet.http.HttpServlet で。サービス(HttpServlet.java:727) com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:516) com.liferay.portal.javax.servlet.http.HttpServlet.service(HttpServlet.java:820) の servlet.MainServlet.service(MainServlet.java:493) weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) の weblogic .servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) の weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292) の weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72) com.liferay.portal.kernel. com.liferay.portal.kernel の servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:113)。com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:199) の servlet.BaseFilter.processFilter(BaseFilter.java:121) com.liferay.portal.kernel.servlet.BaseFilter.doFilter( BaseFilter.java:48) で com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203) で com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter( InvokerFilterChain.java:105) com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121) com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:240) com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48) で com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105) の processDoFilter(InvokerFilterChain.java:203) com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter で。 weblogic.servlet.internal.RequestDispatcherImpl の doFilter(InvokerFilter.java:75) weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:500) の weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) .forward(RequestDispatcherImpl.java:248) で com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:136) で javax.servlet.http.HttpServlet.service(HttpServlet.java:820) で weblogic.servlet. weblogic の internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)。servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)、weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)、weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)、weblogic .servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72) com.liferay.portal.kernel.servlet .BaseFilter.processFilter(BaseFilter.java:121) com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:301) com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter) .java:48) com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203) com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105) で com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121) で.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:199) com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48) com.liferay.portal.kernel .servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203) com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105) com.liferay.portal.kernel .servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:113) com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121) の doFilter(InvokerFilterChain.java:113) com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java: 55) com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48) で com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203) で.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105) com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121) com.liferay.portal .servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:240) com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48) com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203) com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105) com. liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:75) で weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) で weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet( RequestDispatcherImpl.java:500) の weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:248) の com.liferay.portal.servlet.I18nServlet.service(I18nServlet.java:102) の javax.servlet.http.HttpServlet weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction の .service(HttpServlet.java:820)。run(StubSecurityHelper.java:227) で weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) で weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292) で weblogic.servlet.internal.TailFilter .doFilter(TailFilter.java:26) の weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72 の) ) com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121) で com.liferay.portal.servlet.filters.sso.ntlm.NtlmPostFilter.processFilter(NtlmPostFilter.java:83) で com. liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48) com.liferay.portal.kernel.servlet.filters.invoker.com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105) の InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203) com.liferay.portal.kernel.servlet.BaseFilter.processFilter( BaseFilter.java:121) com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:80) com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48) com.liferay .portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203) com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105) com.liferay .portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121) com.liferay.portal.servlet.filters.virtualhost.com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48) の VirtualHostFilter.processFilter(VirtualHostFilter.java:207) com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter( InvokerFilterChain.java:203) で com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105) で com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter( org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java: 738) com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203) com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105) で com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java: 164) com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:92) で com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java: 164) com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:92) で com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java: 75) weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) で、weblogic.servlet.internal で。WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) ... 6 詳細