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 trialimkehimstedt
1,015 Pointsimport of classes fails
package '…' does not exits
1 Answer
Livia Galeazzi
Java Web Development Techdegree Graduate 21,083 PointsHello! Please post your code so we can help you. Without looking at your code, we can't really know what went wrong. The most likely cause in this case is a typo in the import statement, but I can't say without looking at it.
GhostIn Shell
1,967 PointsGhostIn Shell
1,967 PointsI am assuming this person had the same problems as I was having. Please help. Below is the error I receive in the Workspace.
The folders go as follows. Java Data Structure then com then teamtreehouse then model. I have the two files under model Song.java and SongBook.java. Then there is Karaoke.java which I am assuming is under Java Data Structures
Karaoke.java:1: error: package com.teamtreehouse.model does not exist
import com.teamtreehouse.model.Song;
^
Karaoke.java:2: error: package com.teamtreehouse.model does not exist
import com.teamtreehouse.model.SongBook;