IPGRAY : Primefaces - how to resolve primefaces maven build error - Could not resolve dependencies

preview_player
Показать описание
IPGRAY : Primefaces - How to resolve primefaces maven build error

This video shows how to resolve primefaces maven build error - Could not resolve dependencies

The error will look similar to the following

Failed to execute goal on project test: Could not resolve dependencies for project test:war:2.0:
Failed to collect dependencies for [javax:javaee-web-api:jar:7.0 (provided),

was cached in the local repository,
resolution will not be reattempted until the update interval of central-no-ssl has elapsed
or updates are forced [Help 1]

To fix the issue all you have to do is

(try from comman line)

add the following to POM.XML file


why we have to add this!! because Primefaces decided not to add their libraries
in maven repository and we have to download from primefaces repository

now Run the maven command

1. mvn clean install -X

(if you get SSL cert error then use the following command)

use the following to ignore SSL

Follow more IPGRAY videos in youtube
-----------------
thank you for watching IPGRAY video
please share, subscribe and comment

visit
for more IT articles, documents and videos
Рекомендации по теме