Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3494016
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T11:57:16+00:00 2026-05-18T11:57:16+00:00

I am currently following this tutorial to learn SPRING: http://static.springsource.org/docs/Spring-MVC-step-by-step/part1.html It all works, but

  • 0

I am currently following this tutorial to learn SPRING: http://static.springsource.org/docs/Spring-MVC-step-by-step/part1.html

It all works, but the Ant output always displays “STANDARD ERROR” with normal logging content which I assume is wrong.

$ ant tests
Buildfile: build.xml

build:

buildtests:

    [javac] Compiling 1 source file to /Users/Shared/Projects/springapp/war/WEB-INF/classes

tests:

    [junit] Running springapp.web.HelloWorldControllerTests
    [junit] Oct 30, 2007 11:31:43 PM springapp.web.HelloController handleRequest
    [junit] INFO: Returning hello view
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.03 sec
    [junit] Testsuite: springapp.web.HelloWorldControllerTests
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.03 sec
    [junit] ------------- Standard Error -----------------
    [junit] Oct 30, 2007 11:31:43 PM springapp.web.HelloController handleRequest
    [junit] INFO: Returning hello view
    [junit] ------------- ---------------- ---------------

BUILD SUCCESSFUL
Total time: 2 seconds

How can I change this behaviour? Logging output is not an error, or is it for Ant? Thanks for any ideas and clarification!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T11:57:17+00:00Added an answer on May 18, 2026 at 11:57 am

    Peeking at the linked tutorial, the ‘junit’ task looks like the below.

    Change it to showoutput="false" to hide the test output. I guess the tutorial switched it on so you could see what was happening, but usually its implicitly ‘false’ – the default if you omit the ‘showoutput’ attribute.

    <junit printsummary="on"
        fork="false"
        haltonfailure="false"
        failureproperty="tests.failed"
        showoutput="true">
        <classpath refid="master-classpath"/>
        <formatter type="brief" usefile="false"/>
    
        <batchtest>
            <fileset dir="${build.dir}">
                <include name="**/*Tests.*"/>
            </fileset>
        </batchtest>
    
    </junit>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been following the 'Netbeans E-Commerce tutorial', and have am currently on this step:
I am following the Spring-MVC tutorial and currently I am on part 2 .
I'm using Ubuntu 10, python 2.6.5 I'm following this tutorial: http://www.djangobook.com/en/2.0/chapter02 I followed all
Currently this expression I ([a-zA-z]\d]{3} returns when the following pattern is true: I AAA
i'm trying to make the following routes .. and currently i'm going about this
I am currently calling the following line of code: java.net.URL connection_url = new java.net.URL(http://<ip
I'm starting to use Role Management in my website, and I'm currently following this
I am currently trying to learn about OpenGL ES for the iPhone and following
I'm currently following a tutorial in a book, and it instructs to create a
I've been following this tutorial on how to implement a Silverlight application. The tutorial

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.