Results 1 to 2 of 2

Thread: The same pom file in two projects. an error in one, but not the other

  1. #1

    Default The same pom file in two projects. an error in one, but not the other

    I copy the pom file of the new PetCare project to a new project. In the new project, an error says "Missing artifact javax.validation:validation-api:jar:1.0.0.GA:compile" on the both overview and dependencies screens while the other doesn't show this error message. When I click the "Artifact Id: *" link on the dependencies neither can download the pom.

    Shall I only care about the error message or not?
    [URL="http://vicina.info"] 新闻,社区新闻,分类广告

  2. #2

    Default

    I think I have a solution: using the following instead
    Code:
    		<repository>
    			<id>javax.validation.validation-api</id>
    			<name>Validation API</name>
    			<url>http://repository.jboss.com/maven2/javax/validation/validation-api</url>
    		</repository>
    [URL="http://vicina.info"] 新闻,社区新闻,分类广告

Posting Permissions

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