Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Java Weather App in Need of Tests

Timothy Boland
Timothy Boland
18,237 Points

When I click on bootRun, the bootRun tasks runs forever without completing and no error....it ran for 14 minutes before

I gave up. Does anybody know what could be going wrong

2 Answers

Alexander Nikiforov
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Alexander Nikiforov
Java Web Development Techdegree Graduate 22,175 Points

If I guess correctly, all you have to do is to 'Toggle tasks executions/text mode'

Because you are waiting for console output whereas all you see is some green circles ?

Am I right ?

Please read this Stack post for more

If does not help, post a screenshot ...

Timothy Boland
Timothy Boland
18,237 Points

yup...that is correct....and i can see a log now....i guess its something wrong with my gradle version?

2017-02-11 01:28:41.861 INFO 74291 --- [ main] com.teamtreehouse.Application : Started Application in 5.04 seconds (JVM running for 5.328) Could not execute build using Gradle distribution 'https://services.gradle.org/distributions/gradle-2.9-bin.zip'. 1:29:33 AM: External task execution finished 'bootRun'.

Alexander Nikiforov
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Alexander Nikiforov
Java Web Development Techdegree Graduate 22,175 Points

The line

Could not execute build using Gradle distribution 'https://services.gradle.org/distributions/gradle-2.9-bin.zip'. 1:29:33 AM: External task execution finished 'bootRun' 

is OK and usually comes when you Hit Stop the application.

I mean yeah some people on StackOverflow here are trying to do something about it.

But from experience: It DOES NOT harm any part of project or run or anything.

So I'd say ignoring is the best option.

I'll try to google, but I don't think I can come up with something...

When you run the application, i.e. hit 'Gradle Bootrun' in Gradle tasks, the last line that you should see is

2017-02-11 01:28:41.861 INFO 74291 --- [ main] com.teamtreehouse.Application : Started Application in 5.04 seconds (JVM running for 5.328)

After that you can go to browser and browse...

Other than that your log is just fine...

I don't see errors ...

stefan dumitru
stefan dumitru
305 Points

cute, gradle issues. Thanks for using gradle instead of maven like everyone else teamTreeHouse :(