spring rooのインストールが苦しいです。私はプロジェクトを作成しようとしています。 しかし、春のシェルを使ってpojoを作った後、私は今、春のリポジトリを作成しています。 は、私がこれまでのところは良いPOJOspring rooでリポジトリを作成することができません
entity jpa --class ~.DTO.UserDTO
field string --fieldName name --notNull --sizeMin 50
を作成するための次のコマンドを実行しましたが、ここでトラブルが出番です:
repository jpa --entity ~.DTO.UserDTO --interface ~.repository.UserDTORepository
すぐに私はこのメッセージ --entityオプションは、エンティティである必要があり得ます。 私はひどく立ち往生しています。 私はPOJOを削除しようとしたtyhe次のコマンドを実行しました:私が得た
entity jpa --class ~.DTO.UserDTO --testAutomatically --activeRecord false
メッセージだった: "Options 'testAutomatically', 'activeRecord' are not available for this command. Use tab assist or the "help" command to see the legal options
がメッセージ
--entity option should be an entity.
This is where i gave up
私の環境では、Javaで手に入れた " と私は "repository jpa --entity ~.dto.UserRecord --interface ~.repository.UserRepository
を試してみました" 1.8、spring roo 2.0.0.RC1 STS 3.9.0.Release。