1. Delete the “xxx-portlet-service.jar” from docroot/WEB-INF/lib folder
2. Delete all the files and folders inside WEB-INF/classes.
3. Delete “service” folder inside WEB-INF
4. Delete “model” folder from the src/com/package-path
5. Delete “base” and “persistence” folders inside package-path/service
6. Delete “META-INF” inside WEB-INF/src
7. Do ant-build-service of the portlet
8. Refresh the portlet.
2. Delete all the files and folders inside WEB-INF/classes.
3. Delete “service” folder inside WEB-INF
4. Delete “model” folder from the src/com/package-path
5. Delete “base” and “persistence” folders inside package-path/service
6. Delete “META-INF” inside WEB-INF/src
7. Do ant-build-service of the portlet
8. Refresh the portlet.