Why Eclipse - Tomcat 7 displays all text in red in the console

I am using Eclipse Kepler with Tomcat 7, I am just testing a simple JSP page (test.jsp). It works well in a browser, however all text in the console is displayed in red.

I checked the properties of Window / Preferences / (Run / Debug) and all the seams are in order.

The text from the console is as follows:

Jan 07, 2015 3:31:07 PM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Java\jdk1.8.0_05\jre\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;...etc Jan 07, 2015 3:31:08 PM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["http-bio-8080"] Jan 07, 2015 3:31:08 PM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["ajp-bio-8009"] Jan 07, 2015 3:31:08 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 1676 ms Jan 07, 2015 3:31:08 PM org.apache.catalina.core.StandardService startInternal INFO: Starting service Catalina Jan 07, 2015 3:31:08 PM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet Engine: Apache Tomcat/7.0.56 Jan 07, 2015 3:31:11 PM org.apache.catalina.util.SessionIdGenerator createSecureRandom INFO: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [1,076] milliseconds. Jan 07, 2015 3:31:12 PM org.apache.catalina.startup.HostConfig deployDescriptor INFO: Deploying configuration descriptor C:\MauricioFiles\ECLIPSE\Eclipse_JEE7_I\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\conf \Catalina\localhost\Servlets_JSP_chapter21_musicII.xml Jan 07, 2015 3:31:12 PM org.apache.catalina.startup.SetContextPropertiesRule begin WARNING: [SetContextPropertiesRule]{Context} Setting property 'source' to 'org.eclipse.jst.jee.server: Servlets_JSP_chapter21_musicII' did not find a matching property. Jan 07, 2015 3:31:12 PM org.apache.catalina.startup.HostConfig deployDescriptor INFO: Deployment of configuration descriptor C:\MauricioFiles\ECLIPSE\Eclipse_JEE7_I\.metadata\.plugins \org.eclipse.wst.server.core\tmp0\conf\Catalina\localhost\Servlets_JSP_chapter21_musicII.xml has finished in 862 ms Jan 07, 2015 3:31:12 PM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["http-bio-8080"] Jan 07, 2015 3:31:13 PM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["ajp-bio-8009"] Jan 07, 2015 3:31:13 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 4236 ms 

Is there something wrong with proyect or is there a way to display text in black (just an error in red)? Thank you very much.

+5
source share
1 answer

Text that is in red is written to the System.err stream, text in black is written to System.out . Nothing is inherently wrong; this is how the system differentiates output streams. You can customize the display to your liking by right-clicking on the console and selecting "Settings"

eclipse console preferense

+3
source

Source: https://habr.com/ru/post/1210606/


All Articles