Portlet not getting deployed

后端 未结 7 785
粉色の甜心
粉色の甜心 2021-01-12 18:05

I have this strange problem at which I have spent stupid amount of time. To build my portlet, I haven\'t used sdk and I am using my own ant script do the job. It works all w

7条回答
  •  星月不相逢
    2021-01-12 18:31

    I am basically using a lot class from portal-service.jar to change role settings etc. When I include it in my build path and deploy it again. It doesn't get deployed. On shell it shows the deployment, below is the log:

    Did you put portal-service.jar to WEB-INF/lib? If so remove it from there and add it to some other (my_project/lib) directory than add it to build path.

    Also make sure that after deployment portal-service.jar is not in your deployed WEB-INF/lib. Better yet, first undeploy than redeploy.

提交回复
热议问题