<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>buildCSS shows warning about NOP slf4j logging binding</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=119021717" />
  <subtitle>buildCSS shows warning about NOP slf4j logging binding</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=119021717</id>
  <updated>2026-04-05T22:36:42Z</updated>
  <dc:date>2026-04-05T22:36:42Z</dc:date>
  <entry>
    <title>RE: buildCSS shows warning about NOP slf4j logging binding</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119312233" />
    <author>
      <name>Michael Green</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119312233</id>
    <updated>2020-06-04T03:25:19Z</updated>
    <published>2020-06-04T03:25:19Z</published>
    <summary type="html">Thanks Gregory and Yanan. </summary>
    <dc:creator>Michael Green</dc:creator>
    <dc:date>2020-06-04T03:25:19Z</dc:date>
  </entry>
  <entry>
    <title>RE: buildCSS shows warning about NOP slf4j logging binding</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119309271" />
    <author>
      <name>Ashley Yuan</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119309271</id>
    <updated>2020-06-03T14:48:26Z</updated>
    <published>2020-06-03T14:48:26Z</published>
    <summary type="html">Hello Michael,&lt;br /&gt;&lt;br /&gt;Thanks for bringing up the problem. I&amp;#39;ve created the ticket https://issues.liferay.com/browse/IDE-4798, and we&amp;#39;ve fixed the problem you&amp;#39;ve run into, which will be included in the next 3.9 Milestone 1 release officially.&lt;br /&gt;Please let us know if anything else and I will share the updatesite file if you would like to try the 3.9 M1 SNAPSHOT version.</summary>
    <dc:creator>Ashley Yuan</dc:creator>
    <dc:date>2020-06-03T14:48:26Z</dc:date>
  </entry>
  <entry>
    <title>RE: buildCSS shows warning about NOP slf4j logging binding</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119302667" />
    <author>
      <name>Greg Amerson</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119302667</id>
    <updated>2020-06-03T03:30:21Z</updated>
    <published>2020-06-03T03:30:21Z</published>
    <summary type="html">Thanks for the detail,  We will followup soon.</summary>
    <dc:creator>Greg Amerson</dc:creator>
    <dc:date>2020-06-03T03:30:21Z</dc:date>
  </entry>
  <entry>
    <title>RE: buildCSS shows warning about NOP slf4j logging binding</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119302485" />
    <author>
      <name>Michael Green</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119302485</id>
    <updated>2020-06-02T23:29:43Z</updated>
    <published>2020-06-02T23:29:43Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;The cssBuilder error is not producible with the latest version of blade, gradle and IDE.&amp;nbsp;&amp;nbsp;&lt;br&gt;This is just the starting point the&amp;nbsp;other errors listed in&amp;nbsp;&lt;a href="https://github.com/micko920/liferay-tests"&gt;https://github.com/micko920/liferay-tests&lt;/a&gt;&amp;nbsp;The steps:&lt;ol style="list-style: decimal outside;" start="1"&gt;&lt;li&gt;Open the IDE and create a blank New Liferay Workspace&amp;nbsp;&lt;br&gt;&lt;ol style="list-style: decimal outside;" start="1"&gt;&lt;li&gt;Use the latest version 7.3 and 7.3.0 in the Liferay Version and Target Version&lt;/li&gt;&lt;li&gt;Click the download liferay bundle and use the link for 7.3.2-ga2&amp;nbsp;&amp;nbsp;&lt;a href="https://releases-cdn.liferay.com/portal/7.3.2-ga3/liferay-ce-portal-tomcat-7.3.2-ga3-20200519164024819.tar.gz"&gt;https://releases-cdn.liferay.com/portal/7.3.2-ga3/liferay-ce-portal-tomcat-7.3.2-ga3-20200519164024819.tar.gz&lt;/a&gt;&lt;/li&gt;&lt;li&gt;The issues do not happen if the download liferay bundle url is left as the default 7.3.0-ga1&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li&gt;&amp;nbsp;Add a new ServiceBuilder project&lt;/li&gt;&lt;li&gt;perform BuildService task&lt;/li&gt;&lt;li&gt;perform Build task&lt;/li&gt;&lt;li&gt;deploy service builder module to server instance&lt;/li&gt;&lt;li&gt;Once the Server is up and the module deployed and started an error will show up "Could not create output jar" see attach images&lt;/li&gt;&lt;/ol&gt;&lt;br&gt;Workaround:Change the target version in the gradle.properties file to match the bundle.&amp;nbsp; &lt;br&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt;liferay.workspace.target.platform.version = 7.3.2
&lt;/code&gt;&lt;/pre&gt;&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Michael Green</dc:creator>
    <dc:date>2020-06-02T23:29:43Z</dc:date>
  </entry>
  <entry>
    <title>RE: buildCSS shows warning about NOP slf4j logging binding</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119302021" />
    <author>
      <name>Greg Amerson</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119302021</id>
    <updated>2020-06-02T20:52:48Z</updated>
    <published>2020-06-02T20:52:48Z</published>
    <summary type="html">&amp;#34;So long story short, it is a config error caused by the IDE and can be fixed by overriding the value on the gradle.properties.&amp;#34;&lt;br /&gt;Can you post a followup with a list of steps how to reproduce this?  @ashley could you follow up with creating a ticket that we could track?  Thanks Michael</summary>
    <dc:creator>Greg Amerson</dc:creator>
    <dc:date>2020-06-02T20:52:48Z</dc:date>
  </entry>
  <entry>
    <title>RE: buildCSS shows warning about NOP slf4j logging binding</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119294958" />
    <author>
      <name>Michael Green</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119294958</id>
    <updated>2020-06-02T09:23:19Z</updated>
    <published>2020-06-02T09:23:19Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;So in the process of making a cut down version and a store in git I think I have worked out the issues.&lt;br&gt;&lt;br&gt;&lt;br&gt;The IDE creates a gradle.properties file with:&lt;br&gt; &lt;pre&gt;&lt;code&gt;liferay.workspace.target.platform.version = 7.3.0&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;This causes the gradle and blade build tools to use the old library and tool config. This can not be changed in the IDE as it only lets you set 7.3 without an option for 7.3.X.&lt;br&gt;&lt;br&gt;This is probably the cause of a lot of the other posts I have made.&lt;br&gt;&lt;br&gt;So long story short, it is a config error caused by the IDE and can be fixed by overriding the value on the gradle.properties.&lt;br&gt;&lt;br&gt;For interest I have add the script I used to cycle through the different versions :https://github.com/micko920/liferay-tests&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Michael Green</dc:creator>
    <dc:date>2020-06-02T09:23:19Z</dc:date>
  </entry>
  <entry>
    <title>RE: buildCSS shows warning about NOP slf4j logging binding</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119287642" />
    <author>
      <name>Michael Green</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119287642</id>
    <updated>2020-06-01T06:30:35Z</updated>
    <published>2020-06-01T06:30:35Z</published>
    <summary type="html">Oh and thanks for following up my posts. </summary>
    <dc:creator>Michael Green</dc:creator>
    <dc:date>2020-06-01T06:30:35Z</dc:date>
  </entry>
  <entry>
    <title>RE: buildCSS shows warning about NOP slf4j logging binding</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119287571" />
    <author>
      <name>Michael Green</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119287571</id>
    <updated>2020-06-01T06:30:05Z</updated>
    <published>2020-06-01T06:30:05Z</published>
    <summary type="html">blade version 3.9.2.202004101340&lt;br /&gt;&lt;br /&gt;$ ./gradlew --version&lt;br /&gt;&lt;br /&gt;------------------------------------------------------------&lt;br /&gt;Gradle 5.6.4&lt;br /&gt;------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;Build time:   2019-11-01 20:42:00 UTC&lt;br /&gt;Revision:     dd870424f9bd8e195d614dc14bb140f43c22da98&lt;br /&gt;&lt;br /&gt;Kotlin:       1.3.41&lt;br /&gt;Groovy:       2.5.4&lt;br /&gt;Ant:          Apache Ant(TM) version 1.9.14 compiled on March 12 2019&lt;br /&gt;JVM:          11.0.2 (Oracle Corporation 11.0.2+9-Debian-3bpo91)&lt;br /&gt;OS:           Linux 4.9.0-8-amd64 amd64&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Sure thing I will get something for you in the next couple of days.Also I have just repeated the guestbook tute with the next IDE, liferay portal and I still get this error .</summary>
    <dc:creator>Michael Green</dc:creator>
    <dc:date>2020-06-01T06:30:05Z</dc:date>
  </entry>
  <entry>
    <title>RE: buildCSS shows warning about NOP slf4j logging binding</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119082146" />
    <author>
      <name>Greg Amerson</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119082146</id>
    <updated>2020-05-01T16:27:08Z</updated>
    <published>2020-05-01T16:27:08Z</published>
    <summary type="html">Hello Michael,&lt;br /&gt;Thanks for this report.  However, I was unable to reproduce the problem you are describing.  Can you share with me a standalone workspace repo (on github?) where I could see this?  I&amp;#39;m wondering if its a particular version of gradle/workspace that is causing this to show up.</summary>
    <dc:creator>Greg Amerson</dc:creator>
    <dc:date>2020-05-01T16:27:08Z</dc:date>
  </entry>
  <entry>
    <title>buildCSS shows warning about NOP slf4j logging binding</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119021716" />
    <author>
      <name>Michael Green</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119021716</id>
    <updated>2020-04-24T01:26:55Z</updated>
    <published>2020-04-24T01:26:55Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Liferay IDE&amp;nbsp;Version: 3.8.0.202002250521-ga1&lt;br&gt;Liferay 7.3.1 ga2&lt;br&gt;&lt;br&gt;A note for other newbies, I was getting this warning from the buildCSS gradle task. Following the link in the error text only&amp;nbsp;describes adding the jar to the classpath and a lot of the google results talk about adding a dependency for your project . Not really anything on how to fix this for the gradle plugin.&amp;nbsp; So I went down a lot of dead ends before I found the answer.&lt;br&gt;&lt;pre&gt;&lt;code&gt;&amp;amp;gt; Task :modules:guestbook-web: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 /META-INF/resources/css/main.scss in 336ms
&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;Answer: Add the following line to the build.gradle file of the module project.&lt;pre&gt;&lt;code&gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;cssBuilder group: "org.slf4j", &amp;amp;nbsp; name: "slf4j-simple", version:"1.7.10"
&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;Do not put it in the top level build.gradle file of the liferay workspace. This will produce the error:&lt;br&gt;&lt;pre&gt;&lt;code&gt;* What went wrong:
A problem occurred evaluating root project 'gb'.
&amp;amp;gt; Could not find method cssBuilder() for arguments [{group=org.slf4j, name=slf4j-simple, version=1.7.10}] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
&lt;/code&gt;&lt;/pre&gt;&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Michael Green</dc:creator>
    <dc:date>2020-04-24T01:26:55Z</dc:date>
  </entry>
</feed>
