質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.48%
Spring

Spring Framework は、Javaプラットフォーム向けのオープンソースアプリケーションフレームワークです。 Java Platform上に、 Web ベースのアプリケーションを設計するための拡張機能が数多く用意されています。

Q&A

解決済

1回答

4745閲覧

Spring Web Mavenプロジェクトを作る際に出てきたエラーが良くわかりせん

退会済みユーザー

退会済みユーザー

総合スコア0

Spring

Spring Framework は、Javaプラットフォーム向けのオープンソースアプリケーションフレームワークです。 Java Platform上に、 Web ベースのアプリケーションを設計するための拡張機能が数多く用意されています。

0グッド

0クリップ

投稿2018/07/07 10:18

編集2018/07/08 10:20

Spring Web Mavenプロジェクトを作る際に以下のエラーが出ました。
どうすれば解決できるのでしょうか

Error during build of project [MySampleWebApp1]
Errors occurred during the build.
Errors running builder 'Maven Project Builder' on project 'MySampleWebApp1'.
Could not calculate build plan: Plugin org.apache.maven.plugins:maven-war-plugin:2.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-war-plugin:jar:2.2
Plugin org.apache.maven.plugins:maven-war-plugin:2.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-war-plugin:jar:2.2
Could not calculate build plan: Plugin org.apache.maven.plugins:maven-war-plugin:2.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-war-plugin:jar:2.2
Plugin org.apache.maven.plugins:maven-war-plugin:2.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-war-plugin:jar:2.2

index.jspでエラーになっている箇所は以下です
"http://java.sun.com/jsp/jstl/core"
"http://www.springframework.org/tags"

エラー内容:Multiple annotations found at this line:

jstl/core"

Multiple annotations found at this line:

  • Can not find the tag library descriptor for "http://

www.springframework.org/tags"

  • Can not find the tag library descriptor for "http://

www.springframework.org/tags"

長くなってしまいましたが、最後まで読んでいただきありがとうございます。ご回答宜しくお願い致します。

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

回答1

0

ベストアンサー

自力で解決できました。どうもSTS起動すると、ローカルリポジトリフォルダに情報を書き込んでいくみたいです。また、プロジェクトを作成すると、また情報を書き込んでいきます。自分はSTSを削除したり、インストールしたり、したので、古いリポジトリ情報がローカルに残ってしまって、プロジェクトを作成すると、いろいろ変なエラーが出てしまいました。なので、解決策はローカルリポジトリフォルダを一旦削除してからプロジェクトを作成すること。

投稿2018/07/08 10:21

退会済みユーザー

退会済みユーザー

総合スコア0

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.48%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問