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 9053251
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T13:22:47+00:00 2026-06-16T13:22:47+00:00

I just started reading "Pro Spring MVC with web flow" and it comes with

  • 0

I just started reading "Pro Spring MVC with web flow" and it comes with a code sample that I want to follow.

  • What I want – I want to build the applications as it’s done in the book, using Gradle
  • What is the problem – I have never used Gradle before and when I try to execute what I’m thinking I have to I get this error Task 'build' not found in root project
  • What have I done so far – Yesterday I downloaded Gradle from the official site and get it to work. Today when I actually tried to execute the steps from the book it turns out that the sample code comes with its own Gradle distribution and I executed it which I think followed to getting a second distribution of Gradle. However, I don’t know if this may be a problem or not. now my directory with the sample code looks like this:
    enter image description here

Then it’s written that I have to execute ../gradlew build which I execute like this and get the following:
enter image description here

  • What have I tried – The only thing that came to my mind was to leave only the Gradle’s stuff plus the appendixA-bookstore folder in case Gradle recognize all directories as different builds but no success.
  • What’s the final result that I want to accomplish – First I want to figure out where is my mistake and how to build the sample application(s). And also it would be perfect if I actually can do this from my first Gradle setup which as I wrote did yesterday and what exactly should I do to use this sample code with my fresh and original Gradle setup?
  • 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-06-16T13:22:48+00:00Added an answer on June 16, 2026 at 1:22 pm

    You didn’t do what you’re being asked to do.

    What is asked:

    I have to execute ../gradlew build

    What you do

    cd ..
    gradlew build
    

    That’s not the same thing.

    The first one will use the gradlew command found in the .. directory (mdeinum...), and look for the build file to execute in the current directory, which is (for example) chapter1-bookstore.

    The second one will execute the gradlew command found in the current directory (mdeinum...), and look for the build file to execute in the current directory, which is mdeinum....

    So the build file executed is not the same.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am an ETL developer by profession that just started reading The Pragmatic Programmer
I've just now started reading an Algorithms book that defined Graphs as follows: Graphs
I have just started reading about threading in C, using pthreads. I know that
I just started doing some reading (new to xcode/iphone development) into web services and
I have just started reading on implementing RESTful web services and creating RESTful apis.
I have just started reading Spring In Action - Third edition and am stuck
I just started reading on Douglas Crockford's Javascript The Good parts where he explains
I just started reading Hacker's Delight and it defines abs(-2 31 ) as -2
I have just started reading Modern C++ Design Generic programming and Design Patterns Applied
I have just started reading about ORMLite since I am interested in using it

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.