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 Annotations Writing Your Own Annotation Declaring an Annotation

Mitchell Golden
Mitchell Golden
4,804 Points

LiveTweet annotation code challenge

I can't seem to pass the first step in this challenge. If I use the "public" access modifier, I get "illegal start of expression" compiler error. If I omit it, I get "interface is not allowed here." I tried using a package as well. It seems like a bug in the system, but does anyone else have any insight? I've even copied and pasted code directly from other questions on here that supposedly worked, and it does not seem to be working no matter what.

1 Answer

Jennifer Nordell
Jennifer Nordell
Treehouse Teacher

Hi there, Mitchell Golden ! Yes, it seems there is a problem with Java-based challenges right now. This has been reported to Treehouse staff by myself and at least one other moderator. I feel confident that the Support staff is working on this.

That being said, you can skip the challenge by using the white "dots" at the top of the page where the challenge/video is. Clicking any one of these will take you to that section of the course. Don't forget to come back and finish the challenge once everything is working properly again.

Hope this helps! :sparkles: