eclipse の 「新規」→ 「Springプロジェクト」で生成したプロジェクト(MySampleApp1 )のコンパイルしようとした際、ビルドエラーが出てしまい困っています。
環境は
Java1.7
eclipse4.4(以下のものがインストールされています)
・Eclipse用 Maven統合(Luna)1.5.0
・m2e-apt 1.1.1
・Maven(JavaEE)Integration for Eclipse WTP(Luna)1.1.0
・STS for Eclipse Luna(4.4) 3.6.2.Release
Maven3.2.3
となっております。
原因を調べたのですが結局わからず、ここに投稿させていただきました。
よろしくお願い致します。
lang
1ビルド中にエラーが発生しました。 2プロジェクト 'MySampleApp1' でビルダー 'Maven プロジェクト・ビルダー' の実行中にエラーが発生しました。 3ビルド・プランを計算できませんでした: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6 4Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6 5ビルド・プランを計算できませんでした: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6 6Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6
pom.xmlは以下のようになっております。
lang
1<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 2 <modelVersion>4.0.0</modelVersion> 3 <groupId>org.springframework.samples</groupId> 4 <artifactId>MySampleApp1</artifactId> 5 <version>0.0.1-SNAPSHOT</version> 6 7 <properties> 8 9 <!-- Generic properties --> 10 <java.version>1.6</java.version> 11 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> 12 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> 13 14 <!-- Spring --> 15 <spring-framework.version>3.2.3.RELEASE</spring-framework.version> 16 17 <!-- Hibernate / JPA --> 18 <hibernate.version>4.2.1.Final</hibernate.version> 19 20 <!-- Logging --> 21 <logback.version>1.0.13</logback.version> 22 <slf4j.version>1.7.5</slf4j.version> 23 24 <!-- Test --> 25 <junit.version>4.11</junit.version> 26 27 </properties> 28 29 <dependencies> 30 <!-- Spring and Transactions --> 31 <dependency> 32 <groupId>org.springframework</groupId> 33 <artifactId>spring-context</artifactId> 34 <version>${spring-framework.version}</version> 35 </dependency> 36 <dependency> 37 <groupId>org.springframework</groupId> 38 <artifactId>spring-tx</artifactId> 39 <version>${spring-framework.version}</version> 40 </dependency> 41 42 <!-- Logging with SLF4J & LogBack --> 43 <dependency> 44 <groupId>org.slf4j</groupId> 45 <artifactId>slf4j-api</artifactId> 46 <version>${slf4j.version}</version> 47 <scope>compile</scope> 48 </dependency> 49 <dependency> 50 <groupId>ch.qos.logback</groupId> 51 <artifactId>logback-classic</artifactId> 52 <version>${logback.version}</version> 53 <scope>runtime</scope> 54 </dependency> 55 56 <!-- Hibernate --> 57 <dependency> 58 <groupId>org.hibernate</groupId> 59 <artifactId>hibernate-entitymanager</artifactId> 60 <version>${hibernate.version}</version> 61 </dependency> 62 63 64 <!-- Test Artifacts --> 65 <dependency> 66 <groupId>org.springframework</groupId> 67 <artifactId>spring-test</artifactId> 68 <version>${spring-framework.version}</version> 69 <scope>test</scope> 70 </dependency> 71 <dependency> 72 <groupId>junit</groupId> 73 <artifactId>junit</artifactId> 74 <version>${junit.version}</version> 75 <scope>test</scope> 76 </dependency> 77 78 </dependencies> 79</project> 80

回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2014/12/17 02:36