Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
David Axelrod36,073 Points
error on running imported file
not sure where to go from here
Exception in thread "main" java.lang.ClassNotFoundException: com.teamtreehouse.Main at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:122)
Craig DennisTreehouse Teacher
TreeStory should be able to just open. File > Open. Try to download it again.
Did you get this working finally?
I found the fix. Earlier I had just changed the Path under Project Structure > Modules to "Use module compile output path" And I tried taking a look at other files I had and realized that they also had the "Project compiler output" set to the /out folder.
[alt text](C:\Users\Benjamin\Pictures\Screenshots\IntelliJ 1.PNG) [alt text](C:\Users\Benjamin\Pictures\Screenshots\Intellij2.PNG)