Using eclipse 4.4 with liferay and vaadin plugins:
- New → Project → Vaadin 6 Project
- enter name (I used “v6”), choose deployment “Generic portlet (Portlet 2.0)” and vaadin version 6.8.12
- check “Generate web.xml deployment descriptor”
- click “Finish”
- in “Servers” tab right-click “Liferay v6.2 ga5 (Tomcat 7) at localhost”
- Add and Remove → v6 → Add > → Finish
- Start the Server
“v6” doesn’t appear in list of portlets available to add to pages, in fact the portlet’s category “Vaadin” (from liferay-display.xml: ) doesn’t appear at all.
The only mention of “v6” in the log is:
INFO: Deploying web application directory /home/kf/liferay/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/webapps/v6
Apr 18, 2016 4:43:54 PM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Apr 18, 2016 4:43:54 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory /home/kf/liferay/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/webapps/v6 has finished in 555 ms
This should work as a portlet, right? What am I doing wrong?