Message Boards

Need help on testing the Product registration sample given in liferay in Ac

Chinnadurai Duraisami, modified 11 Years ago.

Need help on testing the Product registration sample given in liferay in Ac

New Member Posts: 20 Join Date: 11/28/12 Recent Posts
Hi All,
I am new to liferay. I have developed an product registration application as guided in Liferay in Action. I could not completely follow it as it started throwing errors. I could download plugins-lia from authors page which has product registration source in it. unfortuantely, i am not able to deploy it successfully. I have plugins sdk and liferay-portal setup with eclipse.

Please help me.

regards,
Chinna
thumbnail
Tanweer Ahmed ., modified 1 Year ago.

RE: Need help on testing the Product registration sample given in liferay i

Expert Posts: 322 Join Date: 3/11/10 Recent Posts
Hi Chinnadurai,

Please specify the errors which you are getting.

That will let community members to help you in a better way.

Regards,
Tanweer
Chinnadurai Duraisami, modified 11 Years ago.

RE: Need help on testing the Product registration sample given in liferay i

New Member Posts: 20 Join Date: 11/28/12 Recent Posts
Hi Tanweer Ahmed Ansari,
Thanks for your reply.

I am trying to test the app using my eclipse setup, I am able to run build ant tasks build-service and deploy successfully. It does not show any error. it displays "BUILD SUCCESSFUL". But he portlets are not getting reflected in Add-> more / control panel menus.

When i try to deploy it in cmd utility, it shows the following error,
[javac] 1. ERROR in C:\Chinna\Tools\liferay-plugins-sdk-6.1.1\portlets\produ
ct-registration-portlet\docroot\WEB-INF\service\com\productRegistration\productR
egistration.java (at line 3)
[javac] import com.liferay.util.bridges.mvc.MVCPortlet;
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The import com.liferay.util.bridges cannot be resolved
[javac] ----------
[javac] 2. ERROR in C:\Chinna\Tools\liferay-plugins-sdk-6.1.1\portlets\produ
ct-registration-portlet\docroot\WEB-INF\service\com\productRegistration\productR
egistration.java (at line 8)
[javac] public class productRegistration extends MVCPortlet {
[javac] ^^^^^^^^^^
[javac] MVCPortlet cannot be resolved to a type
[javac] ----------
[javac] 2 problems (2 errors)

BUILD FAILED

regards,
Chinnadurai