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

  • Home
  • SEARCH
  • 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 6913189
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T09:11:12+00:00 2026-05-27T09:11:12+00:00

Im using IntelliJ Idea IDE for working on a scalatra project i created using

  • 0

Im using IntelliJ Idea IDE for working on a scalatra project i created using giter8.I use sbt to run the project.When i open the project in IntelliJ , i get the following errors in MyScalatraServlet.scala:

Cannot resolve symbol scalate
Cannot resolve symbol ScalatraServlet
Cannot resolve symbol ScalateSupport

The code for MyScalatraServlet.scala is as follows:

import org.scalatra._
import java.net.URL
import scalate.ScalateSupport

class MyScalatraServlet extends ScalatraServlet with ScalateSupport {

  get("/") {
    <html>
      <body>
        <h1>Hello, world!</h1>
        Say <a href="hello-scalate">hello to Scalate</a>.
      </body>
    </html>
  }

  notFound {
    // Try to render a ScalateTemplate if no route matched
    findTemplate(requestPath) map { path =>
      contentType = "text/html"
      layoutTemplate(path)
    } orElse serveStaticResource() getOrElse resourceNotFound() 
  }
}

Any way i can resolve these dependencies ?. If not any way to hide these cannot resolve errors in IntelliJ ?

Please Help
Thank You

  • 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-27T09:11:12+00:00Added an answer on May 27, 2026 at 9:11 am

    You need to use the sbt-idea sbt pluging to generate the dependencies in a way Intellij can read them (xml files with the dependecies)

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

Sidebar

Related Questions

I'm using IntelliJ Idea as an IDE to develop AIR applications. I use flexmojos-4.0
I'm recently started working on a school project using IntelliJ IDEA to develop an
I'm using Intellij IDEA Community Edition for IDE, and I like it a lot.
I'm using IntelliJ-Idea to write Java daemons. We use JUnit to unit test our
I'm using IntelliJ IDEA v11.0.1 In Run/Debug configuration of my Android application I can
I'm working with a plugin for Jetbrain's Webstorm, and we're using IntelliJ IDEA as
I'm running IntelliJ Idea under linux. I have created a project and a module
While using IntelliJ Idea to code Scala I've noticed it to use to offer
I'm using IntelliJ Idea 10 IDE for my grails development and while it's great
I am using intellij idea and jboss server . When I run it it

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.