4 Replies Latest reply on Jan 28, 2009 6:21 AM by Jasmin Charbonneau

    NoClassDefFoundError: ServiceClientFactoryProperties ?

      Hi
      I am not sure if this is the right forum, but i am using a java servlet example from an Adobe documentin a dynamic web project to try to submit data from a PDF to a LiveCycle process. I export the project to my JBoss deploy folder.

      I then call the PDF from a Flex application, enter dummy data and click submit, which gives me
      NoClassDefFoundError: com/adobe/idp/dsc/clientsdk/ServiceClientFactoryProperties which points to this block of code in my servlet:
      ----------------------------------------------------------------
      Properties connectionProps = new Properties();
      connectionProps.setProperty(ServiceClientFactoryProperties.DSC_DEFAULT_EJB_ENDPOINT,
      "jnp://localhost:1099");
      connectionProps.setProperty(ServiceClientFactoryProperties.DSC_TRANSPORT_PROTOCOL,
      ServiceClientFactoryProperties.DSC_EJB_PROTOCOL);
      connectionProps.setProperty(ServiceClientFactoryProperties.DSC_SERVER_TYPE,
      "JBoss");
      connectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_USERNAME,
      "administrator");
      connectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_PASSWORD,
      "password");
      ----------------------------------------------------------------

      Basically, it's throwing the error when it tries to set the property using ServiceClientFactoryProperties

      I have imported all the correct libraries, and I don't get any errors when I compile the project or export it.

      I am at a loss as what to do?