Expand my Community achievements bar.

Custom Java Component - Failed to deploy service defaultPOJODescriptorImpl

Avatar

Level 3

Hello guys.

I am trying to create a custom component to work with the CMIS protocol by Apache to read repositories...

But, for the first step, I've just downloaded this sample hello Component (Extending LiveCycle ES software through custom DSC development – Part 1: Create a basic service comp...) and included some Referenced Libraries from my computer. The build path is ok and the .jars are ok too, I have success executing another project on my machine with the same references.

My class don't even have any import or anything diferent, the code is only the code from the tutorial:

public class helloComponent {

  public String hi(String yourName){

  return "Hello, " + yourName;

  }

}

And I didn't changed the component.xml also. But when I try to start the component on the LiveCycle Workbench, I get the error "Command START failed on component x" and if I try to activate the service, I get the error "Failed to deploy service x from component com.adobe.idp.dsc.component.Impl.DefaultPOJODescriptor.Impl".

Under the referenced libraries, I get 3 libraries from Apache.

How do I solve this? Any tip on trouble-shooting or anything I can try to solve this error?

Thank you guys in advance.

0 Replies