RE: RE: Liferay 7.4 DevStudio issue

Olaf Kock, modified 1 Year ago. New Member Posts: 4 Join Date: 1/17/24 Recent Posts

Hello,

I just started with a fresh Dev Studio Installation on Windows 10.

I created a new Liferay Module Project as described in a lot of tutorials.

The Module is available and starts in the portal.

But I did not get the taglibs working. Warning in view.jsp: The tag handler class for "liferay-ui:message" (com.liferay.taglib.ui.MessageTag) was not found on the Java Build Path

The taglibs are correctly imported in the init.jsp

Nethertheless, the Strings from Language.properties are not there. Only the key will be shown.

Can anyone help here?

Thanks,

Christian

thumbnail
Olaf Kock, modified 1 Year ago. Liferay Legend Posts: 6441 Join Date: 9/23/08 Recent Posts

I'm assuming you're running in a Liferay Workspace(?)

Please provide

  • your workspace's gradle.properties and settings.gradle
  • your module's build.gradle
  • maybe a minimal version of your module to identify issues
  • if not mentioned in gradle.properties: The exact version you're targeting
Jamie Sammons, modified 1 Year ago. New Member Posts: 4 Join Date: 1/17/24 Recent Posts

Hello Olaf,

thanks for your fast answer. Here are the requested things:

gradle.properties:

##
## Check GETTING_STARTED.markdown for additional properties and their default
## values.
##

liferay.workspace.bundle.dist.include.metadata=true
liferay.workspace.modules.dir=modules
liferay.workspace.themes.dir=themes
liferay.workspace.wars.dir=modules
microsoft.translator.subscription.key=
liferay.workspace.product=portal-7.4-ga107

settings.gradle:

​​​​​​​

buildscript {
	dependencies {
		classpath group: "biz.aQute.bnd", name: "biz.aQute.bnd", version: "5.2.0"
		classpath(group: "com.liferay", name: "com.liferay.gradle.plugins.workspace", version: "4.0.5") {
			exclude group: "biz.aQute.bnd", module: "biz.aQute.bnd"
		}
		classpath group: "net.saliman", name: "gradle-properties-plugin", version: "1.4.6"
	}

	repositories {
		maven {
			url "https://repository-cdn.liferay.com/nexus/content/groups/public"
		}

		maven {
			url "https://repository.liferay.com/nexus/content/groups/public"
		}
	}
}

apply plugin: "net.saliman.properties"

apply plugin: "com.liferay.workspace"

build.gradle:

dependencies {
	compileOnly group: "com.liferay.portal", name: "release.portal.api"

	cssBuilder group: "com.liferay", name: "com.liferay.css.builder", version: "3.1.0"
}

 

The module is a pure "new Liferay Module Project" from Liferay Developer Studio without customization but I don´t know how to share here.

Regards,

Christian

Jamie Sammons, modified 1 Year ago. New Member Posts: 4 Join Date: 1/17/24 Recent Posts

https://we.tl/t-ZGBZIbT0Bz