エンティティの文字列のリストに jpa2 機能 @ElementCollection を使用しようとしています。hbm2ddl タスクを実行するために hibernate3-maven-plugin を使用しています。
ただし、プラグインで使用される休止状態ツールのバージョンは、@ElementCollection アノテーションの処理方法を認識していないようです。これが当てはまらないように、使用する必要がある休止状態ツールのバージョンについて誰かが私にポインタを与えることができます。休止状態ツールの正しいバージョンを指定するだけのケースでしょうか?
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>hibernate3-maven-plugin</artifactId>
<version>2.2</version>
<dependencies>
<dependency>
<groupId>postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>8.3-603.jdbc4</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-tools</artifactId>
<version>3.2.4.GA</version>
<type>jar</type>
<scope>runtime</scope>
</dependency>
[INFO] トレース org.hibernate.MappingException: 次のタイプを特定できませんでした: java.util.List、テーブル: mystuff、列: [org.hibernate.mapping.Column(stuffs)]
ありがとう