Author

Topic: Looking for Java Developer (ideally with JavaSpark knowledge) to fix an issue (Read 114 times)

hero member
Activity: 924
Merit: 556
I have developed a small web app with JavaSpark Mirco Framework. The app is almost done and works perfectly on my machine but when I pack it as a jar file, run the jar and open browser to retrieve index page I get a HTTP 500 error. Console shows

Quote
Caused by: java.io.FileNotFoundException: /templates/index.hbs
    at com.github.jknack.handlebars.io.URLTemplateLoader.sourceAt(URLTemplateLoader.java:70) ~[jar:rsrc:handlebars-4.0.6.jar!/:?]
    at com.github.jknack.handlebars.Handlebars.compile(Handlebars.java:357) ~[jar:rsrc:handlebars-4.0.6.jar!/:?]
....

I have some experience in developing Java stuff. I tried a lot of ways in terms of absolute and relative path because I think this is the error cause but nothing seems to work.

I think the problem is very easy to solve (provided that you know where the problem is).

If someone help me or give me a hint, I will pay 0,003 BTC (or same $ amount in ETH if desired) if problem got fixed.  

Post here or pm me!
Jump to: