错误信息: *************************** APPLICATION FAILED TO START *************************** Description: Field usuarioDao in es.uc3m.tiw.Controladores.Controlador required a bean named 'entityManagerFactory' that could not be found. Action: Consider de…
最近为了能在公司和住所连续写脚本,每写好一部分就压缩打包发送到手机,然后再发送到公司电脑或者自己的笔记本,但是发现重新打开工程文件时有时会弹出Edit configuration配置框,而且每执行一个模块都会弹出,如下图: 其原因是 这个工程没有配置python解释器,具体设置方法如下: 1.打开File下的settings 2.找到Project:unititled下的Project Interpreter,找到右侧对应的工程文件,可以看到Project Interpreter设置为空 3.选…
问题描述: 遇到一种情况,在一个控制器上(隐藏了导航栏),打开照片选择器 UIImagePickerController后,照片选择器头部一片空白,且上滑相册时,信息会有错乱效果. 原因分析: 通过查看层次图,发现导航栏其实有的,那么问题是因为导航栏透明了导致的 解决办法: UIImagePickerController *picker = [[UIImagePickerController alloc] init]; picker.delegate = self; picker.sourceT…
以为经常用到这是转贴  谢谢 Subversion装了1.5.2版,乌龟SVN装的是1.5.1版本,可以通过乌龟正常访问到版本库,但当check out时却出现了"Not authorized to open root of edit operation"错误,上网搜索了一下,提供的解决版本如下:anon-access 属性对目录权限的影响你想将你的代码库开放给所有人访问,于是你就开放了匿名访问权限,在 svnserve.conf 文件中添加一行:"anon-access=r…
IntelliJ使用 ##使用IntelliJ IDEA配置web项目时,选择Edit Configration部署Tomcat的Deployment可能会出现以下情况: 导致新手部署过程中摸不着头脑. 解决办法: 1.打开Project Structure: 2.选择Aritfacts选项: 3.点击+号,选择Web Application:Exploded->From Modules: 4.选择你的项目即可: 5.再次进入Edit Configration->Deployment,点击+号…
情景: 一级页面不显示导航栏 ,二级页面显示导航栏. 方法一 适用于push/pop: 一级页面中 - (void)viewWillAppear:(BOOL)animated { [super viewWillAppear:animated]; [self.navigationController setNavigationBarHidden:YES animated:animated]; } - (void)viewWillDisappear:(BOOL)animated { [super v…
IntelliJ IDEA,IntelliJ Idea创建web项目之后在配置web项目时,选择Edit Configration部署Tomcat,Deployment里点击添加无artifact选项,具体效果类似以下情况: 导致这个情况部署过程中如果不熟悉的话可能有点懵逼. 解决方案: 1.打开Project Structure: 2.选择Aritfacts选项: 3.点击这个绿色的小+号,选择Web Application:Exploded-->>From Modules 4.,然后点击O…
reference to : http://blog.csdn.net/ming2316780/article/details/51578621 一.首先是Listview的属性设置 设置滑动到顶部和底部的背景或颜色: android:overScrollFooter="@android:color/transparent" android:overScrollHeader="@android:color/transparent" 设置滑动到边缘时无效果模式: an…
请移步: http://note.youdao.com/yws/public/redirect/share?id=d54cac4232078f9acab551d62337a2d1&type=false…
Autowiring of fields failed; nested exception is...........Error creating bean with name 'siteOperaterFactory': Autowiring of fields fa ...........java.lang.NoClassDefFoundError: org/hibernate/cfg/Configuratio 看开头是以为是创建siteOperaterFactory实例出的错,再看后面,原…