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 Getting There Type Casting

Jun Dong
Jun Dong
4,754 Points

Type Casting challenge tester error

This didn't happen before...

JavaTester.java:66: error: illegal start of expression
      package com.example;
      ^
JavaTester.java:66: error: not a statement
      package com.example;
                 ^
JavaTester.java:68: error: illegal start of expression
import java.util.Date;
^
JavaTester.java:68: error: not a statement
import java.util.Date;
                ^
JavaTester.java:70: error: illegal start of expression
public class BlogPost {
^
5 errors

1 Answer

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,858 Points

Hi Jun Dong

From the posts I've seen recently in the Community (and with some self checks), there seems to be some technical issues with the Java challenges. I'm sure the Support Team is on top of this. For now, You can always continue with the course and come back to the Challenges later on, once the problem has been correct with the Code Checkers. This can be done by manually navigating your progress using the nav links above the video window.

Hope this gets fixed up soon. :) :dizzy:

Jun Dong
Jun Dong
4,754 Points

oh I just deleted it and it worked so....