ecilpse中maven项目、配置pom.xml添加依赖jar包出错
提示是:Missingartifactjavax.servlet:servlet-api:jar:2.3DescriptionResourcePathLocationTy...
提示是:
Missing artifact javax.servlet:servlet-api:jar:2.3
Description Resource Path Location Type
ArtifactDescriptorException: Failed to read artifact descriptor for org.springframework:spring-context-support:jar:${spring.version}: ArtifactResolutionException: Could not transfer artifact org.springframework:spring-context-support:pom:${spring.version} from/to central (http://repo.maven.apache.org/maven2): IllegalArgumentException: URISyntaxException: Illegal character in path at index 80: http://repo.maven.apache.org/maven2/org/springframework/spring-context-support/${spring.version}/spring-context-support-${spring.version}.pom pom.xml /example-2 line 1 Maven Dependency Problem
我是直接从另一个项目的pom.xml中复制了dependency过去的,这样做是不是不对?要如何做? 展开
Missing artifact javax.servlet:servlet-api:jar:2.3
Description Resource Path Location Type
ArtifactDescriptorException: Failed to read artifact descriptor for org.springframework:spring-context-support:jar:${spring.version}: ArtifactResolutionException: Could not transfer artifact org.springframework:spring-context-support:pom:${spring.version} from/to central (http://repo.maven.apache.org/maven2): IllegalArgumentException: URISyntaxException: Illegal character in path at index 80: http://repo.maven.apache.org/maven2/org/springframework/spring-context-support/${spring.version}/spring-context-support-${spring.version}.pom pom.xml /example-2 line 1 Maven Dependency Problem
我是直接从另一个项目的pom.xml中复制了dependency过去的,这样做是不是不对?要如何做? 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询