Ebean “is not enhanced?”的两种解决方案
2017-11-21 11:13
211 查看
Ebean “is not enhanced?”的两种解决方案
前面在Ebean findPagedList() throw Exception的分析处理过程中介绍了通过实现EntityBean接口的方式处理is not enhanced,这里介绍两种不动代码的处理方式。一、方案一:Maven
通过maven命令启动spring-boot:run
二、方案二:插件
使用Ebean 10.x Enhancement插件Ctrl+Alt+S(File->Settings)打开Setting窗口,找到Plugins,在点击“Browse Repositories”按钮,搜索Ebean,选择Ebean 10.x Enhancement安装,重启idea
注:如果idea下载不下来,可以通过其他方式下载(如果是超时的话,可以设置idea的超时时长),再导入idea(下载地址)
安装下载到本地的插件
通过“Install plugin from disk”导入本地插件重启idea
安装插件并重启idea后,在Build中勾选Ebean 10.x Enhancement,再启动项目就可以正常使用了(如果报错的话,启动前把项目build一下)
百度云盘下载:
链接:http://pan.baidu.com/s/1qYG8Hyc 密码:48a1
相关文章推荐
- [Play2.3]Ebean使用mysql中出现的not an enhanced entity bean. subclassing is not longer supported in ebean
- Web API,Web Service SharePoint对象操作报Operation is not valid due to the current state of the object解决方案
- 对Warning: Attempt to present on whose view is not in the window hierarchy!的解决方案
- nfs:server is not responding,still trying 原因与解决方案
- hibernate技术之is not mapped 错误解决方案
- Uncaught TypeError: xxx.submit is not a function解决方案
- the requested resource servlet action is not available is not available的解决方案
- tomcat启动报错“The processing instruction target matching "[xX][mM][lL]" is not allowed.”解决方案
- iOS iOS8中 问题"registerForRemoteNotificationTypes: is not supported in iOS 8.0 and later" 解决方案
- 遇到BAM报错“input is not proper UTF-8”的一个可能解决方案
- Project facet Java version 1.8 is not supported 解决方案
- 小议:Metadata Service is not available的解决方案
- 开启MySQL的远程帐号(Host 'XXX' is not allowed to connect to this MySQL server 解决方案)
- 关于Eclipse报:" cannot be read or is not a valid ZIP file"的解决方案
- iOS iOS8中 问题"registerForRemoteNotificationTypes: is not supported in iOS 8.0 and later" 解决方案
- Embedded binary is not signed with the same certificate as the parent app解决方案
- Firefox下“event is not defined”的解决方案
- Pillow-PIL的完全Fok替代库--完美解决报错The _imagingft C module is not installed的解决方案
- WeixinJSBridge is not defined的解决方案
- Host 'XXX' is not allowed to connect to this MySQL server 解决方案/如何开启MySQL的远程帐号