I have searched for this problems few days now but can't seem to find the final solution.
The main problem is, that I deploy my portlet from the deploy folder of my tomcat directory, the .war file disappears and the portlet directory is created in the webapps folder. Now the tricky things start:
The log files of my tomcat shoot this lines:
[pool-2-thread-2][HotDeployEvent:109] Plugin MyFirstPortlet-portlet requires portal-compat-hook
[pool-2-thread-2][HotDeployImpl:233] Queueing MyFirstPortlet-portlet for deploy because it is missing portal-compat-hook
But the startup console for my liferay is telling me the deployment was successful. All the files are created in the right directory.
I already deleted the files in the temp- and work-folder of my tomcat, undeployed the portlet and even updated my liferay-sdk, nothing works though.
Can anybody help me with this?