Fórum
Error when running service (SB) - Liferay 7
Revathi Vadlamudi, modificado 7 Anos atrás.
Error when running service (SB) - Liferay 7
Junior Member Postagens: 82 Data de Entrada: 14/11/14 Postagens Recentes
Displaying errors when running buildService why?
<entity name="Household" table="household" local-service="true" remote-service="true">
<!-- PK fields -->
<column name="householdId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="users" type="Collection" entity="User" mapping-table="Users_Households" />
</entity>
Akash Jaisawal, modificado 7 Anos atrás.
RE: Error when running service (SB) - Liferay 7
Regular Member Postagens: 141 Data de Entrada: 03/03/12 Postagens Recentes
What is the error you are getting in console?
Try with the below code once.
Try with the below code once.
<entity name="Household" local-service="true" remote-service="true" >
<!-- PK fields -->
<column name="householdId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="users" type="Collection" entity="User" mapping-table="Users_Households" />
</entity>
Revathi Vadlamudi, modificado 7 Anos atrás.
RE: Error when running service (SB) - Liferay 7
Junior Member Postagens: 82 Data de Entrada: 14/11/14 Postagens Recentes
[aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.AddressInfoModel. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class com.liferay.portal.kernel.model.BaseModel. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.AddressInfoPhoneModel. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.AddressInfoPhone. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.AddressInfo. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.HouseholdModel. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.HouseholdEmailAddressModel. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.HouseholdEmailAddress. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.HouseholdPhoneModel. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.HouseholdPhone. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.Household. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.MembershipPlanModel. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.MembershipPlanFeatureModel. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.MembershipPlanFeature. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.MembershipPlan. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.ProspectModel. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.Prospect. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.Prospects_HouseholdsModel. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.Prospects_Households. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.UserMembershipModel. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.UserMembershipInfoModel. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.UserMembershipInfo. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.UserMembership. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.UserinfoModel. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.Userinfo. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.Users_HouseholdsModel. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.Users_Households. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.Users_UserMembershipModel. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.Users_UserMembership. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.service.AddressInfoLocalService. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.service.AddressInfoPhoneLocalService. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.service.AddressInfoPhoneService. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.service.AddressInfoService. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.service.HouseholdLocalService. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.service.HouseholdService. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.service.MembershipPlanFeatureLocalService. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.service.MembershipPlanFeatureService. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.service.MembershipPlanLocalService. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.service.MembershipPlanService. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.service.ProspectLocalService. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.service.ProspectService. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.service.Prospects_HouseholdsLocalService. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.service.Prospects_HouseholdsService. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.service.UserMembershipInfoLocalService. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.service.UserMembershipInfoService. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.service.UserMembershipLocalService. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.service.UserMembershipService. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.service.UserinfoLocalService. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.service.UserinfoService. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.service.Users_HouseholdsLocalService. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.service.Users_HouseholdsService. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.service.Users_UserMembershipLocalService. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.service.Users_UserMembershipService. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations.]
[aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.AddressInfoModel. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class com.liferay.portal.kernel.model.BaseModel. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.AddressInfoPhoneModel. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.AddressInfoPhone. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.AddressInfo. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.HouseholdModel. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.HouseholdEmailAddressModel. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.HouseholdEmailAddress. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.HouseholdPhoneModel. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.HouseholdPhone. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.Household. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.MembershipPlanModel. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.MembershipPlanFeatureModel. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.MembershipPlanFeature. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.MembershipPlan. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.ProspectModel. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.Prospect. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.Prospects_HouseholdsModel. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.Prospects_Households. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.UserMembershipModel. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.UserMembershipInfoModel. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.UserMembershipInfo. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.UserMembership. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.UserinfoModel. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.Userinfo. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.Users_HouseholdsModel. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.Users_Households. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.Users_UserMembershipModel. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.model.Users_UserMembership. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.service.AddressInfoLocalService. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.service.AddressInfoPhoneLocalService. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.service.AddressInfoPhoneService. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.service.AddressInfoService. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.service.HouseholdLocalService. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.service.HouseholdService. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.service.MembershipPlanFeatureLocalService. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.service.MembershipPlanFeatureService. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.service.MembershipPlanLocalService. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.service.MembershipPlanService. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.service.ProspectLocalService. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.service.ProspectService. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.service.Prospects_HouseholdsLocalService. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.service.Prospects_HouseholdsService. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.service.UserMembershipInfoLocalService. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.service.UserMembershipInfoService. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.service.UserMembershipLocalService. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.service.UserMembershipService. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.service.UserinfoLocalService. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.service.UserinfoService. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.service.Users_HouseholdsLocalService. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.service.Users_HouseholdsService. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.service.Users_UserMembershipLocalService. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class mm.service.builder.service.Users_UserMembershipService. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations.]
:modules:mm-service-builder:mm-service-builder-service:compileJavaD:\Liferay_7_Tomcat\Workspace\Serality\modules\mm-service-builder\mm-service-builder-service\src\main\java\mm\service\builder\service\base\HouseholdLocalServiceBaseImpl.java:328: error: cannot find symbol
userPersistence.addHousehold(userId, householdId);
^
symbol: method addHousehold(long,long)
location: variable userPersistence of type UserPersistence
D:\Liferay_7_Tomcat\Workspace\Serality\modules\mm-service-builder\mm-service-builder-service\src\main\java\mm\service\builder\service\base\HouseholdLocalServiceBaseImpl.java:335: error: cannot find symbol
userPersistence.addHousehold(userId, household);
^
symbol: method addHousehold(long,Household)
location: variable userPersistence of type UserPersistence
D:\Liferay_7_Tomcat\Workspace\Serality\modules\mm-service-builder\mm-service-builder-service\src\main\java\mm\service\builder\service\base\HouseholdLocalServiceBaseImpl.java:342: error: cannot find symbol
userPersistence.addHouseholds(userId, householdIds);
^
symbol: method addHouseholds(long,long[])
location: variable userPersistence of type UserPersistence
D:\Liferay_7_Tomcat\Workspace\Serality\modules\mm-service-builder\mm-service-builder-service\src\main\java\mm\service\builder\service\base\HouseholdLocalServiceBaseImpl.java:349: error: cannot find symbol
userPersistence.addHouseholds(userId, households);
^
symbol: method addHouseholds(long,List<household>)
location: variable userPersistence of type UserPersistence
D:\Liferay_7_Tomcat\Workspace\Serality\modules\mm-service-builder\mm-service-builder-service\src\main\java\mm\service\builder\service\base\HouseholdLocalServiceBaseImpl.java:356: error: cannot find symbol
userPersistence.clearHouseholds(userId);
^
symbol: method clearHouseholds(long)
location: variable userPersistence of type UserPersistence
D:\Liferay_7_Tomcat\Workspace\Serality\modules\mm-service-builder\mm-service-builder-service\src\main\java\mm\service\builder\service\base\HouseholdLocalServiceBaseImpl.java:363: error: cannot find symbol
userPersistence.removeHousehold(userId, householdId);
^
symbol: method removeHousehold(long,long)
location: variable userPersistence of type UserPersistence
D:\Liferay_7_Tomcat\Workspace\Serality\modules\mm-service-builder\mm-service-builder-service\src\main\java\mm\service\builder\service\base\HouseholdLocalServiceBaseImpl.java:370: error: cannot find symbol
userPersistence.removeHousehold(userId, household);
^
symbol: method removeHousehold(long,Household)
location: variable userPersistence of type UserPersistence
D:\Liferay_7_Tomcat\Workspace\Serality\modules\mm-service-builder\mm-service-builder-service\src\main\java\mm\service\builder\service\base\HouseholdLocalServiceBaseImpl.java:377: error: cannot find symbol
userPersistence.removeHouseholds(userId, householdIds);
^
symbol: method removeHouseholds(long,long[])
location: variable userPersistence of type UserPersistence
D:\Liferay_7_Tomcat\Workspace\Serality\modules\mm-service-builder\mm-service-builder-service\src\main\java\mm\service\builder\service\base\HouseholdLocalServiceBaseImpl.java:384: error: cannot find symbol
userPersistence.removeHouseholds(userId, households);
^
symbol: method removeHouseholds(long,List<household>)
location: variable userPersistence of type UserPersistence
D:\Liferay_7_Tomcat\Workspace\Serality\modules\mm-service-builder\mm-service-builder-service\src\main\java\mm\service\builder\service\base\HouseholdLocalServiceBaseImpl.java:402: error: cannot find symbol
return userPersistence.getHouseholds(userId);
^
symbol: method getHouseholds(long)
location: variable userPersistence of type UserPersistence
D:\Liferay_7_Tomcat\Workspace\Serality\modules\mm-service-builder\mm-service-builder-service\src\main\java\mm\service\builder\service\base\HouseholdLocalServiceBaseImpl.java:409: error: cannot find symbol
return userPersistence.getHouseholds(userId, start, end);
^
symbol: method getHouseholds(long,int,int)
location: variable userPersistence of type UserPersistence
D:\Liferay_7_Tomcat\Workspace\Serality\modules\mm-service-builder\mm-service-builder-service\src\main\java\mm\service\builder\service\base\HouseholdLocalServiceBaseImpl.java:417: error: cannot find symbol
return userPersistence.getHouseholds(userId, start, end,
^
symbol: method getHouseholds(long,int,int,OrderByComparator<household>)
location: variable userPersistence of type UserPersistence
D:\Liferay_7_Tomcat\Workspace\Serality\modules\mm-service-builder\mm-service-builder-service\src\main\java\mm\service\builder\service\base\HouseholdLocalServiceBaseImpl.java:425: error: cannot find symbol
return userPersistence.getHouseholdsSize(userId);
^
symbol: method getHouseholdsSize(long)
location: variable userPersistence of type UserPersistence
D:\Liferay_7_Tomcat\Workspace\Serality\modules\mm-service-builder\mm-service-builder-service\src\main\java\mm\service\builder\service\base\HouseholdLocalServiceBaseImpl.java:432: error: cannot find symbol
return userPersistence.containsHousehold(userId, householdId);
^
symbol: method containsHousehold(long,long)
location: variable userPersistence of type UserPersistence
D:\Liferay_7_Tomcat\Workspace\Serality\modules\mm-service-builder\mm-service-builder-service\src\main\java\mm\service\builder\service\base\HouseholdLocalServiceBaseImpl.java:439: error: cannot find symbol
return userPersistence.containsHouseholds(userId);
^
symbol: method containsHouseholds(long)
location: variable userPersistence of type UserPersistence
D:\Liferay_7_Tomcat\Workspace\Serality\modules\mm-service-builder\mm-service-builder-service\src\main\java\mm\service\builder\service\base\HouseholdLocalServiceBaseImpl.java:446: error: cannot find symbol
userPersistence.setHouseholds(userId, householdIds);
^
symbol: method setHouseholds(long,long[])
location: variable userPersistence of type UserPersistence
D:\Liferay_7_Tomcat\Workspace\Serality\modules\mm-service-builder\mm-service-builder-service\src\main\java\mm\service\builder\service\impl\UserMembershipLocalServiceImpl.java:96: error: cannot find symbol
householdList = UserUtil.getHouseholds(userId);
^
symbol: method getHouseholds(long)
location: class UserUtil
D:\Liferay_7_Tomcat\Workspace\Serality\modules\mm-service-builder\mm-service-builder-service\src\main\java\mm\service\builder\service\impl\UserMembershipLocalServiceImpl.java:108: error: cannot find symbol
householdList = UserUtil.getHouseholds(primaryUserId);
^
symbol: method getHouseholds(long)
location: class UserUtil
D:\Liferay_7_Tomcat\Workspace\Serality\modules\mm-service-builder\mm-service-builder-service\src\main\java\mm\service\builder\service\impl\UserMembershipLocalServiceImpl.java:208: error: cannot find symbol
householdList = UserUtil.getHouseholds(userId);
^
symbol: method getHouseholds(long)
location: class UserUtil
D:\Liferay_7_Tomcat\Workspace\Serality\modules\mm-service-builder\mm-service-builder-service\src\main\java\mm\service\builder\service\impl\UserMembershipLocalServiceImpl.java:355: error: cannot find symbol
userMembershipPersistence.addUser(userMembershipId, userId);
^
symbol: method addUser(long,long)
location: variable userMembershipPersistence of type UserMembershipPersistence
Note: D:\Liferay_7_Tomcat\Workspace\Serality\modules\mm-service-builder\mm-service-builder-service\src\main\java\mm\service\builder\service\impl\HouseholdLocalServiceImpl.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
20 errors
FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':modules:mm-service-builder:mm-service-builder-service:compileJava'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 9.241 secs
</household></household></household>
David H Nebinger, modificado 7 Anos atrás.
RE: Error when running service (SB) - Liferay 7
Liferay Legend Postagens: 14914 Data de Entrada: 02/09/06 Postagens Recentes
You should not use userPersistence. Use userLocalService instead.
Revathi Vadlamudi, modificado 7 Anos atrás.
RE: Error when running service (SB) - Liferay 7
Junior Member Postagens: 82 Data de Entrada: 14/11/14 Postagens Recentes
Can I give mapping table for user ?
David H Nebinger, modificado 7 Anos atrás.
RE: Error when running service (SB) - Liferay 7 (Resposta)
Liferay Legend Postagens: 14914 Data de Entrada: 02/09/06 Postagens Recentes
No. You cannot map your entities to Liferay entities because it crosses too many class loader boundaries. Instead do a mapping table to userIds.
Revathi Vadlamudi, modificado 7 Anos atrás.
RE: Error when running service (SB) - Liferay 7
Junior Member Postagens: 82 Data de Entrada: 14/11/14 Postagens Recentes
Ok. Thank you David