报错内容
Caused by: io.ebean.config.BeanNotEnhancedException: Bean class xxxx.xxxx is not enhanced? Check packages specified in ebean.mf. If you are running in IDEA or Eclipse check that the enhancement plugin is installed. See https://ebean.io/docs/trouble-shooting#not-enhanced
使用该maven插件,重新加载pom,clean再test即可解决
<plugin>
<groupId>io.repaint.maven</groupId>
<artifactId>tiles-maven-plugin</artifactId>
<version>2.19</version>
<extensions>true</extensions>
<configuration>
<tiles>
<tile>io.ebean.tile:enhancement:12.8.2</tile>
</tiles>
</configuration>
</plugin>