Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'articleDaoImpl': Injection of resource methods failed; nested exception is org.springframework.beans.factory.BeanCreationException…
org.hibernate.AnnotationException: mappedBy reference an unknown target entity property: com.entity.annotations.House.district in com.entity.annotations.Street.houses    at org.hibernate.cfg.annotations.CollectionBinder.bindStarToManySecondPass(Colle…
org.hibernate.AnnotationException: mappedBy reference an unknown target entity property: xxxxxxx 原因是创建CompanyAcademyArticleItem时,OneToMany注解中mappedBy写错了,应该写@OneToMany(mappedBy="companyAcademyArticleItem")…
Module 'mysql' already loaded in Unknown on line 0解决方法 直接进入php.ini 把;extension=mysql.so注释掉就好了…
报错原因:在一个类中写了一个public String getContent()方法和一个main()方法,getContent()方法中包含了getClass()方法,在main()方法中直接调用了getContent()就出现如题的错误.这样一样 解决方法:先实例化类,然后再调用getContent()就没有问题了 GetProperties gp = new GetProperties(); String s = gp.getCotent(); 这样一来都不要加static了 说明:在静态…
在使用mysqlbinlog查看日志的时候碰到了一个问题, 错误提示如下: /usr/local/mysql/bin/mysqlbinlog: unknown variable 'default-character-set=utf8' 产生这个问题的原因是因为我在my.cnf中的client选项组中添加了 default-character-set=utf8 要解决这个问题的方法目前有三种. 第一种方法是使用:--no-defaults ./mysqlbinlog --no-defaults m…
 我在使用vs2010制作64位安装包时出现了以下问题: File targeting 'AMD64' is not compatible with the project's target platform 'x86' Error  File 'NGlbComm.DLL' targeting 'AMD64' is not compatible with the project's target platform 'x86'   .................................…
问题: mount –t ntfs /dev/sde1 /mnt/mount: unknown filesystem type ‘ntfs’ 这是由于CentOS release 6.6(Final)上无法识别NTFS格式的分区. 解决办法: 通过使用 ntfs-3g 来解决. 打开ntfs-3g的下载点http://www.tuxera.com/community/ntfs-3g-download/ ,将最新稳定(当前最新版本为ntfs-3g-2011.1.15)下载到CentOS,执行以下命…
问题描述: 因为挂载错了,想取消挂载,但是umount报告如下错误: [root@zabbix /]# umount /dev/sdc1 umount: /data1: target is busy. (In some cases useful info about processes that use the device is found by lsof() or )) 根据描述应该其他进程对挂载的目录有占用的情况 解决方案: 关闭占用的进程,但是在使用fuser命令的时候显示没有这个命令…
异常信息: java.lang.IllegalStateException: Unknown Priority SYS_ERR_SMS at org.apache.log4j.Category.priorityToLevelInt(Category.java:326) ~[log4j-over-slf4j-1.7.12.jar:1.7.12] at org.apache.log4j.Category.log(Category.java:306) ~[log4j-over-slf4j-1.7.12…