Kirill  Bazarov Kirill Bazarov - 1 year ago 124
Java Question

Java, Maven dependencies

I'm new to Maven and JSF and I have the following problem when compiling my project:

Failed to execute goal on project ViewController: Could not resolve dependencies for project The following artifacts could not be resolved: com.sun.faces:jsf-api:jar:2.0.3-FCS, com.sun.faces:jsf-impl:jar:2.0.3-FCS, org.openfaces:openfaces:jar:3.0.2-KM, cssparser:cssparser:jar:0.9.5, it.eng.spago:sbi-utils:jar:3.3.0: Failure to find com.sun.faces:jsf-api:jar:2.0.3-FCS in was cached in the local repository, resolution will not be reattempted until the update interval of maven.maven2 has elapsed or updates are forced -> [Help 1

Answer Source

This is means that the artifact com.sun.faces:jsf-api:jar:2.0.3-FCS is absent in repository

Indeed, there is no jsf-api.jar with version 2.0.3-FCS in this repo. There's a list of available versions. So, you should change artifact version, or repository url

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download