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 trialTai Do
2,312 Pointsimport files into intellij ERROR
Everytime I import the folder "com", I get an error... cannot create class. I am able to import the Karaoke.java files.
1 Answer
Brian Hache
7,611 PointsI just figured this one out. I think that because the zip file we downloaded already contained .class files with the .java files, every time intelliJ comes to a .class file it stops importing the rest of the package and errors out "cannot create class file". Hopefully there is a real fix for this that a more experienced person can explain, but what I did was just import the com and module files up one by one omitting the .class files until I had what Craig has once he starts running everything.
liamthornback2
9,618 Pointsliamthornback2
9,618 PointsCan someone please answer this question I'm having the same problem.