[Seasar-user:10826] テーブルがみつかりません プライマリーキーが見つかりません というエラーが出る

Tetsutaroh Satoh [E-MAIL ADDRESS DELETED]
2007年 10月 2日 (火) 14:15:04 JST


佐藤徹太郎です。
お世話になっております。

【環境】
Dolteng 0.17.0(Teeda+S2Dao)
DBLauncher 0.1.0
Eclipse 3.3
JDK 1.6
Tomcat 6.0.14

Eclipse 3.2では正常に動作していたプロジェクトが、Eclipse 3.3では、
「テーブル(book)が見つかりません」
「[EDAO0009]book.chura.entity.Bookにプライマリーキーが見つかりません」
というエラーが出てしまいます。
テーブルは、Eclipse 3.3にした時に、H2コンソールで再定義しました。
プライマリキーも定義してあります。

原因わかる方、ご教授いただけませんでしょうか?

以下、エラーログ

DEBUG 2007-10-02 11:03:02,828 [http-8080-1] [measurement] start date =
2007/10/02 11:03:02 812
JST(org.seasar.teeda.core.lifecycle.impl.RestoreViewPhase)
DEBUG 2007-10-02 11:03:03,359 [http-8080-1] クラス
(book.chura.web.libraryManagement.LibraryManagementPage[libraryManagement_li
braryManagementPage])のコンポーネント定義を登録します
DEBUG 2007-10-02 11:03:03,625 [http-8080-1] BEGIN
book.chura.web.libraryManagement.LibraryManagementPage#initialize()
DEBUG 2007-10-02 11:03:03,656 [http-8080-1] トランザクションを開始しました
DEBUG 2007-10-02 11:03:03,656 [http-8080-1] トランザクションをコミットしまし
た
DEBUG 2007-10-02 11:03:03,656 [http-8080-1] END
book.chura.web.libraryManagement.LibraryManagementPage#initialize() : null
DEBUG 2007-10-02 11:03:03,984 [http-8080-1] [measurement] perform ms:1156
DEBUG 2007-10-02 11:03:03,984 [http-8080-1] [measurement] end date =
2007/10/02 11:03:03 984
JST(org.seasar.teeda.core.lifecycle.impl.RestoreViewPhase)
DEBUG 2007-10-02 11:03:03,984 [http-8080-1] [measurement] start date =
2007/10/02 11:03:03 984
JST(org.seasar.teeda.core.lifecycle.impl.RenderResponsePhase)
DEBUG 2007-10-02 11:03:04,281 [http-8080-1] BEGIN
book.chura.web.libraryManagement.LibraryManagementPage#prerender()
DEBUG 2007-10-02 11:03:04,281 [http-8080-1] トランザクションを開始しました
DEBUG 2007-10-02 11:03:04,281 [http-8080-1] トランザクションをコミットしまし
た
DEBUG 2007-10-02 11:03:04,281 [http-8080-1] END
book.chura.web.libraryManagement.LibraryManagementPage#prerender() : null
DEBUG 2007-10-02 11:03:04,640 [http-8080-1] [measurement] perform ms:656
DEBUG 2007-10-02 11:03:04,640 [http-8080-1] [measurement] end date =
2007/10/02 11:03:04 640
JST(org.seasar.teeda.core.lifecycle.impl.RenderResponsePhase)
DEBUG 2007-10-02 11:03:10,015 [http-8080-1] [measurement] start date =
2007/10/02 11:03:10 015
JST(org.seasar.teeda.core.lifecycle.impl.RestoreViewPhase)
DEBUG 2007-10-02 11:03:10,046 [http-8080-1] [measurement] perform ms:31
DEBUG 2007-10-02 11:03:10,046 [http-8080-1] [measurement] end date =
2007/10/02 11:03:10 046
JST(org.seasar.teeda.core.lifecycle.impl.RestoreViewPhase)
DEBUG 2007-10-02 11:03:10,046 [http-8080-1] [measurement] start date =
2007/10/02 11:03:10 046
JST(org.seasar.teeda.core.lifecycle.impl.ApplyRequestValuesPhase)
DEBUG 2007-10-02 11:03:10,078 [http-8080-1] [measurement] perform ms:32
DEBUG 2007-10-02 11:03:10,078 [http-8080-1] [measurement] end date =
2007/10/02 11:03:10 078
JST(org.seasar.teeda.core.lifecycle.impl.ApplyRequestValuesPhase)
DEBUG 2007-10-02 11:03:10,078 [http-8080-1] [measurement] start date =
2007/10/02 11:03:10 078
JST(org.seasar.teeda.core.lifecycle.impl.ProcessValidationsPhase)
DEBUG 2007-10-02 11:03:10,078 [http-8080-1] [measurement] perform ms:0
DEBUG 2007-10-02 11:03:10,078 [http-8080-1] [measurement] end date =
2007/10/02 11:03:10 078
JST(org.seasar.teeda.core.lifecycle.impl.ProcessValidationsPhase)
DEBUG 2007-10-02 11:03:10,078 [http-8080-1] [measurement] start date =
2007/10/02 11:03:10 078
JST(org.seasar.teeda.core.lifecycle.impl.UpdateModelValuesPhase)
DEBUG 2007-10-02 11:03:10,078 [http-8080-1] [measurement] perform ms:0
DEBUG 2007-10-02 11:03:10,078 [http-8080-1] [measurement] end date =
2007/10/02 11:03:10 078
JST(org.seasar.teeda.core.lifecycle.impl.UpdateModelValuesPhase)
DEBUG 2007-10-02 11:03:10,078 [http-8080-1] [measurement] start date =
2007/10/02 11:03:10 078
JST(org.seasar.teeda.core.lifecycle.impl.InvokeApplicationPhase)
DEBUG 2007-10-02 11:03:10,093 [http-8080-1] クラス
(book.chura.web.libraryManagement.LibraryManagementPage[libraryManagement_li
braryManagementPage])のコンポーネント定義を登録します
DEBUG 2007-10-02 11:03:10,265 [http-8080-1] [measurement] perform ms:187
DEBUG 2007-10-02 11:03:10,265 [http-8080-1] [measurement] end date =
2007/10/02 11:03:10 265
JST(org.seasar.teeda.core.lifecycle.impl.InvokeApplicationPhase)
DEBUG 2007-10-02 11:03:10,312 [http-8080-1] [measurement] start date =
2007/10/02 11:03:10 312
JST(org.seasar.teeda.core.lifecycle.impl.RestoreViewPhase)
DEBUG 2007-10-02 11:03:10,625 [http-8080-1] クラス
(book.chura.web.returnBook.ReturnBookPage[returnBook_returnBookPage])のコン
ポーネント定義を登録します
DEBUG 2007-10-02 11:03:10,843 [http-8080-1] クラス
(book.chura.dao.RentInfoDao[rentInfoDao])のコンポーネント定義を登録します
DEBUG 2007-10-02 11:03:11,000 [http-8080-1] クラス
(book.chura.dao.ReserveDao[reserveDao])のコンポーネント定義を登録します
DEBUG 2007-10-02 11:03:11,125 [http-8080-1] クラス
(book.chura.dao.BookDao[bookDao])のコンポーネント定義を登録します
DEBUG 2007-10-02 11:03:11,343 [http-8080-1] BEGIN book.chura.web.returnBook.
ReturnBookPage#initialize()
DEBUG 2007-10-02 11:03:11,343 [http-8080-1] トランザクションを開始しました
DEBUG 2007-10-02 11:03:11,343 [http-8080-1] トランザクションをコミットしまし
た
DEBUG 2007-10-02 11:03:11,343 [http-8080-1] END
book.chura.web.returnBook.ReturnBookPage#initialize() : null
DEBUG 2007-10-02 11:03:11,562 [http-8080-1] [measurement] perform ms:1250
DEBUG 2007-10-02 11:03:11,562 [http-8080-1] [measurement] end date =
2007/10/02 11:03:11 562
JST(org.seasar.teeda.core.lifecycle.impl.RestoreViewPhase)
DEBUG 2007-10-02 11:03:11,562 [http-8080-1] [measurement] start date =
2007/10/02 11:03:11 562
JST(org.seasar.teeda.core.lifecycle.impl.ApplyRequestValuesPhase)
DEBUG 2007-10-02 11:03:11,562 [http-8080-1] [measurement] perform ms:0
DEBUG 2007-10-02 11:03:11,562 [http-8080-1] [measurement] end date =
2007/10/02 11:03:11 562
JST(org.seasar.teeda.core.lifecycle.impl.ApplyRequestValuesPhase)
DEBUG 2007-10-02 11:03:11,562 [http-8080-1] [measurement] start date =
2007/10/02 11:03:11 562
JST(org.seasar.teeda.core.lifecycle.impl.UpdateModelValuesPhase)
DEBUG 2007-10-02 11:03:11,562 [http-8080-1] class [java.util.List] should be
array type, so no update.
DEBUG 2007-10-02 11:03:11,562 [http-8080-1] [measurement] perform ms:0
DEBUG 2007-10-02 11:03:11,562 [http-8080-1] [measurement] end date =
2007/10/02 11:03:11 562
JST(org.seasar.teeda.core.lifecycle.impl.UpdateModelValuesPhase)
DEBUG 2007-10-02 11:03:11,562 [http-8080-1] [measurement] start date =
2007/10/02 11:03:11 562
JST(org.seasar.teeda.core.lifecycle.impl.InvokeApplicationPhase)
DEBUG 2007-10-02 11:03:11,562 [http-8080-1] [measurement] perform ms:0
DEBUG 2007-10-02 11:03:11,562 [http-8080-1] [measurement] end date =
2007/10/02 11:03:11 562
JST(org.seasar.teeda.core.lifecycle.impl.InvokeApplicationPhase)
DEBUG 2007-10-02 11:03:11,562 [http-8080-1] [measurement] start date =
2007/10/02 11:03:11 562
JST(org.seasar.teeda.core.lifecycle.impl.RenderResponsePhase)
DEBUG 2007-10-02 11:03:11,562 [http-8080-1] BEGIN book.chura.web.returnBook.
ReturnBookPage#prerender()
DEBUG 2007-10-02 11:03:11,562 [http-8080-1] トランザクションを開始しました
DEBUG 2007-10-02 11:03:11,562 [http-8080-1] トランザクションをコミットしまし
た
DEBUG 2007-10-02 11:03:11,562 [http-8080-1] END
book.chura.web.returnBook.ReturnBookPage#prerender() : null
DEBUG 2007-10-02 11:03:11,765 [http-8080-1] [measurement] perform ms:203
DEBUG 2007-10-02 11:03:11,765 [http-8080-1] [measurement] end date =
2007/10/02 11:03:11 765
JST(org.seasar.teeda.core.lifecycle.impl.RenderResponsePhase)
DEBUG 2007-10-02 11:03:53,515 [http-8080-1] [measurement] start date =
2007/10/02 11:03:53 515
JST(org.seasar.teeda.core.lifecycle.impl.RestoreViewPhase)
DEBUG 2007-10-02 11:03:53,593 [http-8080-1] [measurement] perform ms:78
DEBUG 2007-10-02 11:03:53,593 [http-8080-1] [measurement] end date =
2007/10/02 11:03:53 593
JST(org.seasar.teeda.core.lifecycle.impl.RestoreViewPhase)
DEBUG 2007-10-02 11:03:53,593 [http-8080-1] [measurement] start date =
2007/10/02 11:03:53 593
JST(org.seasar.teeda.core.lifecycle.impl.ApplyRequestValuesPhase)
DEBUG 2007-10-02 11:03:53,609 [http-8080-1] [measurement] perform ms:16
DEBUG 2007-10-02 11:03:53,609 [http-8080-1] [measurement] end date =
2007/10/02 11:03:53 609
JST(org.seasar.teeda.core.lifecycle.impl.ApplyRequestValuesPhase)
DEBUG 2007-10-02 11:03:53,609 [http-8080-1] [measurement] start date =
2007/10/02 11:03:53 609
JST(org.seasar.teeda.core.lifecycle.impl.ProcessValidationsPhase)
DEBUG 2007-10-02 11:03:53,656 [http-8080-1] クラス
(book.chura.web.returnBook.ReturnBookPage[returnBook_returnBookPage])のコン
ポーネント定義を登録します
DEBUG 2007-10-02 11:03:54,078 [http-8080-1] クラス
(book.chura.dao.RentInfoDao[rentInfoDao])のコンポーネント定義を登録します
DEBUG 2007-10-02 11:03:54,281 [http-8080-1] クラス
(book.chura.dao.ReserveDao[reserveDao])のコンポーネント定義を登録します
DEBUG 2007-10-02 11:03:55,093 [http-8080-1] クラス
(book.chura.dao.BookDao[bookDao])のコンポーネント定義を登録します
DEBUG 2007-10-02 11:03:55,265 [http-8080-1] [measurement] perform ms:1656
DEBUG 2007-10-02 11:03:55,265 [http-8080-1] [measurement] end date =
2007/10/02 11:03:55 265
JST(org.seasar.teeda.core.lifecycle.impl.ProcessValidationsPhase)
DEBUG 2007-10-02 11:03:55,265 [http-8080-1] [measurement] start date =
2007/10/02 11:03:55 265
JST(org.seasar.teeda.core.lifecycle.impl.UpdateModelValuesPhase)
DEBUG 2007-10-02 11:03:55,265 [http-8080-1] class [java.util.List] should be
array type, so no update.
DEBUG 2007-10-02 11:03:55,265 [http-8080-1] [measurement] perform ms:0
DEBUG 2007-10-02 11:03:55,265 [http-8080-1] [measurement] end date =
2007/10/02 11:03:55 265
JST(org.seasar.teeda.core.lifecycle.impl.UpdateModelValuesPhase)
DEBUG 2007-10-02 11:03:55,265 [http-8080-1] [measurement] start date =
2007/10/02 11:03:55 265
JST(org.seasar.teeda.core.lifecycle.impl.InvokeApplicationPhase)
DEBUG 2007-10-02 11:03:55,265 [http-8080-1] BEGIN book.chura.web.returnBook.
ReturnBookPage#doSubmit()
DEBUG 2007-10-02 11:03:55,265 [http-8080-1] トランザクションを開始しました
DEBUG 2007-10-02 11:03:55,265 [http-8080-1] BEGIN
book.chura.dao.BookDao#findBookInfo(039911178)
DEBUG 2007-10-02 11:03:57,750 [http-8080-1] 物理的なコネクションを取得しまし
た
DEBUG 2007-10-02 11:03:57,812 [http-8080-1] 論理的なコネクションを取得しまし
た
WARN  2007-10-02 11:03:58,203 [http-8080-1] テーブル(book)が見つかりません
DEBUG 2007-10-02 11:03:58,250 [http-8080-1] 論理的なコネクションを閉じました
DEBUG 2007-10-02 11:03:58,281 [http-8080-1] END
book.chura.dao.BookDao#findBookInfo(039911178)
Throwable:org.seasar.dao.PrimaryKeyNotFoundRuntimeException: [EDAO0009]book.
chura.entity.Bookにプライマリーキーが見つかりません
DEBUG 2007-10-02 11:03:58,281 [http-8080-1] トランザクションをロールバックし
ました
DEBUG 2007-10-02 11:03:58,296 [http-8080-1] END
book.chura.web.returnBook.ReturnBookPage#doSubmit()
Throwable:org.seasar.dao.PrimaryKeyNotFoundRuntimeException: [EDAO0009]book.
chura.entity.Bookにプライマリーキーが見つかりません
DEBUG 2007-10-02 11:03:58,312 [http-8080-1]
org.seasar.dao.PrimaryKeyNotFoundRuntimeException:
[EDAO0009]book.chura.entity.Bookにプライマリーキーが見つかりません
DEBUG 2007-10-02 11:03:58,312 [http-8080-1] [EDAO0009]book.chura.entity.Book
にプライマリーキーが見つかりません
DEBUG 2007-10-02 11:03:58,328 [http-8080-1] [measurement] perform ms:3063
DEBUG 2007-10-02 11:03:58,328 [http-8080-1] [measurement] end date =
2007/10/02 11:03:58 328
JST(org.seasar.teeda.core.lifecycle.impl.InvokeApplicationPhase)
DEBUG 2007-10-02 11:03:58,328 [http-8080-1] [measurement] start date =
2007/10/02 11:03:58 328
JST(org.seasar.teeda.core.lifecycle.impl.RestoreViewPhase)
DEBUG 2007-10-02 11:03:58,375 [http-8080-1] [measurement] perform ms:47
DEBUG 2007-10-02 11:03:58,375 [http-8080-1] [measurement] end date =
2007/10/02 11:03:58 375
JST(org.seasar.teeda.core.lifecycle.impl.RestoreViewPhase)
DEBUG 2007-10-02 11:03:58,375 [http-8080-1] [measurement] start date =
2007/10/02 11:03:58 375
JST(org.seasar.teeda.core.lifecycle.impl.RenderResponsePhase)
DEBUG 2007-10-02 11:03:58,406 [http-8080-1] [measurement] perform ms:31
DEBUG 2007-10-02 11:03:58,406 [http-8080-1] [measurement] end date =
2007/10/02 11:03:58 406
JST(org.seasar.teeda.core.lifecycle.impl.RenderResponsePhase)
DEBUG 2007-10-02 11:13:58,906 [Thread-8] 物理的なコネクションを閉じました

よろしくお願いいたします。




Seasar-user メーリングリストの案内