Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not download from pretty-time dependency, "could not find artifact" in IntelliJ Idea #254

Open
ThanhTC266 opened this issue Dec 12, 2022 · 2 comments

Comments

@ThanhTC266
Copy link

ThanhTC266 commented Dec 12, 2022

Hello. I'm doing a tutorial of Java Brains and he use your team dependency at 30:38 , here is the link:
https://youtu.be/tfmFRrPz52s

but things is going wrong when I import your dependency and get some error, I think that it is from your side. Here is the log and I'm using IntelliJ idea, maven project.
"Could not find artifact org.ocpsoft.prettytime:prettytime-integration-jsf:pom:unknown in central (https://repo.maven.apache.org/maven2) "
8 5
This is when I add version to the dependency, seems nothing downloaded
8 6
Because then I can not use PrettyTime object in my code
8 7

@ShareASmile
Copy link
Contributor

ShareASmile commented Dec 12, 2022

version 5.0.7 final is the latest, you should try that.

@lincolnthree
Copy link
Member

lincolnthree commented Dec 14, 2022

It's there in central: https://repo1.maven.org/maven2/org/ocpsoft/prettytime/prettytime-integration-jsf/
As @ShareASmile said I'd try the latest version, though. Make sure you actually run the dependency install step. Your tools may not be doing it for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants