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![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Erik Gratz](https://uploads.teamtreehouse.com/production/profile-photos/10011562/micro_team-erikg.jpg)
Erik Gratz
19,266 PointsGetting Execution failed for task ':bootRun'
The stack trace keeps pointing to the SpringApplication.run(AppConfig.class, args); line in AppConfig.java. I have no idea how to fix this, my code looks identical to the video, its just running with modern updates.
1 Answer
![Unsubscribed User](https://uploads.teamtreehouse.com/production/profile-photos/9968522/micro_Profile.jpg)
Unsubscribed User
15,444 PointsIt seems as though the port 8080 is already being used.
Try adding a new file to src/main/resources
called application.properties
with the following code:
server.port = 1234
Set 1234
to the desired port number, or set to 0 for a random port number.