Are tables created? I had a similar problem when I deleted tables manually. I thought they would be created again when the portlet was deployed, but this did not happen.
After examining the source code, I found that Liferay stores portlet information in the servicecomponent table and checks 2 things before it executes (pseudo) SQL in META-INF/tables.sql :
build.number in service.properties should be higher than in servicecomponent ,tables.sql must be different from the value stored in the servicecomponent .
Only then tables.sql is executed.
An easy way to achieve this is to delete all entries in the servicecomponent addressed to your portlet.
Ridcully
source share