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
1 answer

Webapp hangs when Active MQ broker is running

I got a strange problem with my spring webapp (running on local jetty) which connects to a locally running ActiveMQ broker for JMS functionality. As soon as I start the broker the applications becomes incredibly slow, e.g. the startup of the…
Korgen
  • 5,191
  • 1
  • 29
  • 43
0
votes
1 answer

Can I do maven jetty restart on change of spring xmls?

I am using IntelliJ IDEA to code a Java web project. The maven pom.xml looks like this ucpportal-${project.version} maven-compiler-plugin
0
votes
0 answers

org.codehaus.jackson.map.JsonMappingException: Direct self-reference leading to cycle

I am working on an AngularJS Java web app, and I am refactoring an existing parent pom to use Java 8. Towards that end I changed all Spring references to use the Spring Bill of Materials to 4.1.2.RELEASE, and our Jetty application server to…
Victor Grazi
  • 15,563
  • 14
  • 61
  • 94
0
votes
1 answer

HTTP ERROR: 503 Reason: Service Unavailable powered by jetty

I am trying to develop a web application using java. I am following broadleaf commerce's tutorials [http://www.broadleafcommerce.com/docs/core/current/getting-started]. At the beginning I am able to run my demo site. But after following the…
sanil sathyan
  • 58
  • 1
  • 2
  • 8
0
votes
1 answer

Spring web application memory profiling doubts

I have Spring application with top command showing following data on Amazon EC2 small instance ( 1.7 GB RAM ) - PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 5019 ubuntu 20 0 1971m 446m…
fortm
  • 4,066
  • 5
  • 49
  • 79
0
votes
1 answer

Use filter from test scope in web.xml

I have a project that is used as a base for a number of different webapps. I'm trying to run it in "test" mode using the jetty-maven plugin. The project is a multi-module project. The Filter is located in another module, which is a dependency of…
Celos
  • 517
  • 5
  • 18
0
votes
1 answer

maven jetty plugin : javax.mail.Session cannot be cast to javax.mail.Session

OK, this is baffling me. I am trying to get the jetty maven plugin running with mail. I am restricted to 6.1.15 because we are using JDK 1.6. I keep on getting this exception. org.springframework.beans.factory.BeanCreationException: Error creating…
Coen Damen
  • 2,009
  • 5
  • 29
  • 51
0
votes
2 answers

How to hot redeploy non-active maven project via jetty-maven-plugin

I'm trying to evaluate jetty for rapid development or project which is currently running on tomcat. My configuration looks like org.eclipse.jetty
Ivan Savchenko
  • 168
  • 2
  • 6
0
votes
1 answer

Eclipse Plug-in Jetty Server Root Directory Location

I'm developing on Google Glass with the mirror API. I am building off the Java starter project [https://www.youtube.com/watch?v=w0WxkIEPJeQ][1]. In my app, I want one of my timeline cards to have html with an image tag whose 'src' attribute is…
0
votes
1 answer

How to run Jetty forked Mojo on unextracted war dependency while overlaying jar project?

I have a jar type project. This jar is an "extension module" which goes to WEB-INF/lib of a third party webapp (which is available on a public maven repo). In pom.xml, I have a war type dependency on that webapp. I would like to be able run mvn…
Andreas Steffan
  • 6,039
  • 2
  • 23
  • 25
0
votes
1 answer

Maven failsafe: Start jetty in different directory

I have a maven project with different modules, one of them containing my web services container, another containing my integration tests looking something like this: -ProjectRoot --[...] --WebService --IntegrationTests I would like to use the…
Malik Atalla
  • 193
  • 8
0
votes
1 answer

Tags included from libraries in `WEB-INF/lib` folder stopped working after update to Jetty 9.2.2.v20140723

I updated Jetty (and Jetty Maven plugin) from 9.2.1.v20140609 to 9.2.2.v20140723 and now this exception is thrown when I try to access any webpage of my application: org.apache.jasper.JasperException: /WEB-INF/(...).jsp (line: 2, column: 0) The…
user11153
  • 8,536
  • 5
  • 47
  • 50
0
votes
1 answer

HttpSession class not found

I am building a project using groovy on grails 2.3.7. Rather that using the default grails plugins I want to configure the plugins as maven dependencies. I also want to use jetty server instead of tomcat server and mongodb instead of the regular…
Rammohan
  • 493
  • 6
  • 27
0
votes
2 answers

Jetty Maven can not find dev.properties from parent project

We have a parent project with multiple sub projects below. Some of them are producing a war and other are producing a jar. Inside the parent project, there is a dev.properties file. It is in the…
giannisapi
  • 2,641
  • 3
  • 24
  • 31
0
votes
0 answers

Error opening JDO Meta-Data file after hot redeployment

I have a project with 2 modules module-b.jar and module-a.war. The first module is a dependency for the second one which I deploy to the jetty server using the jetty:run goal of the maven jetty plugin. I configured the hot redeployment plugin…
ahmehri
  • 756
  • 2
  • 8
  • 26