【发布时间】:2017-04-26 13:23:11
【问题描述】:
我正在 Eclipse (STS) 中创建 SpringRoo 项目,并运行该项目抛出错误:无法找到或加载主类 src.main.java.com.ng.login.LogInApplication
我的项目目录
我的 Spring Roo 日志文件
jpa setup --provider HIBERNATE --database MYSQL
entity jpa --class ~.domain.LogIn
field string --fieldName username --notNull --sizeMax 5
field string --fieldName password --notNull --sizeMax 5
repository jpa --entity ~.domain.LogIn --interface ~.respository.LogInRespository
service --entity ~.domain.LogIn --repository ~.respository.LogInRespository --interface ~.service.LogInService --class ~.service.impl.LogInServiceImpl
web mvc setup
web mvc view setup --type THYMELEAF
web mvc controller --controller ~.web.LoginController --entity ~.domain.LogIn --service ~.service.LogInService --responseType THYMELEAF
perform eclipse
请帮助我。我是 Spring Roo 的新手。
【问题讨论】:
标签: java spring spring-boot spring-roo