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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T16:02:15+00:00 2026-06-15T16:02:15+00:00

As I understand, Eclipse Juno release has Jetty servlet container embedded. So I have

  • 0

As I understand, Eclipse Juno release has Jetty servlet container embedded. So I have assumed, that means I can use Jetty in Eclipse Java EE without installing any additional plugins or packages. I have tried this:

  • Created a simple dynamic Web project and run it on “J2EE Preview” Server. As a result I’ve got 404 error:

Error 404 – Not Found

No context on this server matched or handled this request. Contexts
known to this server are: ServletTest(/ServletTest)

  • Tried to create embedded Jetty instance:

    public class Launcher {
    
        public static void main(String[] args) throws Exception {
            Server server = new Server(8080);
            server.start();
            server.join();
        }
    }
    

I am unable to find where can I import org.eclipse.jetty.server.Server class from.

What am I doing wrong?

  • 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-06-15T16:02:16+00:00Added an answer on June 15, 2026 at 4:02 pm

    Stick with your first approach. Looks like you’re nearly there – you’re just pinging the wrong URL. Try http://localhost:8080/ServletTest.

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

Sidebar

Related Questions

I downloaded spring-framework-3.0.5.RELEASE . I have also downloaded eclipse-j2ee and intellijIDEA. But can't understand
I understand that Aptana is built from Eclipse. I tried searching for the Package
I have a maven project imported into Eclipse. I'm trying to understand the code
I am using ANTLR to generate Java source files. I can make Eclipse understand
I am trying to use Eclipse as my IDE, and I have installed sbt
Eclipse crashed and won't restart. Can someone help me understand what the problem is?
Hello I am trying to run solr from eclipse. I understand that we need
looking at http://download.eclipse.org/jetty/stable-7/xref/com/acme/ChatServlet.html , I don't seem to understand why there needs to be
From what I understand Eclipse Indigo 3.7.1 should now have support for Java 7.
I can't understand org.eclipse.draw2d.Triangle's api. There are some fields for manipulation: protected int direction

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.