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 Efficiency! Custom Serialization

I imported the Comparator interface but it is still giving me the error message that java.util does not exist

I keep getting this error message: java.util does not exist import java.util.Comparator

even though I have import java.util.Comparator at the top of my file.

Everything else is working great. What could be the problem?