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
Matthew Stanciu
4,222 PointsClass doesn't run properly and only one option appears under "applications
I don't understand why this is happening, but when I run the program, I don't see what Chris sees. I see a list of random things that are running and it never finishes. I do not see anything about a web server or the fancy "Spring" thing. Also, Chris gets multiple options under the "application" section in the Gradle menu. All I get is bootRun. Does anybody know why these things are happening to me?
Thanks!!
EDIT: I thought I asked this question directly from the course and lesson I was in, but it looks like I didn't. This question is in reference to the "Adding a Spring Configuration File" lesson in the "Spring Basics" Java course. Sorry if it caused any confusion.
Matthew Stanciu
4,222 PointsMy code is exactly the same as Chris's:
package net.extrillius.giflib;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
/**
* Created by TechBug2012 on 8/17/16.
*/
@EnableAutoConfiguration
public class AppConfig {
public static void main(String[] args) {
SpringApplication.run(AppConfig.class, args);
}
}
Here's an imgur link to what my IntelliJ looks like
1 Answer
Alexander Nikiforov
Java Web Development Techdegree Graduate 22,175 PointsYou application is working. All you have to do is to switch view. According to intellijidea it is called:
Toggle tasks executions/text mode.
Do you see small icon in the upper left corner of your run window with slash and letter "ab" click on it.
Here is a screenshot on stack overflow:
Matthew Stanciu
4,222 PointsThank you so much! That was a lot simpler than I thought.
Jason Anders
Treehouse Moderator 145,863 PointsJason Anders
Treehouse Moderator 145,863 PointsSharing your code (Refer to the Markdown CheatSheet for how to properly post code) will allow us to help you troubleshoot. Without seeing your code, we can't be much help.