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 trialRob Bridges
Full Stack JavaScript Techdegree Graduate 35,467 PointsRefactoring 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.
Thanks.
Smart Ganyaupfu
3,129 PointsHey Rob, me lost on this challenge, may you explain to me how we are supposed to tackle this challenge.
1 Answer
Craig Dennis
Treehouse TeacherYour 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!
Rob Bridges
Full Stack JavaScript Techdegree Graduate 35,467 Points-Sigh- Like a charm.
Thanks a Craig.
Smart Ganyaupfu
3,129 PointsSmart Ganyaupfu
3,129 PointsHey Rob, me lost on this challenge, may you explain to me how we are supposed to tackle this challenge.