经过痛苦的安装春天roo。我正在尝试创建一个项目。 但是,通过弹簧外壳制作pojo后,我现在创建了弹簧库。 我跑以下命令创建的POJO无法在春天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
“ ,我试图 "repository jpa --entity ~.dto.UserRecord --interface ~.repository.UserRepository
” 知趣
--entity option should be an entity.
This is where i gave up
我的环境是用java 1.8,spring roo 2.0.0.RC1 STS 3.9.0.Release。