Eclipse Jetty

Add this URL to your Eclipse Installation to reach this solution's update site.

2022-12 (4.26), 2022-09 (4.25), 2023-03 (4.27), 2023-06 (4.28), 2023-09 (4.29), 2023-12 (4.30), 2024-03 (4.31), 2024-06 (4.32), 2024-09 (4.33)

https://eclipse-jetty.github.io/update/7.0.0/

2022-06 (4.24), 2022-03 (4.23), 2021-12 (4.22), 2021-09 (4.21), 2021-06 (4.20)

https://eclipse-jetty.github.io/update/

2021-03 (4.19), 2020-12 (4.18), 2020-09 (4.17), 2020-06 (4.16), 2020-03 (4.15), 2019-12 (4.14), 2019-09 (4.13), 2019-06 (4.12), 2019-03 (4.11), 2018-12 (4.10), 2018-09 (4.9), Photon (4.8), Oxygen (4.7)

https://eclipse-jetty.github.io/update/

Learn more...
Solution Description

An Eclipse plugin for running/debugging Java web applications with Jetty (successor of JettyLauncher) Features: - Support for Jetty 7, 8, 9 (incl. 9.1.x and 9.2.x, 9.3.x, 9.4.x), 10 and 11 - Included Jetty 9 - M2Eclipse Support - JSP Support - JNDI Support - JMX Support - Websocket Support - HTTPS

Additional Details

Eclipse Versions: 2022-12 (4.26), 2022-09 (4.25), 2023-03 (4.27), 2023-06 (4.28), 2023-09 (4.29), 2023-12 (4.30), 2024-03 (4.31), 2024-06 (4.32), 2024-09 (4.33), 2022-06 (4.24), 2022-03 (4.23), 2021-12 (4.22), 2021-09 (4.21), 2021-06 (4.20), 2021-03 (4.19), 2020-12 (4.18), 2020-09 (4.17), 2020-06 (4.16), 2020-03 (4.15), 2019-12 (4.14), 2019-09 (4.13), 2019-06 (4.12), 2019-03 (4.11), 2018-12 (4.10), 2018-09 (4.9), Photon (4.8), Oxygen (4.7)

Platform Support: Windows, Mac, Linux/GTK

Development Status: Production/Stable

Date Created: Saturday, December 15, 2012 - 09:20

License: Apache 2.0

Date Updated: Friday, October 6, 2023 - 10:49

Submitted by: Christian Köberl

Screenshot
Date Ranking Installs Clickthroughs
December 2024 79/423 24 1
November 2024 90/658 325 21
October 2024 99/663 321 15
September 2024 92/642 315 10
August 2024 90/641 294 18
July 2024 103/663 272 17
June 2024 96/681 325 23
May 2024 114/682 306 19
April 2024 106/687 356 24
March 2024 110/694 348 23
February 2024 95/687 367 27
January 2024 103/691 379 26
View Data for all Listings

Unsuccessful Installs

Unsuccessful Installs in the last 7 Days: 0

Download last 500 errors (CSV)

Marketplace Drag to Install Button

By adding the following code below to your website you will be able to add an install button for Eclipse Jetty.

HTML Code:

Markdown Syntax:

Output:

Drag to your running Eclipse* workspace. *Requires Eclipse Marketplace Client

Reviews Add new review

I received following issue

 


> I try to run basic web application in jetty server in offline
> I have mentioned eclipse IDE version and Jetty server version and its configurations

**Eclipse IDE Version: 2024-06 (4.32.0) and Build id: 20240606-1231**


    **Error log**
   
   >    ____    ___                   __    __  __         ___
     / __/___/ (_)__  ___ ___   __ / /__ / /_/ /___ __  / _ \
    / _// __/ / / _ \(_-</ -_) / // / -_) __/ __/ // /  \_, /
   /___/\__/_/_/ .__/___/\__/  \___/\__/\__/\__/\_, /  /___/
              /_/                              /___/
   2024-08-31 06:16:58.209:INFO::main: Logging initialized @375ms to org.eclipse.jetty.util.log.StdErrLog
      Configuration: C:\Users\GOVIND~1\AppData\Local\Temp\eclipseJettyPlugin.config.WebTest.xml
            Version: 9.4.49.v20220914
            Context: /WebTest
               Port: 8080
          Classpath: C:/Users/GOVIND KNT/eclipse_jetty/WebTest/build/classes
   2024-08-31 06:16:58.708:INFO:oejs.Server:main: jetty-9.4.49.v20220914; built: 2022-09-14T01:07:36.601Z; git: 4231a3b2e4cb8548a412a789936d640a97b1aa0a; jvm 22.0.2+9
   2024-08-31 06:16:59.115:WARN:oejw.WebAppContext:main: Failed startup of context o.e.j.w.WebAppContext@13b6aecc{/WebTest,file:///C:/Users/GOVIND%20KNT/eclipse_jetty/WebTest/src/main/webapp/,STOPPED}{C:\Users\GOVIND KNT\eclipse_jetty\WebTest\src\main\webapp}
   java.net.UnknownHostException: www.eclipse.org
       at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:567)
       at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)
       at java.base/java.net.Socket.connect(Socket.java:752)
       at java.base/sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:304)
       at java.base/sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:181)
       at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:183)
       at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:531)
       at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:636)
       at java.base/sun.net.www.protocol.https.HttpsClient.<init&gt;(HttpsClient.java:264)
       at java.base/sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:377)
       at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(…
       at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.jav…
       at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java…
       at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractD…
       at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.j…
       at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.ja…
       at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnec…
       at java.xml/com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:691)
       at java.xml/com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:1443)
       at java.xml/com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.java:1409)
       at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImpl.java:257)
       at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.dispatch(XMLDocumentScannerImpl.java:1182)
       at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.next(XMLDocumentScannerImpl.java:1070)
       at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:973)
       at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:635)
       at java.xml/com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:113)
       at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:551)
       at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:890)
       at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:826)
       at java.xml/com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:134)
       at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1225)
       at java.xml/com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
       at java.xml/com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:326)
       at org.eclipse.jetty.xml.XmlParser.parse(XmlParser.java:244)
       at org.eclipse.jetty.webapp.Descriptor.parse(Descriptor.java:53)
       at org.eclipse.jetty.webapp.WebDescriptor.parse(WebDescriptor.java:213)
       at org.eclipse.jetty.webapp.MetaData.setDefaults(MetaData.java:167)
       at org.eclipse.jetty.webapp.WebXmlConfiguration.preConfigure(WebXmlConfiguration.java:48)
       at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:488)
       at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:523)
       at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73)
       at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)
       at org.eclipse.jetty.server.Server.start(Server.java:423)
       at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110)
       at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97)
       at org.eclipse.jetty.server.Server.doStart(Server.java:387)
       at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73)
       at net.sourceforge.eclipsejetty.starter.jetty9.Jetty9Adapter.start(Jetty9Adapter.java:68)
       at net.sourceforge.eclipsejetty.starter.common.AbstractJettyLauncherMain.launch(AbstractJettyLauncherMain.java:84)
       at net.sourceforge.eclipsejetty.starter.jetty9.Jetty9LauncherMain.main(Jetty9LauncherMain.java:42)
   2024-08-31 06:16:59.164:INFO:oejs.AbstractConnector:main: Started ServerConnector@1d9b7cce{HTTP/1.1, (http/1.1)}{0.0.0.0:8080}
   2024-08-31 06:16:59.164:INFO:oejs.Server:main: Started @1360ms
   -----------------------------------------------
   Jetty startup finished in 1.2 s.
   Used memory: 6.0 MB of 20.0 MB (3.9 GB maximum)
   Console available: type "help".
   -----------------------------------------------

>

    i try to run Basic index.html web application
     
   
     <!DOCTYPE html>
   <html>
   <head>
   <meta charset="UTF-8">
   <title>Insert title here</title>
   </head>
   <body>
   
   </body>
   </html>

[![I have attached the image of jetty server configuration][1]][1]


 [1]: https://i.sstatic.net/51t3slhH.png

Thanks for you! But 3.8.0 is not support websocket develop. What time is the version 3.9.0 release ? And is it support the websocket develop. I'am very very needed!

I have long suffered with something like "maven tomcat7:deploy" just for view changes i added to simple jsp file, and your project helped me a lot in that. Also i had troubles with debugging, due to which i could not see any log messages.

Big thanks for your work!

oejuc.AbstractLifeCycle:FAILED jsp: java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory

When run web app using this plugin, it meet NoClassDefFoundError, missing the tomcat-juli.jar. As I used tomcat-6.0.37, tomcat-juli.jar is located in %tomcat_home%/bin. But the plugin did not include this jar. So how can I fix this issue?

Eclipse Juno , the error was
An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,net.sourceforge.eclipsejetty.launcher,3.5.0