Envo: Cocoon219, Hibernate, Tc5.5
 
This is a configuration question that may not belong here, but after a full day of searching I'm left wondering if there is a conflicting jar with the org.apache.xml package somewhere. Any help or direction is appreciated. I'll say this in advance, because the error looks fairly obvious at first: xerces is in my nb project classpath.
 
The code:
 
      <fd:action id="test">
            <fd:label>Push Me</fd:label>
            <fd:on-action>
                <fd:_javascript_>
                    // get the counties as xml
                    importPackage(com.testcocoon.utilities.data);
                    importPackage(org.apache.xml.serialize); //added this line, doesn't help...why? In fact: If a try to import the class XMLSerializer, it complains thats its a class and not a package.

                    var countyData = new StaticDataCounties(); //returns object with county data
                    var data = "" //ERROR Line95, returns a CastorMarshaller.getXML()

                    var parent = event.source.parent;
                    parent.lookupWidget("output").setValue(data);
 
                    //ds is hibernate datasource
                    var peopleList = ds.getObjects("from com.testcocoon.dataobjects.PersonDO as o order by o.persLastName",0,10);

                    var peopleWidget =  parent.lookupWidget("people");
                    peopleWidget.setSelectionList(peopleList, "personID","persLastName");

                </fd:_javascript_>
            </fd:on-action>
        </fd:action>
 
 
The error:

java.lang.NoClassDefFoundError: org/apache/xml/serialize/XMLSerializer
 
Cocoon stacktrace[hide]
 
at handleEvent (file:/E:/tomcat_farm/common/cocoon-2.1.9/build/webapp/cct/lic/model/edit_childcare_facility_model.xml, Line 95):
java.lang.NoClassDefFoundError: org/apache/xml/serialize/XMLSerializer
file:/E:/tomcat_farm/common/cocoon-2.1.9/build/webapp/cct/lic/model/edit_childcare_facility_model.xml - 95:-1 
 
Error calling continuation
file:/E:/tomcat_farm/common/cocoon-2.1.9/build/webapp/cct/lic/model/edit_childcare_facility_model.xml - 95:-1 [_javascript_Exception]
file:/E:/tomcat_farm/common/cocoon-2.1.9/build/webapp/cct/lic/model/edit_childcare_facility_model.xml - 95:-1 
resource://org/apache/cocoon/forms/flow/_javascript_/Form.js - 168:-1 
resource://org/apache/cocoon/forms/flow/_javascript_/Form.js - 0:-1 
file:/E:/tomcat_farm/common/cocoon-2.1.9/build/webapp/cct/lic/prefs.js - 0:-1 
file:/E:/tomcat_farm/common/cocoon-2.1.9/build/webapp/cct/lic/sitemap.xmap - 127:47 <map:call>
file:/E:/tomcat_farm/common/cocoon-2.1.9/build/webapp/cct/sitemap.xmap - 188:68 <map:mount>
file:/E:/tomcat_farm/common/cocoon-2.1.9/build/webapp/sitemap.xmap - 969:66 <map:mount>
 
Java stacktrace[hide]
 
java.lang.NoClassDefFoundError: org/apache/xml/serialize/XMLSerializer
 at org.exolab.castor.xml.Unmarshaller.initConfig(Unmarshaller.java:272)
 at org.exolab.castor.xml.Unmarshaller.<init>(Unmarshaller.java:225)
 at org.exolab.castor.xml.Unmarshaller.<init>(Unmarshaller.java:212)
 
 
Thanks for any input, even if you have to kick me to a hibernate or castor thread....I'm a bit lost!
 
James Holstead
Software Engineer
Tybrin Corporation
tybrin.com
850.337.2718
 
This e-mail and any files transmitted with it are the property of TYBRIN Corporation, are confidential, and are intended solely for the use of the individual or entity to which this email is addressed. If you are not one of the named recipient(s) or otherwise have reason to believe that you have received this message in error, please delete this message immediately. Any other use, retention, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited.
 

Reply via email to