Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Talk:Jetty/Tutorial/Jetty and Maven HelloWorld

A POM file seems to be missing in "Developing a Standard WebApp with Jetty and Maven" example

Hello,

When running "mvn jetty:run", I've got :

[ERROR] BUILD ERROR

[INFO] ------------------------------------------------------------------------

[INFO] The plugin 'org.apache.maven.plugins:maven-jetty-plugin' does not exist or no valid version could be found


Using "mvn org.mortbay.jetty:maven-jetty-plugin:run" instead gave:

[ERROR] BUILD ERROR

[INFO] ------------------------------------------------------------------------

[INFO] Cannot execute mojo: resources. It requires a project with an existing pom.xml, but the build is not using one.


Maybe a POM file or some steps are missing in example.

Please, apologize if this demand is wrong as I'm rather new to either maven and jetty.

Regards

Back to the top