AnsweredAssumed Answered

Error generating rendition

Question asked by chaer on Mar 19, 2009
Bonjour,

Je suis entrain de faire le tutorial de Ben H http://www.benh.co.uk/alfresco/surf-part-3-alfresco-wcm-content/ avec la version Alfresco Lab 3Stable (3D).
Mon site fonctionne d'origine.
Je crée un web form  (article dans le tutorial) et j'essaye d'ajouter un contenu (nouvelle article).
La création XML se fait pas de problème mais le HTML lastNews.html.

Est ce quelqu'un a une solution SVP?

J'ai l'erreur suivante:

Please correct the errors below then click Finish.
Error generating rendition using latestNews.html.ftl: node avm://demo–admin–preview/-1;www;avm_webapps;ROOT;content;news;latestNews.html does not have aspect {http://www.alfresco.org/model/wcmappmodel/1.0}rendition


et dans Tomcat 6.0

05:02:16,734 User:admin ERROR [ui.common.Utils] Error generating rendition using latestNews.htm
l.ftl: node avm://demo–admin–preview/-1;www;avm_webapps;ROOT;content;news;latestNews.html doe
s not have aspect {http://www.alfresco.org/model/wcmappmodel/1.0}rendition
java.lang.IllegalArgumentException: node avm://demo–admin–preview/-1;www;avm_webapps;ROOT;con
tent;news;latestNews.html does not have aspect {http://www.alfresco.org/model/wcmappmodel/1.0}r
endition
        at org.alfresco.web.forms.RenditionImpl.<init>(RenditionImpl.java:84)
        at org.alfresco.web.forms.RenditionImpl.<init>(RenditionImpl.java:95)
        at org.alfresco.web.forms.RenderingEngineTemplateImpl.render(RenderingEngineTemplateImp
l.java:302)
        at org.alfresco.web.bean.wcm.CreateWebContentWizard.saveContent(CreateWebContentWizard.
java:595)
        at org.alfresco.web.bean.wcm.CreateWebContentWizard$2.execute(CreateWebContentWizard.ja
va:285)
        at org.alfresco.web.bean.wcm.CreateWebContentWizard$2.execute(CreateWebContentWizard.ja
va:282)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTran
sactionHelper.java:320)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTran
sactionHelper.java:227)
        at org.alfresco.web.bean.wcm.CreateWebContentWizard.next(CreateWebContentWizard.java:29
3)
        at org.alfresco.web.bean.wizard.WizardManager.next(WizardManager.java:541)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25
)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:132)
        at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.j
ava:61)
        at javax.faces.component.UICommand.broadcast(UICommand.java:109)
        at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:97)
        at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:171)
        at org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExec
utor.java:32)
        at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:95)
        at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:70)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:139)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterCh
ain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java
:206)
        at org.alfresco.web.app.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java
:81)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterCh
ain.java:235)
        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:128)
        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:286)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protoc
ol.java:583)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        at java.lang.Thread.run(Thread.java:619)

Outcomes