Foren

Liferay Maven Service Builder Portlet goal - build-wsdd Issue

thumbnail
Kowbathullah Gnaniyar Zubair, geändert vor 6 Jahren.

Liferay Maven Service Builder Portlet goal - build-wsdd Issue

Liferay Master Beiträge: 722 Beitrittsdatum: 19.12.07 Neueste Beiträge
I am using liferay 6.2. Trying to generate the Maven portlet with Service Builder with remote implementation.
I did build-service, everything was fine, all the classes are generated without any issue.. But when i execute the goal build-wsdd , it throws exception as below:

Java2WSDL com.xxx.xxx.xxx.service.http.XXXServiceSoap java.lang.ClassNotFoundException: com.xxx.xxx.xxx.service.http.XXXServiceSoap


Any guess guys?
thumbnail
Andrew Jardine, geändert vor 6 Jahren.

RE: Liferay Maven Service Builder Portlet goal - build-wsdd Issue

Liferay Legend Beiträge: 2416 Beitrittsdatum: 22.12.10 Neueste Beiträge
Hi Gnaniyar,

This one looks pretty straight forward to me. I am assuming that you have double checked to make sure that the class exists (in the portlet module, not the portlet-service module)? I just checked a project that I have locally and I was able to run

mvn -P myProfile liferay:build-service


.. without issue. Have you tried from the command line? Or perhaps you are the victim of this bug? (though it should be fixed)
https://issues.liferay.com/browse/MAVEN-69?jql=text%20~%20%22build-wsdd%22