Migration Guide 5.0.1_ja - terasolunaorg/terasoluna-gfw GitHub Wiki

5.0.0から5.0.1への移行ガイド

.. only:: html

 .. contents:: 目次
    :depth: 2
    :local:

5.0.1での主な変更点

5.0.1での主な変更点は以下の通りです。

  • Spring Frameworkを4.1.7へ更新
  • JSTLを1.2.5へ更新
  • Spring IO Platformを1.1.3へ更新
  • バグ修正するために共通ライブラリの一部仕様を変更
  • ブランクプロジェクトの改善

Spring Frameworkを4.1.7へ更新

5.0.1から、セキュリティ脆弱性を解決するためにSpring Frameworkを4.1.7.RELEASEへ更新しました。

JSTLを1.2.5へ更新

5.0.1から、セキュリティ脆弱性を解決するために JSTLを1.2.5へ更新しました。

Spring IO Platformを1.1.3へ更新

5.0.1から、Spring IO Platformを1.1.3.RELEASEへ更新しました。 この更新は、上の2つのセキュリティ脆弱性を解決するために行い、結果として以下のライブラリも更新しました。

  • Spring Securityを3.2.7.RELEASEへ更新
  • Spring Data Commonsを1.9.3.RELEASEへ更新
  • Spring Data JPAを1.7.3.RELEASEへ更新
  • AspectJを1.8.6へ更新
  • Jacksonを2.4.6へ更新
  • Logbackを1.1.3へ更新
  • SLF4Jを1.7.12へ更新
  • Hibernate ORMを4.3.10.Finalへ更新

バグ修正するために共通ライブラリの一部仕様を変更

5.0.0.RELEASEの以下のバグを修正するために、5.0.1から、共通ライブラリ内の一部の仕様を変更しました。

  • [#285] There are cases that cannot access Code List from the jsp
  • [#297] f:query throws ConverterNotFoundException when the target object contains nested field

ブランクプロジェクトの改善

5.0.1から、ブランクプロジェクトの一部の設定ファイルを改善しました。

  • [multi#126] [single#99] Use property to resolve a log output directory in logback.xml
  • [single#105] logback.xml is different between terasoluna-gfw-web-multi-blank and terasoluna-gfw-web-blank
  • [multi#110] When deploy as root context, can't be go back to the top page
  • [multi#131] Specify UTF-8 as default encoding to <jdbc:script >

5.0.0から5.0.1への移行手順

移行手順は、以下の通りです。

Note

凡例

Required : 手順の適用は必須
Required by case : 手順の適用は条件付きで必須
Optional : 手順の適用を推奨 (必要に応じて手順の適用を実施)
- : 手順の適用は必要なし

[全般]

.. tabularcolumns:: |p{0.10\linewidth}|p{0.30\linewidth}|p{0.20\linewidth}|p{0.20\linewidth}|p{0.20\linewidth}|
ステップ 手順 MavenMultiple Projects MavenSingle Project EclipseWTP Project
依存ライブラリを更新 Required Required Required

[ブランクプロジェクトの改善]

.. tabularcolumns:: |p{0.10\linewidth}|p{0.30\linewidth}|p{0.20\linewidth}|p{0.20\linewidth}|p{0.20\linewidth}|
ステップ 手順 MavenMultiple Projects MavenSingle Project EclipseWTP Project
ログ出力ディレクトリ設定の改善を適用 Optional Optional Optional
いくつかのログ設定の修正を適用 - Optional Optional
トップページへ戻るためのURLの修正を適用 Required by case - -
<jdbc:script> の文字コード設定の改善を適用 Optional - -

[Step 1] 依存ライブラリを更新

TERASOLUNA Server Framework for Java (5.x)の共通ライブラリと依存ライブラリを更新してください。

.. tabularcolumns:: |p{0.35\linewidth}|p{0.25\linewidth}|p{0.25\linewidth}|p{0.15\linewidth}|
ライブラリ名 更新前バージョン 更新後バージョン 備考
TERASOLUNA Server Framework for Java (5.x) Common Library 5.0.0.RELEASE 5.0.1.RELEASE  
Spring Framework 4.1.4.RELEASE 4.1.7.RELEASE  
Spring Security 3.2.5.RELEASE 3.2.7.RELEASE  
Spring Data Commons 1.9.1.RELEASE 1.9.3.RELEASE  
Spring Data JPA 1.7.1.RELEASE 1.7.3.RELEASE  
Hibernate 4.3.7.Final 4.3.10.Final  
AspectJ 1.8.4 1.8.6  
Logback 1.1.2 1.1.3  
SLF4J 1.7.8 1.7.12  
Jackson 2.4.4 2.4.6  
JSTL 1.2 1.2.5  

[Procedure's required cases]

この手順の適用は必須です。 この更新を適用すると、二つのセキュリティ脆弱性と共通ライブラリのバグが解決されます。

[Step 1-1] Maven Multiple Projectsを利用している場合

この更新手順は、mvn archetype を使用して作成したプロジェクト向けです。

親プロジェクトのpomファイルを更新してください。 ($YOUR_MULTIPLE_PROJECT_ROOT/pom.xml)

<!-- omitted -->
<parent>
    <groupId>org.terasoluna.gfw</groupId>
    <artifactId>terasoluna-gfw-parent</artifactId>
    <version>5.0.1.RELEASE</version> <!-- ### 編集が必要 ### -->
</parent>
<!-- omitted -->

[Step 1-2] Maven Single Projectを利用している場合

この更新手順は、mvn archetype を使用して作成したプロジェクト、又は release site からダウンロードしたプロジェクト向けです。

プロジェクトのpomファイルを更新してください。 ($YOUR_SINGLE_PROJECT/pom.xml)

<!-- omitted -->
<parent>
    <groupId>org.terasoluna.gfw</groupId>
    <artifactId>terasoluna-gfw-parent</artifactId>
    <version>5.0.1.RELEASE</version> <!-- ### 編集が必要 ### -->
</parent>
<!-- omitted -->

[Step 1-3] Eclipse WTP Projectを利用している場合

この更新手順は、release site からダウンロードしたEclipse WTPプロジェクト向けです。

更新手順は、Eclipse WTP Project使用時のライブラリ更新 を参照してください。

[Step 2] ログ出力ディレクトリ設定の改善を適用

5.0.1から、ログ出力ディレクトリの設定にプレースフォルダーを使用するように改善されました。 詳細な情報は、GitHub multi#126 又は GitHub single#99 を参照してください。 この改善を適用すると、ログ出力ディレクトリはJavaシステムプロパティ(-D<name>=<value>)を使って指定することができます。

[手順が必要なケース]

この手順の適用は任意です。 必要に応じて、次の修正を行ってください。

[修正方法]

以下のいずれかのファイルにて、プレースフォルダー(${app.log.dir:-log})を使うように修正してください。

  • $YOUR_MULTIPLE_PROJECT_ROOT/xxx-env/src/main/resources/logback.xml
  • $YOUR_SINGLE_PROJECT/src/main/resources/logback.xml
  • $YOUR_ECLIPSE_WTP_PROJECT/src/main/resources/logback.xml
<file>${app.log.dir:-log}/projectName-application.log</file> <!-- ### 編集が必要 ### -->

[参考]

5.0.0におけるデフォルト設定は以下の通りです。

<file>log/projectName-application.log</file>

[Step 3] いくつかのログ設定の修正を適用

5.0.1から、ブランクプロジェクトの3つのログ設定が変更されました。 詳細な情報は、GitHub single#105 を参照してください。

[手順が必要なケース]

この手順の適用は任意です。 必要に応じて、次の修正を行ってください。

[修正方法]

以下のいずれかのファイルにて、設定値を修正してください。

  • $YOUR_SINGLE_PROJECT/src/main/resources/logback.xml
  • $YOUR_ECLIPSE_WTP_PROJECT/src/main/resources/logback.xml

3つの変更点は以下の通りです。

  1. <!DOCTYPE logback> から <?xml version="1.0" encoding="UTF-8"?> へ置き換え
  2. "org.terasoluna.gfw" のログレベルを "debug" から "info" へ変更
  3. "jdbc.resultsettable" のログ定義を追加
<?xml version="1.0" encoding="UTF-8"?> <!-- ### 置き換えが必要 ### -->
<configuration>

    <!-- ... -->

    <logger name="org.terasoluna.gfw">
        <level value="info" /> <!-- ### 編集が必要 ### -->
    </logger>

    <!-- ... -->

    <!-- only for development -->
    <logger name="jdbc.resultsettable"> <!-- ### 追加が必要 ### -->
        <level value="debug" />
    </logger>

    <!-- ... -->

</configuration>

[参考]

5.0.0におけるデフォルト設定は以下の通りです。

<!DOCTYPE logback>
<configuration>

    <!-- ... -->

    <logger name="org.terasoluna.gfw">
        <level value="debug" />
    </logger>

    <!-- ... -->

</configuration>

[Step 4] トップページへ戻るためのURLの修正を適用

5.0.1から、トップページへ戻るためのURLが改善されました。 詳細な情報は、GitHub multi#110 を参照してください.

[手順が必要なケース]

以下のケースに一致する場合は、次の修正を適用してください。

  • アプリケーションをルートコンテキスト("/")へデプロイする場合

[修正方法]

以下のファイルにて、${pageContext.request.contextPath} の後に "/" 文字を追加してください。

  • $YOUR_MULTIPLE_PROJECT_ROOT/xxx-web/src/main/webapp/WEB-INF/views/layout/header.jsp

Note

対象ファイルについて

同じような実装が行われているJSPファイルが対象ファイルになります。

<a href="${pageContext.request.contextPath}/">projectName</a> <%-- ### 編集が必要 ### --%>

[参考]

5.0.0におけるデフォルト実装は以下の通りです。

<a href="${pageContext.request.contextPath}">projectName</a>

[Step 5] <jdbc:script> の文字コード設定の改善を適用

5.0.1から、<jdbc:script> の文字コード設定が改善されました。 詳細な情報は、GitHub multi#131 を参照してください。

[手順が必要なケース]

この手順の適用は任意です。 必要に応じて、次の修正を行ってください。

[修正方法]

以下のファイルに文字コードの設定(encoding="UTF-8")を追加してください。

  • $YOUR_MULTIPLE_PROJECT_ROOT/xxx-env/src//main/resources/META-INF/spring/xxx-env.xml
<jdbc:initialize-database data-source="dataSource"
    ignore-failures="ALL">
    <jdbc:script location="classpath:/database/${database}-schema.sql" encoding="UTF-8" /> <!-- ### 編集が必要 ### -->
    <jdbc:script location="classpath:/database/${database}-dataload.sql" encoding="UTF-8" /> <!-- ### 編集が必要 ### -->
</jdbc:initialize-database>

[参考]

5.0.0におけるデフォルト設定は以下の通りです。

<jdbc:initialize-database data-source="dataSource"
    ignore-failures="ALL">
    <jdbc:script location="classpath:/database/${database}-schema.sql" />
    <jdbc:script location="classpath:/database/${database}-dataload.sql" />
</jdbc:initialize-database>

5.0.1用のAppendix

Eclipse WTP Project使用時のライブラリ更新

この更新手順は、release site からダウンロードしたEclipse WTPプロジェクト向けです。

Note

凡例

[テーブルヘッダ]
Non : O/R Mapperに非依存のブランクプロジェクト
MB3 : MyBatis3用のブランクプロジェクト
JPA : JPA用のブランクプロジェクト
[備考欄]
* : オペレーション対象

[Step 1]

Eclipse WTP Project of 5.0.1.RELEASE をダウンロードしてください。

[Step 2]

Eclipseが起動している場合、Eclipseを終了します。

[Step 3]

$YOUR_ECLIPSE_WTP_PROJECT/src/main/webapp/WEB-INF/lib のjarファイルを更新(削除して追加)してください。

.. tabularcolumns:: |p{0.25\linewidth}|p{0.30\linewidth}|p{0.30\linewidth}|p{0.05\linewidth}|p{0.05\linewidth}|p{0.05\linewidth}|
ライブラリ名 削除ファイル 追加ファイル Non MB3 JPA
TERASOLUNA Server Framework for Java (5.x) Common Library terasoluna-gfw-common-5.0.0.RELEASE.jar terasoluna-gfw-common-5.0.1.RELEASE.jar * * *
  terasoluna-gfw-web-5.0.0.RELEASE.jar terasoluna-gfw-web-5.0.1.RELEASE.jar * * *
  terasoluna-gfw-security-core-5.0.0.RELEASE.jar terasoluna-gfw-security-core-5.0.1.RELEASE.jar * * *
  terasoluna-gfw-security-web-5.0.0.RELEASE.jar terasoluna-gfw-security-web-5.0.1.RELEASE.jar * * *
  terasoluna-gfw-mybatis3-5.0.0.RELEASE.jar terasoluna-gfw-mybatis3-5.0.1.RELEASE.jar   *  
  terasoluna-gfw-jpa-5.0.0.RELEASE.jar terasoluna-gfw-jpa-5.0.1.RELEASE.jar     *
  terasoluna-gfw-jodatime-5.0.0.RELEASE.jar terasoluna-gfw-jodatime-5.0.1.RELEASE.jar * * *
Spring Framework spring-aop-4.1.4.RELEASE.jar spring-aop-4.1.7.RELEASE.jar * * *
  spring-aspects-4.1.4.RELEASE.jar spring-aspects-4.1.7.RELEASE.jar * * *
  spring-beans-4.1.4.RELEASE.jar spring-beans-4.1.7.RELEASE.jar * * *
  spring-context-4.1.4.RELEASE.jar spring-context-4.1.7.RELEASE.jar * * *
  spring-context-support-4.1.4.RELEASE.jar spring-context-support-4.1.7.RELEASE.jar * * *
  spring-core-4.1.4.RELEASE.jar spring-core-4.1.7.RELEASE.jar * * *
  spring-expression-4.1.4.RELEASE.jar spring-expression-4.1.7.RELEASE.jar * * *
  spring-jdbc-4.1.4.RELEASE.jar spring-jdbc-4.1.7.RELEASE.jar * * *
  spring-orm-4.1.4.RELEASE.jar spring-orm-4.1.7.RELEASE.jar * * *
  spring-tx-4.1.4.RELEASE.jar spring-tx-4.1.7.RELEASE.jar * * *
  spring-web-4.1.4.RELEASE.jar spring-web-4.1.7.RELEASE.jar * * *
  spring-webmvc-4.1.4.RELEASE.jar spring-webmvc-4.1.7.RELEASE.jar * * *
Spring Data Commons spring-data-commons-1.9.1.RELEASE.jar spring-data-commons-1.9.3.RELEASE.jar * * *
Spring Security spring-security-acl-3.2.5.RELEASE.jar spring-security-acl-3.2.7.RELEASE.jar * * *
  spring-security-config-3.2.5.RELEASE.jar spring-security-config-3.2.7.RELEASE.jar * * *
  spring-security-core-3.2.5.RELEASE.jar spring-security-core-3.2.7.RELEASE.jar * * *
  spring-security-taglibs-3.2.5.RELEASE.jar spring-security-taglibs-3.2.7.RELEASE.jar * * *
  spring-security-web-3.2.5.RELEASE.jar spring-security-web-3.2.7.RELEASE.jar * * *
Hibernate hibernate-core-4.3.7.Final.jar hibernate-core-4.3.10.Final.jar     *
  hibernate-entitymanager-4.3.7.Final.jar hibernate-entitymanager-4.3.10.Final.jar     *
Spring Data JPA spring-data-jpa-1.7.1.RELEASE.jar spring-data-jpa-1.7.3.RELEASE.jar     *
AspectJ aspectjrt-1.8.4.jar aspectjrt-1.8.6.jar * * *
  aspectjweaver-1.8.4.jar aspectjweaver-1.8.6.jar * * *
Logback logback-classic-1.1.2.jar logback-classic-1.1.3.jar * * *
  logback-core-1.1.2.jar logback-core-1.1.3.jar * * *
SLF4J jcl-over-slf4j-1.7.8.jar jcl-over-slf4j-1.7.12.jar * * *
  slf4j-api-1.7.8.jar slf4j-api-1.7.12.jar * * *
Jackson jackson-annotations-2.4.4.jar jackson-annotations-2.4.6.jar * * *
  jackson-core-2.4.4.jar jackson-core-2.4.6.jar * * *
  jackson-databind-2.4.4.jar jackson-databind-2.4.6.jar * * *
  jackson-datatype-joda-2.4.4.jar jackson-datatype-joda-2.4.6.jar * * *
JSTL jstl-1.2.jar - * * *
  - taglibs-standard-jstlel-1.2.5.jar * * *
  - taglibs-standard-spec-1.2.5.jar * * *
  - taglibs-standard-impl-1.2.5.jar * * *

[Step 4]

$YOUR_ECLIPSE_WTP_PROJECT/src/main/webapp/WEB-INF/libsrc のソース格納用jarファイルを更新(削除して追加)してください。

.. tabularcolumns:: |p{0.25\linewidth}|p{0.30\linewidth}|p{0.30\linewidth}|p{0.05\linewidth}|p{0.05\linewidth}|p{0.05\linewidth}|
ライブラリ名 削除ファイル 追加ファイル Non MB3 JPA
TERASOLUNA Server Framework for Java (5.x) Common Library terasoluna-gfw-common-5.0.0.RELEASE-sources.jar terasoluna-gfw-common-5.0.1.RELEASE-sources.jar * * *
  terasoluna-gfw-web-5.0.0.RELEASE-sources.jar terasoluna-gfw-web-5.0.1.RELEASE-sources.jar * * *
  terasoluna-gfw-security-core-5.0.0.RELEASE-sources.jar terasoluna-gfw-security-core-5.0.1.RELEASE-sources.jar * * *
  terasoluna-gfw-security-web-5.0.0.RELEASE-sources.jar terasoluna-gfw-security-web-5.0.1.RELEASE-sources.jar * * *
  terasoluna-gfw-mybatis3-5.0.0.RELEASE-sources.jar terasoluna-gfw-mybatis3-5.0.1.RELEASE-sources.jar   *  
  terasoluna-gfw-jpa-5.0.0.RELEASE-sources.jar terasoluna-gfw-jpa-5.0.1.RELEASE-sources.jar     *
  terasoluna-gfw-jodatime-5.0.0.RELEASE-sources.jar terasoluna-gfw-jodatime-5.0.1.RELEASE-sources.jar * * *
Spring Framework spring-aop-4.1.4.RELEASE-sources.jar spring-aop-4.1.7.RELEASE-sources.jar * * *
  spring-aspects-4.1.4.RELEASE-sources.jar spring-aspects-4.1.7.RELEASE-sources.jar * * *
  spring-beans-4.1.4.RELEASE-sources.jar spring-beans-4.1.7.RELEASE-sources.jar * * *
  spring-context-4.1.4.RELEASE-sources.jar spring-context-4.1.7.RELEASE-sources.jar * * *
  spring-context-support-4.1.4.RELEASE-sources.jar spring-context-support-4.1.7.RELEASE-sources.jar * * *
  spring-core-4.1.4.RELEASE-sources.jar spring-core-4.1.7.RELEASE-sources.jar * * *
  spring-expression-4.1.4.RELEASE-sources.jar spring-expression-4.1.7.RELEASE-sources.jar * * *
  spring-jdbc-4.1.4.RELEASE-sources.jar spring-jdbc-4.1.7.RELEASE-sources.jar * * *
  spring-orm-4.1.4.RELEASE-sources.jar spring-orm-4.1.7.RELEASE-sources.jar * * *
  spring-tx-4.1.4.RELEASE-sources.jar spring-tx-4.1.7.RELEASE-sources.jar * * *
  spring-web-4.1.4.RELEASE-sources.jar spring-web-4.1.7.RELEASE-sources.jar * * *
  spring-webmvc-4.1.4.RELEASE-sources.jar spring-webmvc-4.1.7.RELEASE-sources.jar * * *
Spring Data Commons spring-data-commons-1.9.1.RELEASE-sources.jar spring-data-commons-1.9.3.RELEASE-sources.jar * - *
Spring Security spring-security-acl-3.2.5.RELEASE-sources.jar spring-security-acl-3.2.7.RELEASE-sources.jar * * *
  spring-security-config-3.2.5.RELEASE-sources.jar spring-security-config-3.2.7.RELEASE-sources.jar * * *
  spring-security-core-3.2.5.RELEASE-sources.jar spring-security-core-3.2.7.RELEASE-sources.jar * * *
  spring-security-taglibs-3.2.5.RELEASE-sources.jar spring-security-taglibs-3.2.7.RELEASE-sources.jar * * *
  spring-security-web-3.2.5.RELEASE-sources.jar spring-security-web-3.2.7.RELEASE-sources.jar * * *
Hibernate hibernate-core-4.3.7.Final-sources.jar hibernate-core-4.3.10.Final-sources.jar     *
  hibernate-entitymanager-4.3.7.Final-sources.jar hibernate-entitymanager-4.3.10.Final-sources.jar     *
Spring Data JPA spring-data-jpa-1.7.1.RELEASE-sources.jar spring-data-jpa-1.7.3.RELEASE-sources.jar     *
AspectJ aspectjrt-1.8.4-sources.jar aspectjrt-1.8.6-sources.jar * * *
  aspectjweaver-1.8.4-sources.jar aspectjweaver-1.8.6-sources.jar * * *
Logback logback-classic-1.1.2-sources.jar logback-classic-1.1.3-sources.jar * * *
  logback-core-1.1.2-sources.jar logback-core-1.1.3-sources.jar * * *
SLF4J jcl-over-slf4j-1.7.8-sources.jar jcl-over-slf4j-1.7.12-sources.jar * * *
  slf4j-api-1.7.8-sources.jar slf4j-api-1.7.12-sources.jar * * *
Jackson jackson-annotations-2.4.4-sources.jar jackson-annotations-2.4.6-sources.jar * * *
  jackson-core-2.4.4-sources.jar jackson-core-2.4.6-sources.jar * * *
  jackson-databind-2.4.4-sources.jar jackson-databind-2.4.6-sources.jar * * *
  jackson-datatype-joda-2.4.4-sources.jar jackson-datatype-joda-2.4.6-sources.jar * * *
JSTL jstl-1.2-sources.jar - * * *
  - taglibs-standard-jstlel-1.2.5-sources.jar * * *
  - taglibs-standard-spec-1.2.5-sources.jar * * *
  - taglibs-standard-impl-1.2.5-sources.jar * * *

[Step 5]

置換文字列を使用して、参照ライブラリを更新してください。

  • $YOUR_ECLIPSE_WTP_PROJECT/.classpath
  • $YOUR_ECLIPSE_WTP_PROJECT/build.xml
.. tabularcolumns:: |p{0.25\linewidth}|p{0.30\linewidth}|p{0.30\linewidth}|p{0.05\linewidth}|p{0.05\linewidth}|p{0.05\linewidth}|
ライブラリ名 置換対象文字 置換文字 Non MB3 JPA
TERASOLUNA Server Framework for Java (5.x) Common Library terasoluna-gfw-common-5.0.0.RELEASE terasoluna-gfw-common-5.0.1.RELEASE * * *
  terasoluna-gfw-web-5.0.0.RELEASE terasoluna-gfw-web-5.0.1.RELEASE * * *
  terasoluna-gfw-security-core-5.0.0.RELEASE terasoluna-gfw-security-core-5.0.1.RELEASE * * *
  terasoluna-gfw-security-web-5.0.0.RELEASE terasoluna-gfw-security-web-5.0.1.RELEASE * * *
  terasoluna-gfw-mybatis3-5.0.0.RELEASE terasoluna-gfw-mybatis3-5.0.1.RELEASE   *  
  terasoluna-gfw-jpa-5.0.0.RELEASE terasoluna-gfw-jpa-5.0.1.RELEASE     *
  terasoluna-gfw-jodatime-5.0.0.RELEASE terasoluna-gfw-jodatime-5.0.1.RELEASE * * *
Spring Framework spring-aop-4.1.4.RELEASE spring-aop-4.1.7.RELEASE * * *
  spring-aspects-4.1.4.RELEASE spring-aspects-4.1.7.RELEASE * * *
  spring-beans-4.1.4.RELEASE spring-beans-4.1.7.RELEASE * * *
  spring-context-4.1.4.RELEASE spring-context-4.1.7.RELEASE * * *
  spring-context-support-4.1.4.RELEASE spring-context-support-4.1.7.RELEASE * * *
  spring-core-4.1.4.RELEASE spring-core-4.1.7.RELEASE * * *
  spring-expression-4.1.4.RELEASE spring-expression-4.1.7.RELEASE * * *
  spring-jdbc-4.1.4.RELEASE spring-jdbc-4.1.7.RELEASE * * *
  spring-orm-4.1.4.RELEASE spring-orm-4.1.7.RELEASE * * *
  spring-tx-4.1.4.RELEASE spring-tx-4.1.7.RELEASE * * *
  spring-web-4.1.4.RELEASE spring-web-4.1.7.RELEASE * * *
  spring-webmvc-4.1.4.RELEASE spring-webmvc-4.1.7.RELEASE * * *
Spring Data Commons spring-data-commons-1.6.4.RELEASE spring-data-commons-1.9.1.RELEASE * * *
Spring Security spring-security-acl-3.2.5.RELEASE spring-security-acl-3.2.7.RELEASE * * *
  spring-security-config-3.2.5.RELEASE spring-security-config-3.2.7.RELEASE * * *
  spring-security-core-3.2.5.RELEASE spring-security-core-3.2.7.RELEASE * * *
  spring-security-taglibs-3.2.5.RELEASE spring-security-taglibs-3.2.7.RELEASE * * *
  spring-security-web-3.2.5.RELEASE spring-security-web-3.2.7.RELEASE * * *
Hibernate hibernate-core-4.3.7.Final hibernate-core-4.3.10.Final     *
  hibernate-entitymanager-4.3.7.Final hibernate-entitymanager-4.3.10.Final     *
Spring Data JPA spring-data-jpa-1.7.1.RELEASE spring-data-jpa-1.7.3.RELEASE     *
AspectJ aspectjrt-1.8.4 aspectjrt-1.8.6 * * *
  aspectjweaver-1.8.4 aspectjweaver-1.8.6 * * *
Logback logback-classic-1.1.2 logback-classic-1.1.3 * * *
  logback-core-1.1.2 logback-core-1.1.3 * * *
SLF4J jcl-over-slf4j-1.7.8 jcl-over-slf4j-1.7.12 * * *
  slf4j-api-1.7.8 slf4j-api-1.7.12 * * *

[Step 6]

Eclipse WTPプロジェクトの設定から参照ライブラリ(以下のjarファイル)を削除してください。

  • $YOUR_ECLIPSE_WTP_PROJECT/.classpath
  • $YOUR_ECLIPSE_WTP_PROJECT/build.xml
.. tabularcolumns:: |p{0.30\linewidth}|p{0.55\linewidth}|p{0.05\linewidth}|p{0.05\linewidth}|p{0.05\linewidth}|
ライブラリ名 削除対象jarファイルのプレフィックス Non MB3 JPA
JSTL jstl-1.2 * * *

[全てのブランクプロジェクト向けのステップ]

.classpath

<!-- ### 以下のクラスパスエントリーの削除が必要 ### -->

<!-- omitted -->

<classpathentry kind="lib"
    path="src/main/webapp/WEB-INF/lib/jstl-1.2.jar"
    sourcepath="libsrc/jstl-1.2-sources.jar" />

build.xml

<!-- ### 以下のクラスパスエントリーの削除が必要 ### -->

<path id="build.classpath">
    <!-- ... -->
    <pathelement location="${lib.dir}/jstl-1.2.jar"/>
    <!-- ... -->
</path>

[Step 7]

Eclipse WTPプロジェクトの設定に参照ライブラリ(jarファイル以下)を追加してください。

  • $YOUR_ECLIPSE_WTP_PROJECT/.classpath
  • $YOUR_ECLIPSE_WTP_PROJECT/build.xml
.. tabularcolumns:: |p{0.30\linewidth}|p{0.55\linewidth}|p{0.05\linewidth}|p{0.05\linewidth}|p{0.05\linewidth}|
ライブラリ名 追加対象jarファイルのプレフィックス Non MB3 JPA
JSTL taglibs-standard-jstlel-1.2.5 * * *
  taglibs-standard-spec-1.2.5 * * *
  taglibs-standard-impl-1.2.5 * * *

[全てのブランクプロジェクト向けのステップ]

.classpath

<!-- ### 以下のクラスパスエントリーの追加が必要 ### -->

<!-- ... -->

<classpathentry kind="lib"
    path="src/main/webapp/WEB-INF/lib/taglibs-standard-jstlel-1.2.5.jar"
    sourcepath="libsrc/taglibs-standard-jstlel-1.2.5-sources.jar" />

<classpathentry kind="lib"
    path="src/main/webapp/WEB-INF/lib/taglibs-standard-spec-1.2.5.jar"
    sourcepath="libsrc/taglibs-standard-jstlel-1.2.5-sources.jar" />

<classpathentry kind="lib"
    path="src/main/webapp/WEB-INF/lib/taglibs-standard-impl-1.2.5.jar"
    sourcepath="libsrc/taglibs-standard-impl-1.2.5-sources.jar" />

<!-- ... -->

build.xml

<!-- ### 以下のクラスパスエントリーの追加が必要 ### -->

<path id="build.classpath">
    <!-- ... -->
    <pathelement location="${lib.dir}/taglibs-standard-jstlel-1.2.5.jar"/>
    <pathelement location="${lib.dir}/taglibs-standard-spec-1.2.5.jar"/>
    <pathelement location="${lib.dir}/taglibs-standard-impl-1.2.5.jar"/>
    <!-- ... -->
</path>
⚠️ **GitHub.com Fallback** ⚠️