Results 1 to 5 of 5

Thread: Failed to import greenhouse into STS

  1. #1
    Join Date
    Sep 2006
    Posts
    2

    Default Failed to import greenhouse into STS

    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~!

  2. #2
    Join Date
    Sep 2007
    Location
    Hamburg, Germany
    Posts
    54

    Default

    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.

  3. #3
    Join Date
    Aug 2004
    Location
    Melbourne, FL
    Posts
    2,794

    Default

    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
    Keith Donald
    Core Spring Development Team

  4. #4
    Join Date
    Sep 2006
    Posts
    2

    Default

    It seems that the repo for hibernate-vaildator doesn't work.
    I installed the jar file locally and then everything works fine.

  5. #5
    Join Date
    Aug 2004
    Location
    Melbourne, FL
    Posts
    2,794

    Default

    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/c...ries/releases/).

    Keith
    Keith Donald
    Core Spring Development Team

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •