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.
I do some of my very best work in water. Like this tiny ad: