Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Build theme project create APPCRASH issue
Hi,
I am creating a theme project using the Liferay plugin in eclipse. I have followed the steps as mention by other community members, but whenever I am trying to build the project it show me "Task :buildCSS FAILED " and my java shows APPCRASH exception. Kindly provide any solution if anyone resolve this issue. I am using "jdk1.8.0_171". Below is my exception.> Task :buildTheme UP-TO-DATE
> Task :compileJava NO-SOURCE
> Task :buildCSS
Using native Sass compiler
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Parsed /css/clay/atlas-variables.scss in 1583ms
Parsed /css/clay/atlas.scss in 6827ms
Parsed /css/clay/base-variables.scss in 353ms
Parsed /css/clay/base.scss in 5040ms
Parsed /css/clay/bootstrap/bootstrap-grid.scss in 264ms
Parsed /css/clay/bootstrap/bootstrap-reboot.scss in 80ms
Parsed /css/clay/bootstrap/bootstrap.scss in 897ms
Parsed /css/clay/bootstrap.scss in 1069ms
Parsed /css/clay/site/site-atlas-font-awesome.scss in 5407ms
Parsed /css/clay/site/site-lexicon-font-awesome.scss in 5359ms> Task :buildCSS FAILEDFAILURE: Build failed with an exception.* What went wrong:
Execution failed for task ':buildCSS'.
> Process 'command 'C:\Program Files (x86)\Java\jdk1.8.0_171\bin\java.exe'' finished with non-zero exit value -1073741819* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.* Get more help at https://help.gradle.orgDeprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.10.2/userguide/command_line_interface.html#sec:command_line_warningsBUILD FAILED in 1m 46s
2 actionable tasks: 1 executed, 1 up-to-date
I am creating a theme project using the Liferay plugin in eclipse. I have followed the steps as mention by other community members, but whenever I am trying to build the project it show me "Task :buildCSS FAILED " and my java shows APPCRASH exception. Kindly provide any solution if anyone resolve this issue. I am using "jdk1.8.0_171". Below is my exception.> Task :buildTheme UP-TO-DATE
> Task :compileJava NO-SOURCE
> Task :buildCSS
Using native Sass compiler
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Parsed /css/clay/atlas-variables.scss in 1583ms
Parsed /css/clay/atlas.scss in 6827ms
Parsed /css/clay/base-variables.scss in 353ms
Parsed /css/clay/base.scss in 5040ms
Parsed /css/clay/bootstrap/bootstrap-grid.scss in 264ms
Parsed /css/clay/bootstrap/bootstrap-reboot.scss in 80ms
Parsed /css/clay/bootstrap/bootstrap.scss in 897ms
Parsed /css/clay/bootstrap.scss in 1069ms
Parsed /css/clay/site/site-atlas-font-awesome.scss in 5407ms
Parsed /css/clay/site/site-lexicon-font-awesome.scss in 5359ms> Task :buildCSS FAILEDFAILURE: Build failed with an exception.* What went wrong:
Execution failed for task ':buildCSS'.
> Process 'command 'C:\Program Files (x86)\Java\jdk1.8.0_171\bin\java.exe'' finished with non-zero exit value -1073741819* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.* Get more help at https://help.gradle.orgDeprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.10.2/userguide/command_line_interface.html#sec:command_line_warningsBUILD FAILED in 1m 46s
2 actionable tasks: 1 executed, 1 up-to-date
Hi David,Thanks for ur suggestion, but I am already using the above solution and issue still persist. Kindly suggest what to do. PFB my "build.gradle" file.
buildscript {
dependencies {
classpath group: "com.liferay", name: "com.liferay.gradle.plugins.theme.builder", version: "2.0.5"
} repositories {
maven {
url "https://repository-cdn.liferay.com/nexus/content/groups/public"
}
}
}apply plugin: "com.liferay.portal.tools.theme.builder"dependencies {
parentThemes group: "com.liferay", name: "com.liferay.frontend.theme.styled", version: "3.0.4"
parentThemes group: "com.liferay", name: "com.liferay.frontend.theme.unstyled", version: "3.0.4" portalCommonCSS group: "com.liferay", name: "com.liferay.frontend.css.common", version: "3.0.1"
themeBuilder group: "com.liferay", name: "com.liferay.portal.tools.theme.builder", version: "1.1.6"
cssBuilder group: "com.liferay", name: "com.liferay.css.builder", version: "2.1.3"
}
buildscript {
dependencies {
classpath group: "com.liferay", name: "com.liferay.gradle.plugins.theme.builder", version: "2.0.5"
} repositories {
maven {
url "https://repository-cdn.liferay.com/nexus/content/groups/public"
}
}
}apply plugin: "com.liferay.portal.tools.theme.builder"dependencies {
parentThemes group: "com.liferay", name: "com.liferay.frontend.theme.styled", version: "3.0.4"
parentThemes group: "com.liferay", name: "com.liferay.frontend.theme.unstyled", version: "3.0.4" portalCommonCSS group: "com.liferay", name: "com.liferay.frontend.css.common", version: "3.0.1"
themeBuilder group: "com.liferay", name: "com.liferay.portal.tools.theme.builder", version: "1.1.6"
cssBuilder group: "com.liferay", name: "com.liferay.css.builder", version: "2.1.3"
}
Do you get the same error ?
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™