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![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![anish bashtal](https://secure.gravatar.com/avatar/3208ec2101b15c7ae851b82d468bd74f?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
anish bashtal
1,039 PointsError Please Help
I'm following all the steps but it shows "500 Internal Error"
Compiler says
ERROR spark.webserver.MatcherFilter - org.eclipse.jetty.io.RuntimeIOException: java.io.FileNotFoundException: /templates/index.hbs
4 Answers
![Alexander Nikiforov](https://uploads.teamtreehouse.com/production/profile-photos/5494222/micro_IMG_0409.jpg)
Alexander Nikiforov
Java Web Development Techdegree Graduate 22,175 PointsDoes the structure of your project looks exactly like his one ?
What is important that structure is exactly like his one Like at video: 07:42
Your template files should be in the /src/main/resources/templates
.
Could you make a screenshot of your structure exactly like in video at 07:42, so that resources are seen.
There is clearly the problem that location of template files cannot be found.
So if by any chance your templates directory is not in the /src/main/recources/templates
as you can see in video
07:42, you program should not work...
Does it make more sense now ?
![kucxtground](https://uploads.teamtreehouse.com/production/profile-photos/7075012/micro___27.jpg)
kucxtground
1,034 PointsHi Anish,
java.io.FileNotFoundException simply means that the file "index.hbs" was not found in the directory you've specified somewhere in your code; in this course video around 08:20 - 08:26, this was specified in Main.java from /src/main/java/<your folder name>/Main.java
.
Your "index.hbs" should be in /src/main/resources/templates
as Alexander mentioned above.
![Akshay Ramdasi](https://secure.gravatar.com/avatar/bb2a15410b38720dde635995e53cb23d?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Akshay Ramdasi
14,065 PointsI am getting another warings about "org.slf4j.impl.StaticLoggerBinder"
the warnings are
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Process finished with exit code 100
please help me! Also I am unable to view the page showing Welcome students. I have restarted server but getting 404 file not found message.
![Alexander Nikiforov](https://uploads.teamtreehouse.com/production/profile-photos/5494222/micro_IMG_0409.jpg)
Alexander Nikiforov
Java Web Development Techdegree Graduate 22,175 PointsThat should solve Failed to load class
error.
If you don't see a page. Paste complete project on Github. Or at least Main
and template files.
Also download files for project for this video and compare them with yours for errors.
And last but not the least, here is the GitHub link to Craigs project
https://github.com/treehouse-projects/java-spark-course-ideas
![Akshay Ramdasi](https://secure.gravatar.com/avatar/bb2a15410b38720dde635995e53cb23d?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Akshay Ramdasi
14,065 PointsThanks, You solved my problem. I am getting to know that why the treehouse have best developers training in the world!!