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 7500079
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T20:03:31+00:00 2026-05-29T20:03:31+00:00

my build.sbt: name := admin version := 1.0 scalaVersion := 2.9.1 seq(webSettings: _*) scanDirectories

  • 0

my build.sbt:

name := "admin"

version := "1.0"

scalaVersion := "2.9.1"

seq(webSettings: _*)

scanDirectories in Compile := Nil

/************************************************************************/
// Jetty configurations
port in container.Configuration := 9091
/************************************************************************/

resolvers ++= Seq(
  "Scala Tools Releases" at "http://scala-tools.org/repo-releases/",
  "Java.net Maven2 Repository" at "http://download.java.net/maven/2/"
)

libraryDependencies ++= {
  val liftVersion = "2.4" // Put the current/latest lift version here
  Seq(
    "net.liftweb" %% "lift-webkit" % liftVersion % "compile->default",
    "net.liftweb" %% "lift-mapper" % liftVersion % "compile->default",
    "net.liftweb" %% "lift-wizard" % liftVersion % "compile->default"
  )
}

libraryDependencies ++= Seq(
  "org.apache.httpcomponents" % "httpclient" % "4.1.2",
  "javax.servlet" % "servlet-api" % "2.5" % "provided",
  "junit" % "junit" % "3.8" % "test",
  "org.eclipse.jetty" % "jetty-webapp" % "7.3.0.v20110203" % "container",
  "ch.qos.logback" % "logback-classic" % "0.9.26"
)

project/plugins.sbt

resolvers += "Web plugin repo" at "http://siasia.github.com/maven2"

libraryDependencies <+= sbtVersion(v => "com.github.siasia" %% "xsbt-web-plugin" % (v + "-0.2.11"))

after reload the configuration from command line, I try to exec container:start, and then to access http://localhost:9091 but failed.

log info of the container:start

> container:start
[info] jetty-7.3.0.v20110203
[info] NO JSP Support for /, did not find org.apache.jasper.servlet.JspServlet
[info] started o.e.j.w.WebAppContext{/,[file:/D:/codebase/project/almeet-web/src
/main/webapp/]}
[info] Started SelectChannelConnector@0.0.0.0:9091
[success] Total time: 1 s, completed Feb 15, 2012 1:46:18 PM

so I’m wondering if I missed some configurations?

  • 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-29T20:03:33+00:00Added an answer on May 29, 2026 at 8:03 pm

    What’s in ./src/main/webapp/META-INF/web.xml?

    The plugin includes a number of test projects. Here’s a simple servlet project:

    https://github.com/siasia/xsbt-web-plugin/blob/master/src/sbt-test

    And within that, web.xml

    https://github.com/siasia/xsbt-web-plugin/blob/master/src/sbt-test/web/servlet/src/main/webapp/WEB-INF/web.xml

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

Sidebar

Related Questions

I have a Scalatra project with the following build.sbt organization := com.example name :=
got the following in my build.sbt: name := Ledger Accounting libraryDependencies += junit %
My project uses Scala 2.9 so I've added scalaVersion := 2.9.0-1 to my build.sbt
I'm trying to get sbt to compile and build some benchmarks. I've told it
I'd like to access the name of a SBT project that uses a plugin
I want to install Lifty . I have created c:\sbt\plugins\build.sbt with the following single
I am using SBT as my build tool for building a Scala project. My
Build.VERSION.SDK_INT was added only in API level 4 (1.6). Is it possible to determine
I have a build.sbt file in my project root.. all my source files live
I need to run the embedded Jetty on port different to the default 8080,

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.