Issue
- After switching to JDK11 I'm unable to build my project.
- Build failed with an exception that lists a path to my java version.
Error: Could not find or load main class com.liferay.css.builder.CSSBuilder
Caused by: java.lang.ClassNotFoundException: com.liferay.css.builder.CSSBuilder
Environment
- Liferay Workspace
Resolution
- After switching to JDK11, the CSS Builder dependency needs to be updated from 3.x.x to 3.1.5 to complete the build process.
cssBuilder group: "com.liferay", name: "com.liferay.css.builder", version: "3.1.5"
Additional Information