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 trialPaul Henry
2,125 PointsREPL problem
java> :load PezDispenser.java
Loaded source file from PezDispenser.java
java> PezDispenser pd = new PezDispenser("Yoda");
ERROR: cannot find symbol
symbol: class PezDispenser
location: interface Evaluation
PezDispenser method$6ckstjz2o93md7lh1wxg();
^
I don't understand what I'm doing wrong. I'm following the video exactly and I can't go forward.
1 Answer
Craig Dennis
Treehouse TeacherTry to compile your program outside the REPL:
javac PezDispenser.java
And see if you get a syntax error. Unfortunately the REPL is not the best at sharing errors.
Mira Estil
3,668 PointsMira Estil
3,668 PointsI too am having this issue , but I see from previous threads that this has been addressed and not yet solved
https://teamtreehouse.com/community/problems-with-repl