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 Spring Basics Creating Controllers and Views Create a Controller to Handle HTTP Requests

File structure looks different.

In the video, the file structure looks like this:

main > java > com.teamtreehouse > giflib > appconfig

However, in my IntelliJ, it looks like this:

main > java > com.teamtreehouse.giflib
            > appconfig

No matter how many times I try, IntelliJ will not allow me to move the appconfig class INSIDE the giflib folder. The code runs but the difference looks strange to me. Why is it now different and why will IntelliJ not let me move one file inside the other?

Mary, you should just be able to click on appconfig and drop it into the giflib folder in the Project pane on the left. If not, right click on appconfig, cut the appconfig file and paste it into the giflib folder.

2 Answers

Hi Ayana,

I did try your suggestions but they didn't work for me. I realised I was making a mistake with naming my files, which was causing a problem. I've worked it out now by including the path name and also being careful about where I'm clicking to add folders. Thanks very much :-)

Oh fantastic! So happy you solved it!

Okay. I had the same problem but i figured it out