PDA

View Full Version : Failed to import greenhouse into STS



gene_luo
Dec 3rd, 2010, 03:16 AM
New STS downloaded yesterday.
Fresh greenhouse pull yesterday.

When I import greenhouse as Existing Maven Project into STS, some error messages show.

"Missing artifact org.hibernate:hibernate-validator:jar:4.1.0.Final:compile"

I can't find any related information. Need help~!

Lori
Dec 8th, 2010, 03:51 AM
Just a wild guess as i have no idea what STS is. But the prefix :compile after validator:jar:4.1.0.Final looks very susicious. Whereever that comes from - is there any pom.xml that has this suffix in the <version> tag? Never seen something like that.

Keith Donald
Dec 8th, 2010, 08:45 AM
Would make sure you're using STS 2.5.1 The import should just work.

STS stands for SpringSource Tool Suite, which is Spring's free Eclipse-based IDE distribution.

Keith

gene_luo
Dec 8th, 2010, 09:14 AM
It seems that the repo for hibernate-vaildator doesn't work.
I installed the jar file locally and then everything works fine.

Keith Donald
Dec 8th, 2010, 10:35 AM
Good point. Hibernate Validator is hosted by JBoss in there repository. Possibly it was down when you attempted to do a build. It seems to be fine now (see https://repository.jboss.org/nexus/content/repositories/releases/).

Keith