7 Replies Latest reply on Apr 27, 2012 2:20 AM by DukeBJD

    Error in import lca\application code

    Mrsunilg Level 1

      Hi, I am getting this run time error.. at my code line

      //Create a ProcessTemplateDocument object

      ProcessTemplateDocument processTemplateDocument = ProcessTemplateDocumentFactory.parseProcessTemplate(configuration.getDescriptor());

       

      orchestration.setDescription(processTemplateDocument.getDescription());

      orchestration.setId(processTemplateDocument.getName());

      orchestration.setCategoryId(catId);

      orchestration.setCategoryDescription(catDesc);

       

      I have added these jar files

      import

       

       

      com.adobe.workflow.template.document.ProcessTemplateDocument;

      import

       

       

      com.adobe.workflow.template.document.ProcessTemplateDocumentFactory;

       

       

      there is no compile time error..

       

       

       

      Exception in thread "main" java.lang.NoClassDefFoundError: com.thoughtworks.xstream.io.HierarchicalStreamDriver

      at java.lang.J9VMInternals.verifyImpl(

       

       

      Native Method)

      at java.lang.J9VMInternals.verify(

       

      J9VMInternals.java:63)

      at java.lang.J9VMInternals.initialize(

       

      J9VMInternals.java:124)

      at com.adobe.workflow.template.document.DefaultEndpointTemplate.<init>(

       

      DefaultEndpointTemplate.java:107)

      at com.adobe.workflow.template.document.DefaultSwimlaneTemplate.<init>(

       

      DefaultSwimlaneTemplate.java:647)

      at com.adobe.workflow.template.document.DefaultPoolTemplate.createPool(

       

      DefaultPoolTemplate.java:199)

      at com.adobe.workflow.template.document.DefaultPoolTemplate.<init>(

       

      DefaultPoolTemplate.java:115)

      at com.adobe.workflow.template.document.DefaultBranchTemplate.<init>(

       

      DefaultBranchTemplate.java:128)

      at com.adobe.workflow.template.document.DefaultProcessTemplateDocument.<init>(

       

      DefaultProcessTemplateDocument.java:327)

      at com.adobe.workflow.template.document.ProcessTemplateDocumentFactory.parseProcessTemplate(

       

      ProcessTemplateDocumentFactory.java:69)

      at archive.ExportLCA.main(

       

      ExportLCA.java:116)