Message Boards

Unable To incude Vaadin in liferay 7 OSGI module Project gradle

Balu Bollam, modified 7 Years ago.

Unable To incude Vaadin in liferay 7 OSGI module Project gradle

New Member Posts: 21 Join Date: 10/23/16 Recent Posts
Hi Everyone,



I am trying to include Vaadin dependency jars in osgi "Liferay Module Project". with gradle ......But after Deploying the Module iam getting Error "Not able load the class "(the class which extends the UI class)...


--->I followed this process

*Created "Liferay Module Project" Using Gradle and created a lib folder inside that project and added vaadin jars[themes,server,client,jsoup] to that lib folder

*Added [compile fileTree(dir:"lib",include: "*.jar")] in build.gradle file to scan all the jars of the vaadin in lib folders.

*In bnd.bnd file added The dependncies
Import-Package:javax.portlet,/
javax.servlet,/
com.vaadin.ui,/
com.vaadin.server,/
com.vaadin.annotations,/
com.vaadin.data.util,/
com.vaadin.data


Followed the below link same process for vadinportlet extended class and ui extended class
https://web.liferay.com/web/sampsa.sohlman/blog/-/blogs/double-seven-vaadin-7-with-liferay-2

But After deploying the Module Getting Exception "Not able load the class PortletUI "[here PortletUI is class which extends the UI class]



Anyone please Help me out regarding this [OSGI module Project integration with vaadin 7.7.6 with gradle]
Thanks in advance



Thanks and Regards
Balu