Wednesday, 12 February 2014

Service Builder generated exceptions.

Hi
   In this post I will discuss the problem that I face at the time building the service. This problem arises because of addition of the given below table

<entity name="SB_ErrorCodes" local-service="true" remote-service="false" table="ErrorCodes">
      <column name="ErrorCode" type="int" primary="true" />
     <column name="ErrorDesc" type="String" />
     <column name="ObjectType" type="String" />
    <column name="ObjectId" type="int" />
</entity>

The error on console after service build operation is
BUILD FAILED
D:\liferayWorksapce\liferay-plugins-sdk-6.1.1\build-common-plugin.xml:274: Service Builder generated exceptions.

   If we check then there is no error in table, then what's the problem. The problem is
    We can't have Entities containing "Error" or "Package" in their name, because they mess up with the build process - it's triggering the error handling.
Below is the link of prblem.
https://issues.liferay.com/browse/LPS-27710

Hope this will helpful for others.
Thanks asif aftab

No comments:

Post a Comment