Questions tagged [maven-jetty-plugin]

maven-jetty-plugin is a Maven plug-in which embeds the Jetty webserver within a Maven build. It is configured in the Maven POM file. It is extremely useful for Rapid Application Development.

You may encounter issues understanding which Jetty Maven Plugin to use due to its recent history of moves between one project owner to another (more recently from codehaus.org to eclipse.org) and its different groupIds (org.mortbay.jetty vs org.eclipse.jetty).

Depending on the version of Jetty to use, you should know that:

  • Jetty up to version 6 is no longer supported by codehaus.org;
  • Jetty from version 7 to 8 are EOL (End Of Life), see Jetty Maven plugin.
  • Jetty version 9 is currently hosted by eclipse.org, see Jetty Maven Plugin

This tag should be used for questions on versions (and group ids) mentioned above. However, it is recommended to use org.eclipse.jetty as latest groupId and well maintained version.

398 questions
0
votes
0 answers

How can I get a response from an Apache camel jetty request?

I am new to apache camel. I want to create a service bus (middle ware) using apache camel by making a jetty Post request and then get the response from the server. Here is what I've done
Joey
  • 11
  • 10
0
votes
1 answer

Maven-jetty-plugin can't resolve project dependency when I changed JRE version from 1.8 to 1.6

OS: openSUSE Leap 4.2 IDE: Eclipse Mars JDK Installed: Open JDK 1.8 & Oracle JDK 1.6 I have to add some new feature to an existed system recently. My environment is as above. This system have 5 separate projects with their root folder setting side…
lfree
  • 1,880
  • 3
  • 24
  • 39
0
votes
1 answer

Is it necessary to have JDK when I already config jetty to run my web app?

I'm new to java realm. Currently, I'm trying to bootstrap a simple Hello world JSP web site using eclipse/maven/jetty. When I open the jsp page from a browser, I got the following error message: HTTP ERROR 500 Problem accessing /index.jsp.…
lfree
  • 1,880
  • 3
  • 24
  • 39
0
votes
1 answer

How to set Temporary Directory while using maven Jetty Plugin?

I currently use the jetty maven plugin to deploy my war files. Something like :- org.eclipse.jetty jetty-maven-plugin 9.3.7.v20160115
Nikhil L
  • 175
  • 1
  • 3
  • 16
0
votes
1 answer

The return type is incompatible with JspSourceDependent.getDependants() (maven-jetty-plugin)

I am trying to use the maven-jetty-plugin to launch the simplest spring webapp: mvn clean jetty:run-exploded pom.xml:
benji
  • 2,331
  • 6
  • 33
  • 62
0
votes
2 answers

Jacoco and jetty maven plugin gets 0% coverage

I'm trying to setup jacoco to get the coverage for my integration tests. I'm running my integration tests against jetty (using the maven plugin). But even if i pass the agent in the jam args when starting up the jetty server the jacoco report shows…
Johny19
  • 5,364
  • 14
  • 61
  • 99
0
votes
2 answers

Unable to Deploy Allure report on Jetty server

I am trying to deploy allure report which was generated after "mvn clean test site". I have used mvn jetty:run and when I tried to open "http://localhost:8080", I got a "Directory:/" as a text in firefox browser instead of actual Allure…
0
votes
0 answers

NoSushMethodError org.richfaces.log.RichfacesLogger.getLogger()Lorg/slf4j/Logger; Mojarra Jetty Richfaces

I'm trying to upgrade a small application from JSF 1.2, Richfaces 3.3.3 to JSF 2.0.2 and RF 4.3.7. It seems to me that i did all configurations but when i run the application with jetty i have this error : juil. 17, 2015 12:21:12 PM…
0
votes
1 answer

Jrebel - ERROR org.zeroturnaround.bundled.javassist.CannotCompileException: [source error] no such class: classCache

While starting a Spring Mvc project configured with Jrebel on jetty server, I'm getting this stack trace exception that ERROR org.zeroturnaround.bundled.javassist.CannotCompileException: [source error] no such class: classCache message. Even if the…
Lucky
  • 16,787
  • 19
  • 117
  • 151
0
votes
1 answer

Jetty maven plugin and spring 4.1.6 - class not found exception

i have a lib-conflict problem but i cannot find a solution. So i hope i can find some help :) I'm using jetty-maven-plugin. Here a snippet of my pom: org.eclipse.jetty jetty-maven-plugin
user3227576
  • 554
  • 8
  • 22
0
votes
1 answer

Singleton with jetty webapps

I want to inject object that has 12mb into my jetty webapp. I deploy my app as WAR file so I cannot add guice injector as it is shown in other question. How to do it? I quess I need to use applicationContext.xml
Aleksander Zendel
  • 463
  • 1
  • 3
  • 12
0
votes
0 answers

Jetty Hot Code Replace Failed

I'm developing a maven modular project with Spring and Vaadin that has the following structure: |-- parent (pom packaging) |-- model (jar packaging) pom.xml |-- services (jar packaging) pom.xml |-- web-app (war packaging) …
Skizzo
  • 2,883
  • 8
  • 52
  • 99
0
votes
2 answers

Inexplicably unresolvable IncompatibleClassChangeError in jetty-maven-plugin with Spring

I'm working on a Restlet application issue and thought it would be great to set up a Github repository containing a cut-down version of the application to test out. However, it's never that easy... The repository is here:…
Stuart Watt
  • 5,242
  • 2
  • 24
  • 31
0
votes
1 answer

How to run jetty on a maven modular project

I'm developing a modular project with maven that have the following skeleton: |-- parent (pom packaging) |-- model (jar packaging) pom.xml |-- services (jar packaging) pom.xml |-- web-app (jar packaging) pom.xml pom.xml I'm…
Skizzo
  • 2,883
  • 8
  • 52
  • 99
0
votes
1 answer

Servlet - requestDispatcher.forward java.lang.NullPointerException

I'm doing a web server as a part of an online shop application, and I'm trying to make a form jsp page work. I'm using Eclipse IDE with Maven, and Jetty plugin to try it. It goes like this: From the index.jsp welcome page the user press a button…