Message Boards

After updateing liferay to 7.4 - com.liferay.journal.web does not exists

ali ahdab, modified 2 Years ago.

After updateing liferay to 7.4 - com.liferay.journal.web does not exists

New Member Posts: 7 Join Date: 7/14/21 Recent Posts

Hi, 

I had a module uses com.liferay.journal.web, version 1.5.4 , and was working on liferay 7.0 , I use the following class from

com.liferay.journal.web.asset.JournalArticleAssetRenderer;

 

however, now I am upgrading my liferay to 7.4 , which is used last version on com.liferay.journal

so I added com.liferay.journal.web to build.gradle  file for the module and changed the import from 

import com.liferay.journal.web.asset.JournalArticleAssetRenderer;


to 

import com.liferay.journal.web.internal.asset.model.JournalArticleAssetRenderer;

 

then I am able to build and compile the project, but when I deploy it to the tomcat I got runtime error: 

 

 

anyone knows why I am getting this error ?