0
votes

In Liferay Spring Mvc Project I am getting one error in liferay

Portlet not register

and the solution I got from net is

Remove portlet.jar from lib folder of project.

After removing portlet.jar file i got the error like

Context inilizatian failed(spring error)

Can you help me regarding this error?

1
show us a bit more of you console log.DDK
and tell us which version of liferay do you use.Martin Gamulin

1 Answers

0
votes

You must build portlet by using ant build, if you build to war file normally, portlet will not run. in the portlet project use the build.xml, then build it enter image description here