cancel
Showing results for 
Search instead for 
Did you mean: 

Author Web Content: NoClassDefFoundError: XFormsModelElement

hstroh
Champ in-the-making
Champ in-the-making
Hello everyone!  

I deployed the latest nightly build of Alfresco Community WAR 3.2 including WCM functionality and PostgreSQL database support on JBoss 5.0.1.GA. The application server is running on SUSE Linux Enterprise Server 10 (x86_64). The java version is 1.6.0_12.

According to the instructions in the document ‘Getting Started with Web Content Management (WCM) for Alfresco Community Edition 3.2’ I set up the ‘alfrescosample’ web project. After creating the forms and the project I’ve imported the sample website and successfully submitted all modified items from my user sandbox to the staging sandbox. The preview functionality works fine.

Now I’m trying to create web content based on the ‘Company Profile Form’ and ‘Press Release Form’ web forms. After entering the name in the first step (Step One - Web Content Details) and choosing 'XML' as content type I get the following error message when clicking on the ‘Next’ button:
   
Step Two - Author Web Content
Enter your document content into the repository.
java.lang.NoClassDefFoundError: org/w3c/xforms/XFormsModelElement
To continue click Next.

I found a similar issue reported in Alfresco JIRA: https://issues.alfresco.com/jira/browse/ETHREEOH-2045. Does anyone have any advice on how to avoid or solve this issue?

Kind regards,
Hendrik
1 REPLY 1

alecbrecher
Champ in-the-making
Champ in-the-making
I am having the same issue. I have added org.w3c.xforms to war-deployers-jboss-beans.xml filter but to no avail.  Did you resolve your issue?

alfresco.log shows:
ERROR [org.alfresco.web.ui.common.Utils] org/w3c/xforms/XFormsModelElement
java.lang.NoClassDefFoundError: org/w3c/xforms/XFormsModelElement
   at org.chiba.xml.xforms.Container.getElementFactory(Container.java:235)
   at org.chiba.xml.xforms.Container.initModels(Container.java:712)
   at org.chiba.xml.xforms.Container.init(Container.java:345)
   at org.chiba.xml.xforms.ChibaBean.init(ChibaBean.java:429)
   at org.alfresco.web.forms.xforms.XFormsBean.setXFormsSession(XFormsBean.java:273)
   at org.alfresco.web.forms.xforms.XFormsProcessor.process(XFormsProcessor.java:148)
   at org.alfresco.web.forms.xforms.XFormsProcessor.process(XFormsProcessor.java:129)
Caused by: java.lang.ClassNotFoundException: org.w3c.xforms.XFormsModelElement

-Alec