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 Java Data Structures Organizing Data Serialization

Magdalena Frankowska
Magdalena Frankowska
15,501 Points

[SOLVED] File does not contain...

Every time I compile I get an error: Example.java:5: error: cannot access Treets
import com.teamtreehouse.Treets;
^
bad source file: ./com/teamtreehouse/Treets.java
file does not contain class com.teamtreehouse.Treets
Please remove or make sure it appears in the correct subdire ctory of the sourcepath.

I looked like 3 times through the video and everything is the same... Not only I do not understand this video, I can't even compile it... HELP!

Patrik Horváth
Patrik Horváth
11,110 Points

more info you write on your OWN pc i mean in IntelliJ or Eclypse .... ?

Magdalena Frankowska
Magdalena Frankowska
15,501 Points

Well I do everything on Workspace so... Does that change something?

Patrik Horváth
Patrik Horváth
11,110 Points

yup and compile whre ? give us link on chalange or give us whole code :) because this POST is related to VIDEO :/ witch is not useful :/

Hi Magdalena,

In your workspace, click the 'camera' icon, top-right. That'll open up a new window with your code in it. Post the URL of that window and we'll be able to access your workspace in read-only mode. We can also fork your workspace to replicate it which will help us fix your problem.

Steve.

Magdalena Frankowska
Magdalena Frankowska
15,501 Points

Sorry to trouble you all, it all worked out in the end... I realized it was something Craig warned us about - a typo... sigh

It's no trouble at all. And if had £10 for every typo I made, I'd be very rich indeed! :wink:

Keep coding! :+1:

Steve.