Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7578287
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T17:23:46+00:00 2026-05-30T17:23:46+00:00

I am currently re-implementing some project using Lift. All the old views were done

  • 0

I am currently re-implementing some project using Lift. All the old views were done using jade for express.js, and I was glad to read that Scalate seems to be able to handle it as well.

It’s not as easy as it sounds, it seems. After adding the line

(new ScalateView).register

and changing the view files, it should work, according to any source I found. But when I try to open the http://localhost:8080/, I get an error “The Requested URL / was not found on this server”.

The console logs tell me they were searching the files index.ssp and index.scaml. But there is, of course, only an index.jade. I thought it could be that the version of scalate was too old, so I changed my build.sbt:

name := "project"

version := "0.0.1"

scalaVersion := "2.9.1"

seq(webSettings: _*)

libraryDependencies ++= {
  val liftVersion = "2.4-M5"
  Seq(
    "net.liftweb" %% "lift-webkit" % liftVersion % "compile->default",
    "net.liftweb" %% "lift-mongodb" % liftVersion % "compile->default",
    "net.liftweb" %% "lift-mongodb-record" % liftVersion % "compile->default",
    "net.liftweb" %% "lift-wizard" % liftVersion % "compile->default",
    "net.liftweb" %% "lift-scalate" % liftVersion % "compile->default",
    "org.fusesource.scalate" % "scalate-core" % "1.5.3" % "compile->default"
  )
}

libraryDependencies ++= Seq(
  "junit" % "junit" % "4.5" % "test->default",
  "org.eclipse.jetty" % "jetty-webapp" % "8.0.4.v20111024" % "container",
  "javax.servlet" % "servlet-api" % "2.5" % "provided->default",
  "ch.qos.logback" % "logback-classic" % "0.9.26" % "compile->default"
)

But it’s still the same problem.

What is the undocumented magic trick to get this working?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T17:23:48+00:00Added an answer on May 30, 2026 at 5:23 pm

    It’s because the Lift Scalate plugin doesn’t support .jade files by default

    I had to create my own ScalateView.scala and LiftTemplateEngine.scala and add them to my project tree in src/main/scala/code/lib/

    Moreover there is a bug somewhere between scalate and Lift wich make it fail with scala 2.9.0+. I had to use scala 2.8.0 to get it work

    The two files :

    http://pastebin.com/mLU0DAFu

    http://pastebin.com/AmJmBjE7

    Be sure to import code.lib.ScalateView in your Boot.scala file

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently implementing a histogram that will show a very large scale data using
I'm currently implementing some custom exceptions in a project and can't decide wither to
I'm running some background threads in the GUI. Currently I'm implementing a personal Thread
I'm currently implementing a JavaScript library that keeps track of the history of changes
I'm currently implementing a .NET wrapper for a Java library by using JNI to
I'm currently implementing a HTML canvas based webapp that features panning. Is there a
I'm currently implementing some image processing code for Android. I'm aware of the memory
I'm currently working on implementing the Distributed Annotation System-standard for our project openSNP.org, however,
I'm currently working on a Google Maps project and am implementing a search function.
I'm currently working on an upgrade to a project that extensively uses COM /

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.