cancel
Showing results for 
Search instead for 
Did you mean: 

Use Alfresco Web Services + JSF

mjuarez
Champ in-the-making
Champ in-the-making
Hi!! I have a alfresco "API" (created by me), and i like integrate this API in the JSF project…

But i don't..

This is the error when i try execute:

java.lang.NoClassDefFoundError: org/alfresco/webservice/authentication/AuthenticationFault
   at java.lang.Class.getDeclaredMethods0(Native Method)
   at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
   at java.lang.Class.getDeclaredMethods(Unknown Source)
   at org.apache.catalina.util.DefaultAnnotationProcessor.processAnnotations(DefaultAnnotationProcessor.java:226)
   at org.apache.myfaces.config.annotation.TomcatAnnotationLifecycleProvider.newInstance(TomcatAnnotationLifecycleProvider.java:49)
   at org.apache.myfaces.config.ManagedBeanBuilder.buildManagedBean(ManagedBeanBuilder.java:85)
   at org.apache.myfaces.el.unified.resolver.ManagedBeanResolver.createManagedBean(ManagedBeanResolver.java:198)
   at org.apache.myfaces.el.unified.resolver.ManagedBeanResolver.getValue(ManagedBeanResolver.java:164)
   at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:54)
   at org.apache.myfaces.el.unified.resolver.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:140)
   at org.apache.myfaces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:64)
   at org.apache.myfaces.el.convert.VariableResolverToELResolver.getValue(VariableResolverToELResolver.java:95)
   at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:54)
   at org.apache.myfaces.el.unified.resolver.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:140)
   at org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:61)
   at org.apache.el.parser.AstValue.getValue(AstValue.java:107)
   at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
   at org.apache.jasper.el.JspValueExpression.getValue(JspValueExpression.java:101)
   at javax.faces.component.UIOutput.getValue(UIOutput.java:73)
   at javax.faces.component.UIInput.getValue(UIInput.java:120)
   at org.apache.myfaces.shared_impl.renderkit.RendererUtils.getValue(RendererUtils.java:339)
   at org.apache.myfaces.shared_impl.renderkit.RendererUtils.getStringValue(RendererUtils.java:287)
   at org.apache.myfaces.shared_impl.renderkit.html.HtmlTextRendererBase.renderInput(HtmlTextRendererBase.java:142)
   at org.apache.myfaces.shared_impl.renderkit.html.HtmlTextRendererBase.encodeEnd(HtmlTextRendererBase.java:57)
   at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:624)
   at org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:534)
   at org.apache.myfaces.shared_impl.renderkit.html.HtmlGridRendererBase.renderChildren(HtmlGridRendererBase.java:231)
   at org.apache.myfaces.shared_impl.renderkit.html.HtmlGridRendererBase.encodeEnd(HtmlGridRendererBase.java:102)
   at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:624)
   at javax.faces.component.UIComponent.encodeAll(UIComponent.java:261)
   at javax.faces.component.UIComponent.encodeAll(UIComponent.java:257)
   at javax.faces.component.UIComponent.encodeAll(UIComponent.java:257)
   at org.apache.myfaces.application.jsp.JspViewHandlerImpl.actuallyRenderView(JspViewHandlerImpl.java:427)
   at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:383)
   at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
   at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
   at javax.faces.webapp.FacesServlet.service(FacesServlet.java:182)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
   at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.alfresco.webservice.authentication.AuthenticationFault
   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1484)
   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1329)
   … 49 more

Any help is very important for me!! Regards!
1 REPLY 1

azade
Champ in-the-making
Champ in-the-making
hi i want to do this but i dont know how
can you help me????