Search Results

All Results 611
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
Service Builder not compiling correctly using Maven after the upgrade: ArgumentsResolver is not found in com.liferay.portal.kernel.dao.orm
Issue After upgrading from DXP 7.0 to 7.3 we are having the error "ArgumentsResolver is not found in com.liferay.portal.kernel.dao.orm" if we try to recompile our service builder services using Maven: [ERROR]...
Build error while doing buildService
Issue User gets below error when doing buildService outside the *-service module: FAILURE: Build failed with an exception. * What went wrong: Some problems were found with the configuration of task...
Object Mapping: No object 'type' for an upload field
Issue Having created a new object, we can then create a new field. This example shows a new field for 'date' and is assigned the Type* Date When creating a field for a file upload, there is no applicable Type* that...
Exporting an empty package 'com.liferay.training.servicebuilder.gradebook.exception'
Issue I have tried to follow this tutorial: Back-End Developer - DXP 7.1 → Exercises: Create the Gradebook Service Layer - Steps 8-10, When I try to deploy by dragging the project to the Liferay server, I get the...
Which is the most convenient tooling to create and build new themes?
Issue It is common among users being in doubt about which is the most suitable way to create and build new themes. Two main ways of doing this are available: Using Liferay Blade or Liferay Developer Studio, which...
How to resolve slow Liferay PaaS build times when including many React modules
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue We're seeing consistent build failures (typically due to...
"Unable to get product info for: dxp-7.3-sp2" error
Issue The liferay.workspace.product=dxp-7.3-sp2 setting in Liferay Workspace's gradle.properties file suddenly started to throw an error like: A problem occurred configuring root project '...'. > Unable to...
Unable to create Liferay Module Project Fragment in LDS
Issue When trying to create a Liferay Module Project Fragment it will ask to set valid Liferay portal runtime as follows: Please set a valid liferay portal runtime, you can initBundle or modify...
could not resolve all artifacts for configuration 'classpath'
Issue The error "could not resolve all artifacts for configuration 'classpath'" occurs during the time of Liferay workspace creation using LDS and not able to process further. Environment Liferay DXP 7.2, DXP 7.3 LDS...
Invalid checksum error when initializing Liferay bundle
Issue After defining the liferay.workspace.bundle.url property in the gradle.properties file, running a Gradle Task to initialize the bundle fails with the following error: Execution failed for task ':verifyBundle'. >...
Developer Studio suddenly crashes
Issue Developer Studio closes by itself after some time with an OutOfMemory error or without any errors at all.  Environment Developer Studio 3.9.3 JDK 11.0.8 Resolution This problem can be experienced when...
Module projects cannot be created outside a Liferay workspace
Issue Before, I was able to create a module project outside a Liferay workspace. However, now I see a warning that I need a Liferay workspace: Environment Liferay Developer Studio Resolution This is an intentional change...
Unexpected error while installing Xuggler: Unable to install jar
Issue Trying to install Xuggler as an external service results in an error similar to Error: An unexpected error occurred while installing Xuggler: Unable to install jar xuggle-xuggler-arch-x86_64-pc-linux-gnu.jar...
Cannot create war-core-ext due to "could not get unknown property 'portal'" error
Issue When building a new module project based on the war-core-ext template, the build fails due to the following error: What went wrong: A problem occurred evaluating project ':ext:gwext'. > Could not get unknown...
React JS widget created with the Liferay JS Yeoman tool does not handle single or double quotes properly
Issue When saving a configuration field with a React JS widget created with Liferay JS Yeoman tool, the following browser console error may be observed, and the configuration does not save successfully. Uncaught...
Is there any style guide or predefined rules for SonarQube?
Issue I want to develop my code as true as possible to Liferay code using the SonarQube tool. Is there any style guide or predefined rules for Sonar Qube? Environment Liferay DXP 7.0+ Resolution We do not use...
Where to place pre-startup scripts in Liferay Workspace
Issue We are building Docker images so we run the task "gradle buildDockerImage" to build our image. We would like to know the following: Where do we have to place in our workspace "pre-startup" scripts? We...
Adding a valid liferay runtime in Dev Studio
Issue When attempting to create a Liferay Module Project Fragment, I'm encountering the following error: "Please set a valid liferay portal runtime, you can initBundle or modify 'liferay.workspace.home.dir' to make it...
SSLHandshakeException handshake_failure after updating Liferay Workspace
Issue SSLHandshakeException handshake_failure is thrown after updating the Liferay Workspace version, as shown below: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure at...
Custom module created from form-field template not working as expected
Issue I created a custom form field using the form-field template in Developer Studio, but when I deploy the module, the form field is not working as expected. The form field does not render and the form never...
'Failed to run platform init' error when installing Developer Studio
Issue When running the Dev Studio Installer, I encountered an error that looks like the following: Problem running post-install step. Installation may not complete correctly Error running C:/Program...
Liferay Gradle plugin is not compatible with gradle 6.0+
Issue When building a service using Service Builder, I encounter the following error: A problem occurred configuring project ':modules:test:test-api'. > Failed to apply plugin class...
Errors Updating Liferay Workspace
Issue I'm running into errors when attempting to update my Liferay Workspace to a higher version. Environment Liferay Developer Studio Liferay Workspace with Gradle Build Resolution If your project does not build or...
Cannot read property 'help' of undefined error when trying to upgrade a theme to Liferay DXP 7.2
Issue While following this tutorial: https://help.liferay.com/hc/en-us/articles/360029005512-Upgrading-Your-Theme-from-Liferay-Portal-7-0-to-7-2, users may encounter the below error: $ gulp upgrade...
Can I use Java 11 in Jenkins to build 7.2 projects?
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue Liferay DXP 7.2 is compatible with JDK11, how can I have...
Can't find npm jQuery portlet template for DXP 7.2 in Dev Studio
Issue I want to create a Liferay Module project for DXP 7.2 using the npm jQuery portlet template, but I am unable to find the template in the drop down: Environment Liferay Developer Studio  DXP 7.2 Resolution The npm...
Dev Studio 3.9.0 does not start up with macOS Big Sur
Issue Due to an issue with the bundled version of Eclipse, Dev Studio 3.9.0 on macOS Big Sur fails to start up, showing an error message "Alert: Failed to create the Java Virtual Machine." Environment Dev Studio 3.9.0...
Liferay DXP 7.0 Theme Generator installation fails with Missing required argument #1 | EMISSINGARG
Issue While following the Liferay documentation about 7.0 DXP theme building with the Theme Generator, the following error will be thrown on Terminal when running npm install -g yo gulp: npm ERR! Windows_NT...
Can I use the Target Platform BOM to include the correct biz.aQute.bndlib version?
Issue When using the Target Platform functionality in a Liferay Workspace (to use the dependencies from the target version's BOM) to try to include the biz.aQute.bndlib in a 7.2 dxp-5 custom module, it fails to...
nodejs download fails due to invalid link
Issue Customers may encounter failures using Gradle v.4 + Workspace. Here is the relevant stacktrace exception: > Task :downloadNode FAILED Trying to download...
Can I use JDK 11 for compiling Liferay DXP Projects?
Issue The Compatibility Matrix for versions 7.0 until 7.3 under the heading JDK mentions Java 11 but says: "JDK Certification is for runtime only. JDK 8 is required to build or compile Liferay DXP Projects" For 7.4...
Liferay Workspace Target Versions
A Liferay Workspace is a generated environment that is built to hold and manage your Liferay projects. Please see the official documentation for further instructions on Creating a Liferay Workspace.  Resolution You can...
Installing Liferay Project SDK on Windows results in error java.io.FileNotFoundException
Issue When trying to install Liferay Project SDK on Windows the last part of the installation is canceled with the error message below: Problem running post-install step. Installation may not complete...
Service Builder buildWSDD gradle task fails
Issue I created a service builder and added the followings to the settings.gradle: import com.liferay.gradle.plugins.service.builder.ServiceBuilderPlugin import...
Target Platform feature no longer works after updating the Gradle workspace
Issue Target Platform feature no longer works after updating the Gradle workspace Environment Liferay Gradle Workspace 2.0.3 or later Resolution Portal source indexing is disabled in Gradle workspace version...
A warning message appears when installing LiferayDeveloperStudio.
This article has been machine translated from its original language for your convenience. Please use discretion as this translation may include some inaccuracies. If you encounter issues with the translation, please...
Cannot build a theme created with blade: Sass::SyntaxError: Invalid CSS after "...nput-margin-x: "
Issue When creating a theme in the latest Developer Studio, the build fails with Sass::SyntaxError: Invalid CSS after "...nput-margin-x: ": expected expression (e.g. 1px, bold), was "!default;" Environment...
initBundle FAILED when creating a Liferay Workspace Project in Liferay Developer Studio with "Download Liferay bundle" option checked
Issue When creating a Liferay Workspace Project in Liferay Developer Studio with "Download Liferay bundle" option checked, the following initBundle FAILED error is reported in the console: CONFIGURE SUCCESSFUL in 15s...
Issue: An option to select the Liferay version is not available in Liferay Developer Studio
Issue While creating a workspace using LiferayDeveloperStudio-3.1.2, an option to select the Liferay version is not available in LDS. Environment LiferayDeveloperStudio-3.1.2-ga3-windows Liferay DXP 7.1 Resolution By...
The dependency versions are not removed by Liferay Upgrade Planner
Issue While upgrading code using Liferay Upgrade Planner, the dependency versions are not removed by Liferay Upgrade Planner after the step of "Remove Dependency Versions". Environment Liferay DXP 7.2 Liferay Dev Studio...
Gradle builds failing to complete
Issue When using Gradle my builds are failing to complete  Environment Liferay DXP 7.1 + Gradle ver. 4.10.2 Resolution Please try downgrading to Gradle ver. 3.5.1 and then repeating the full build process...
How to resolve Dev Studio "Could not create DXP download token" installation errors
Issue When trying to install Liferay Dev Studio, I get a UI error that states "Problem running post-install step. Installation may not complete correctly. Could not create DXP download token," and no files are...
Change of context between themes is not working as expected
Issue Changing pages using the navigation from Liferay won’t actually trigger a reload in the page. Instead, the content that is being displayed will change, and some of the resources and imports won’t actually be...
Error thrown while installing LDS
Issue While installing Liferay Developer Studio, after providing the email address and password when we click on Next, an error related to the token generation is thrown as shown below. Problem running...
I can't autodeploy in DeveloperStudio
Please be aware that the page you are viewing has been machine translated from Japanese into English and may contain some translation errors. If you observe any issues with the translation, please contact us. Issue On...
Known Issue: CSS Builder Versions Errors for War-style Projects
This article documents a known issue in the CSS Builder-3.0.0. This issue affects developers who are still using existing war-style (war-mvc-portlet or spring-mvc-portlet) projects and an older version of the CSS...
Unable to Update User Records Using UserLocalServiceUtil Class
Issue The root issue is that using user.persist(); more than once while attempting to update User data via the UserLocalServiceUtil class fails in DXP 7.1. Example of failed code: user =...
The Command getPortletPath(PortletDataContext portletDataContext) does not return portlet's path
Issue Using the command protected String getPortletPath(PortletDataContext portletDataContext) { return portletDataContext.getPortletPath("quizentry_WAR_aaaportlet"); } to retrieve a portlet's path does not work,...
Method Name Change for JournalTemplateServiceUtil.getStructureTemplates(groupId, structureId)
Issue In the past, developers could get the list of JournalTemplates in Portal 6.2 using JournalTemplateServiceUtil.getStructureTemplates(groupId, structureId) After renamed as DDMTemplate, the corresponding...
Troubleshooting Service Builder Blob Compile Issues
Issue Service builder with Blob and compound primary key throws compilation error. The console errors might look like this: [javac]...
Liferay Developer Studio 3.5.0 Release Highlights
Liferay Developer Studio provides an all-in-one, integrated development environment based on Eclipse for developers to build plugins for the Liferay Digital Experience Platform....
Liferay Maven Troubleshooting Guide
This article is a troubleshooting guide to assist with common errors in using Liferay Maven SDK. The information listed below is applicable to all Liferay Portal versions.  Resolution...
Blob Types Are Not Supported in Service Builder for Liferay Portal 6.1
This article is a legacy article. It applies to previous versions of the Liferay product. While the article is no longer maintained, the information may still be applicable. Blob types are not supported in plugins...
Error Message 'Invalid Code Length Set' When Creating a Theme Using Maven in LDS
This article documents a known issue where creating a theme using Maven in LDS may result in an error message: Invalid code length set. The root cause is that some dependencies are not downloaded completely. This article...
Blade Deploy Does Not Support WAR Files
Liferay's Blade CLI is an easy way for Liferay developers to create new Liferay modules. One of its features is to deploy modules, as described in the Deploying Modules with Blade CLI documentation....
Unable to Build a DXP 7.1 Theme in Developer Studio
This article documents a known issue when building a theme in DXP 7.1, using Developer Studio 3.3. Steps to Reproduce Start Liferay Developer Studio 3.3 with a 7.1 workspace project. Go to New --> Liferay Module...
DXP Features Summary
Liferay Digital Experience Platform (DXP) has been redesigned to include new functionality. The following list is a summary of what is new to Liferay DXP. Digital Experience Platform (DXP) Foundation OSGi Open...
Extension Environment Migration Tips
This article is a legacy article. It applies to previous versions of the Liferay product. While the article is no longer maintained, the information may still be applicable....
Using the 'getOriginalServlet' Function to Retrieve the Default Query String in DXP 7.0
This article serves as a reference guide on how to use the getOriginalServletRequest function to get the default queryString when using the OSGi framework. Developers familiar with Liferay Portal 6.2 EE and now using...
WeDeploy Auth Admin Portlet in Liferay DXP 7.0 Fix Packs
When deploying Liferay DXP 7.0 Fix Pack 24, 25, 26 or 27, the WeDeploy Auth Admin portlet will appear in the Control Panel. WeDeploy is currently a beta product. The addition of this portlet will have no impact or...