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 Local Development Environments Advanced Tooling Refactoring

Rob Bridges
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Rob Bridges
Full Stack JavaScript Techdegree Graduate 35,467 Points

Refactoring mSongQueue

Craig Dennis Not sure why this isn't working, Everything is refactored properly per the video and the program is running great. It must have to do with the file locations, This is the error I've been given

JavaTester.java:6: error: cannot access KaraokeMachine import com.teamtreehouse.KaraokeMachine; ^ bad source file: ./com/teamtreehouse/KaraokeMachine.java file does not contain class com.teamtreehouse.KaraokeMachine Please remove or make sure it appears in the correct subdirectory of the sourcepath.

But everything is the correct file, so maybe it's trying to pull from the wrong home directory? What can I do to have this pass. I've included a screenshot of my IDE terminal.

http://snag.gy/vWWm4.jpg

Thanks.

Hey Rob, me lost on this challenge, may you explain to me how we are supposed to tackle this challenge.

Hey Rob, me lost on this challenge, may you explain to me how we are supposed to tackle this challenge.

1 Answer

Craig Dennis
STAFF
Craig Dennis
Treehouse Teacher

Your package is off. It should be com.teamtreehouse. Try renaming it with a right click and let it do the updates.

Let me know if that works. Fingers crossed!