Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
Christopher Mlalazi
Front End Web Development Techdegree Graduate 17,305 PointsI have one error can't sort it out
My workspace is saying I have one error and I can't figure out what is causing it. It's in line 65
./com/teamtreehouse/Treet.java:65: error: cannot find symbol
List<String> results = new ArrrayList<String>();
^
symbol: class ArrrayList
location: class Treet
1 error
and here is my workspace with my code:
Thanks in advance
4 Answers

Terry McKee
27,299 PointsYou have an extra 'r' in ArrayList. Just remove one of the r's and you should be good to go.
List<String> results = new ArrrayList<String>();
should be
List<String> results = new ArrayList<String>();

Chris Jones
Java Web Development Techdegree Graduate 23,921 PointsGet ready to slap yourself on the forehead....there are only two r's in ArrayList, not three:).
I didn't realize it until I had gone through all your code lol.
Christopher Mlalazi
Front End Web Development Techdegree Graduate 17,305 PointsWow how did I miss that! Thanks Chris and Terry! I feel silly now cause I checked and checked spellings!

Chris Jones
Java Web Development Techdegree Graduate 23,921 PointsNo problem, we've all done it! This is why IDEs were invented, right:)?
Christopher Mlalazi
Front End Web Development Techdegree Graduate 17,305 PointsYou were a minute apart in answering so will give Terry best answer although i would have wished Treehouse allowed several!

Chris Jones
Java Web Development Techdegree Graduate 23,921 PointsNo offense taken:)