• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
  • Tim Holloway
  • Carey Brown
  • salvin francis

Not able to execute a maven web project in Eclipse

Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am facing below error while running on server in Eclipse:

System Configuration:
OS: WIndows 8.1 (64-bit)
Tomcat: 8.0.30 (64-bit)
Java: jdk 1.8.0_45 (64-bit)
Maven version: 3.3.9 on C:/
Eclipse: Luna 4.4.2

Steps followed:
1. Configure maven in eclipse
  • Updated the settings.xml file with custom repositories path placed on C:\apache-maven-3.3.9\conf

  • 2. In Eclipse:

  • Click Project-->Preferences-->Maven. Selected the artifacts download options
  • Click Maven-->Installations. Added the maven installation (C:\apache-maven-3.3.9) and set it as default
  • Click Maven-->Templates. Below mention Templates are in "Off" mode
    "m2e profile","m2e-wtp activation,"m2e-wtp JAX-RS activation","m2e-wtp JPA activation","m2e-wtp JSF activation",
    "m2e-wtp's specific context root property"
  • Click Maven-->User Settings. Global Setting,Local Settings point to C:\apache-maven-3.3.9\conf\settings.xml
    LocalRepository points to custom repositores path as below:

  • 3. Created a new dynamic web project (project name: OnlineLibrary). Renamed the src folder as per Maven project strucutre.
    4. Right clicked on project -->Configure-->Convert to Maven Project. Right click on the project-->Maven. Selected Resolve
    dependency from workspace projects.
    5. Added required dependencies to the project.
    6. Project Build successful as per Maven clean, build, install process.

    Please help.

    I do some of my very best work in water. Like this tiny ad:
    Java file APIs (DOC, XLS, PDF, and many more)
    • Post Reply Bookmark Topic Watch Topic
    • New Topic
    Boost this thread!