vaadin / framework

Vaadin 6, 7, 8 is a Java framework for modern Java web applications.
http://vaadin.com/
Other
1.77k stars 729 forks source link

Support for Liferay 7.4.3 kernel version #12476

Closed mikke-alekstra closed 2 years ago

mikke-alekstra commented 2 years ago

Hello!

Liferay CE 7.4.3 GA4 was released last week. Liferay's kernel version number has been updated to 16.2.2 and there seems to be a depencency problem with Vaadin's server/bnd.bnd.

ERROR [fileinstall-directory-watcher][PortletBagFactory:291] java.lang.NoClassDefFoundError: com/vaadin/server/VaadinPortlet
java.lang.NoClassDefFoundError: com/vaadin/server/VaadinPortlet

I made a quick test and updated bnd.bnd to com.liferay.portal.kernel.util;resolution:=optional;version='[7.0.0,17.0.0)' and this seemed to fix the problem. The test was a minimal one where I had just one Vaadin button in a Liferay portlet but it worked fine after the bnd.bnd change.

I made the test with Vaadin 8.14.2.

Cheers!