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 Local Development Environments Exploring Your IDE Importing External Code

Dragging and dropping files doesn't work properly

I'm getting an error saying "cannot create classfile" and the files that are created look completely different. I ended up just deleting my project.

Help!

1 Answer

The only thing I found that works is to add the files to the folders individually, and not in a group. I literally copied and pasted each one at a time. After that's done, do Build > Rebuild project.