FastDFS安装时遇到错误

今天在服务器上安装FastDFS,应该是CentOS的。
安装libfastcommon之后,就安装FastDFS的包嘛,在 ./make.sh的命令时出现一堆错误,无法继续下去了!
忘大佬解答!!~~~

[root@localhost ~]# cd ..
[root@localhost /]# cd software
[root@localhost software]# cd FastDFS
[root@localhost FastDFS]# ll
总用量 132
drwxr-xr-x. 3 8980 users  4096 12月 22 00:49 client
drwxr-xr-x. 2 8980 users  4096 2月   4 2016 common
drwxr-xr-x. 2 8980 users  4096 2月   4 2016 conf
-rw-r--r--. 1 8980 users 35067 2月   4 2016 COPYING-3_0.txt
-rw-r--r--. 1 8980 users  2857 2月   4 2016 fastdfs.spec
-rw-r--r--. 1 8980 users 32218 2月   4 2016 HISTORY
drwxr-xr-x. 2 8980 users  4096 2月   4 2016 init.d
-rw-r--r--. 1 8980 users  7755 2月   4 2016 INSTALL
-rwxr-xr-x. 1 8980 users  5548 2月   4 2016 make.sh
drwxr-xr-x. 2 8980 users  4096 2月   4 2016 php_client
-rw-r--r--. 1 8980 users  2380 2月   4 2016 README.md
-rwxr-xr-x. 1 8980 users  1768 2月   4 2016 restart.sh
-rwxr-xr-x. 1 8980 users  1680 2月   4 2016 stop.sh
drwxr-xr-x. 4 8980 users  4096 12月 22 00:49 storage
drwxr-xr-x. 2 8980 users  4096 2月   4 2016 test
drwxr-xr-x. 2 8980 users  4096 12月 22 00:49 tracker
[root@localhost FastDFS]# ./make.sh
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -c -o ../common/fdfs_                                                                                                                                                       global.o ../common/fdfs_global.c  -I../common -I/usr/include/fastcommon
../common/fdfs_global.c:20:20: 错误:logger.h:没有那个文件或目录
在包含自 ../common/fdfs_global.c:21 的文件中:
../common/fdfs_global.h:14:27: 错误:common_define.h:没有那个文件或目录
../common/fdfs_global.h:16:29: 错误:connection_pool.h:没有那个文件或目录
In file included from ../common/fdfs_global.c:21:
../common/fdfs_global.h:26: 错误:‘MAX_PATH_SIZE’未声明(不在函数内)
../common/fdfs_global.h:27: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ bef                                                                                                                                                       ore ‘g_fdfs_version’
../common/fdfs_global.h:28: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ bef                                                                                                                                                       ore ‘g_use_connection_pool’
../common/fdfs_global.h:29: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ bef                                                                                                                                                       ore ‘g_connection_pool’
../common/fdfs_global.c:23: 错误:‘DEFAULT_CONNECT_TIMEOUT’未声明(不在函数内)
../common/fdfs_global.c:24: 错误:‘DEFAULT_NETWORK_TIMEOUT’未声明(不在函数内)
../common/fdfs_global.c:26: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ bef                                                                                                                                                       ore ‘g_fdfs_version’
../common/fdfs_global.c:27: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ bef                                                                                                                                                       ore ‘g_use_connection_pool’
../common/fdfs_global.c:28: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ bef                                                                                                                                                       ore ‘g_connection_pool’
../common/fdfs_global.c: 在函数‘fdfs_check_data_filename’中:
../common/fdfs_global.c:39: 警告:隐式声明函数‘logError’
../common/fdfs_global.c:45: 警告:隐式声明函数‘IS_UPPER_HEX’
make: *** [../common/fdfs_global.o] 错误 1
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -c -o ../common/fdfs_                                                                                                                                                       global.o ../common/fdfs_global.c  -I. -Itrunk_mgr -I../common -I../tracker -I../client                                                                                                                                                        -Ifdht_client -I/usr/include/fastcommon
../common/fdfs_global.c:20:20: 错误:logger.h:没有那个文件或目录
在包含自 ../common/fdfs_global.c:21 的文件中:
../common/fdfs_global.h:14:27: 错误:common_define.h:没有那个文件或目录
../common/fdfs_global.h:16:29: 错误:connection_pool.h:没有那个文件或目录
In file included from ../common/fdfs_global.c:21:
../common/fdfs_global.h:26: 错误:‘MAX_PATH_SIZE’未声明(不在函数内)
../common/fdfs_global.h:27: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ bef                                                                                                                                                       ore ‘g_fdfs_version’
../common/fdfs_global.h:28: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ bef                                                                                                                                                       ore ‘g_use_connection_pool’
../common/fdfs_global.h:29: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ bef                                                                                                                                                       ore ‘g_connection_pool’
../common/fdfs_global.c:23: 错误:‘DEFAULT_CONNECT_TIMEOUT’未声明(不在函数内)
../common/fdfs_global.c:24: 错误:‘DEFAULT_NETWORK_TIMEOUT’未声明(不在函数内)
../common/fdfs_global.c:26: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ bef                                                                                                                                                       ore ‘g_fdfs_version’
../common/fdfs_global.c:27: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ bef                                                                                                                                                       ore ‘g_use_connection_pool’
../common/fdfs_global.c:28: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ bef                                                                                                                                                       ore ‘g_connection_pool’
../common/fdfs_global.c: 在函数‘fdfs_check_data_filename’中:
../common/fdfs_global.c:39: 警告:隐式声明函数‘logError’
../common/fdfs_global.c:45: 警告:隐式声明函数‘IS_UPPER_HEX’
make: *** [../common/fdfs_global.o] 错误 1
cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -c -o ../common/fdfs_                                                                                                                                                       global.o ../common/fdfs_global.c  -I../common -I../tracker -I/usr/include/fastcommon
../common/fdfs_global.c:20:20: 错误:logger.h:没有那个文件或目录
在包含自 ../common/fdfs_global.c:21 的文件中:
../common/fdfs_global.h:14:27: 错误:common_define.h:没有那个文件或目录
../common/fdfs_global.h:16:29: 错误:connection_pool.h:没有那个文件或目录
In file included from ../common/fdfs_global.c:21:
../common/fdfs_global.h:26: 错误:‘MAX_PATH_SIZE’未声明(不在函数内)
../common/fdfs_global.h:27: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ bef                                                                                                                                                       ore ‘g_fdfs_version’
../common/fdfs_global.h:28: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ bef                                                                                                                                                       ore ‘g_use_connection_pool’
../common/fdfs_global.h:29: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ bef                                                                                                                                                       ore ‘g_connection_pool’
../common/fdfs_global.c:23: 错误:‘DEFAULT_CONNECT_TIMEOUT’未声明(不在函数内)
../common/fdfs_global.c:24: 错误:‘DEFAULT_NETWORK_TIMEOUT’未声明(不在函数内)
../common/fdfs_global.c:26: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ bef                                                                                                                                                       ore ‘g_fdfs_version’
../common/fdfs_global.c:27: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ bef                                                                                                                                                       ore ‘g_use_connection_pool’
../common/fdfs_global.c:28: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ bef                                                                                                                                                       ore ‘g_connection_pool’
../common/fdfs_global.c: 在函数‘fdfs_check_data_filename’中:
../common/fdfs_global.c:39: 警告:隐式声明函数‘logError’
../common/fdfs_global.c:45: 警告:隐式声明函数‘IS_UPPER_HEX’
make: *** [../common/fdfs_global.o] 错误 1
[root@localhost FastDFS]#
weixin_43649742
18岁程序员不想秃头 自己找到问题了 之前用的是libfastcommon .改用libfastcommon-master就可以了,因为master多了好几个库。但是我还是遇到了一个错误信息,详情见我另一个提问,也正在等大佬回复,不知道大家有没有遇到相同的情况
9 个月之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
安装fastdfs遇到的问题
参照网上fastdfs安装,有可能会出现一些问题。这是是我安装遇到的问题。希望可以帮到大家。
fastdfs 安装时报错
[2018-10-22 18:50:14] ERROR - file: tracker_proto.c, line: 48, server: 192.168.2.111:22122, response status 2 != 0 [2018-10-22 18:50:14] ERROR - file: ../client/tracker_client.c, line: 907, fdfs_recv_...
搭建fastdfs时遇到的问题
Q:ERROR – file: connection_pool.c, line: 130, connect to 192.168.0.8:23000 fail, errno: 113, error info: No route to host A:执行过程中可能出现防火墙阻止导致,检测打开端口或关闭防火墙。 systemctl stop firewalld.service #停止firewal
pycurl-7.43.0安装时遇到的错误
下载pycurl:http://pycurl.io/ http://curl.haxx.se/download/curl-7.24.0.tar.gz(可以下载历史版本) 下载完成后,安装pycurl时使用命令python setup.py install,报错: __main__.ConfigurationError: Neither curl-config --libs
安装MSSQLServer2000时遇到错误
我在windows 2000 Server 上安装MSSQLServer2000,但选择完Licensing Mode 后,点continue出现下面的错误:An operation on a socket could not be performed because the sytem lacked sufficient buffer space or because a queue was full.rn我扩了一下虚拟内存无效rnWhy rnHowrn
FASTDFS安装(二)安装FASTDFS
1.准备 libevent-1.4.10-stable.tar.gz FastDFS_v4.06.tar.gz 2.安装过程 1)安装libevent --上传libevent-1.4.10-stable.tar.gz到/usr/local/src --解压 #tar zvxf libevent-1.4.10-stable.tar.gz --建立makefile #cd lib...
FastDFS错误
FastDFS错误总结
fastDFS错误。
[2019-03-05 22:32:20] ERROR - file: ../storage/trunk_mgr/trunk_shared.c, line: 177, "Permission denied" can't be accessed, error info: /home/kenick/fastDFS_home_v5.05 2019/03/05 22:32:20 [alert] 8061...
【FastDFS问题解决】centos7下安装fastdfs、Nginx遇到的问题解决
1、service fdfs_trackerd start 启动失败 【问题描述】 使用netstat -unltp|grep fdfs查看没有发现对应端口22122被监听 使用journalctl -xe查看service启动错误信息 file: process_ctrl.c, line: 288, “~/FastDFS/tracker” can’t be accessed, error in...
关于在linux系统下安装fastDFS的步骤与遇到的问题
因为公司要做一个类似BBS的对用户上传的附件进行保存,所以在测试站尝试安装fastDFS,并对自己遇到的问题经验作一个总结。 1.首先都是按百度的步骤进行一步步安装。 ①下载,安装FastDFS的Server: 地址:https://sourceforge.net/projects/fastdfs/files我都选最新的。 下载下来后,按命令解压,编译,安装。(如果要自己创建一个文件夹,可...
Linux Centos7.5 安装FastDFS以及遇到的坑
目录: 附:Linux Centos7.5安装FastDFS所需软件 准备工作 1、安装编译工具及库文件 2、上传所需文件到linux虚拟机上 3、安装FastDFS  4、测试: 5、安装nginx 6、FastDFS与Nginx整合  特别注意: 最后的测试: 前言:     在linux Centos7.5安装FastDFS,感觉真是特别的复杂,安装了两天,终于成功了...
【FastDFS】FastDFS安装手册(单机版)
一、前言       FastDFS是用c语言编写的一款开源的分布式文件系统。FastDFS为互联网量身定制,充分考虑了冗余备份、负载均衡、线性扩容等机制,并注重高可用,高性能等指标。使用FastDFS很容易搭建一套高性能的文件服务器集群提供文件上传、下载等服务。具体有关FastDFS的知识点,欢迎猛戳我的博客。二、基本环境说明       跟踪服务器(Tracker Server): 192.1...
Caffe 安装时遇到错误汇总
在安装Caffe时遇到各种各样的错误,汇总一下。按照遇到顺序列出来吧。 错误1:编译caffe时出现如下错误,直接上图 原因:缺少依赖项 解决办法: make clean #删除编译错误的caffe sudo apt-get install libatlas-base-dev #安装依赖库,然后重新编译caffe 错误3:make pycaffe,如果出现“make: No...
php安装mongodb驱动时遇到的错误
1、phpize和php-config找不到的问题 2、/root/mongo-php-driver/src/libmongoc/src/mongoc/mongoc-config.h:167:29: 错误:操作符 != 没有左操作数
oracle 8.17版本安装时遇到的错误?
我在windows2000 AdServer上安装Oracle817,在创建数据库时出现了错误:rn在进入“创建数据库文件”时,系统报错:ORA-03113:通信通道的文件结束。rn我选择了“忽略”,然后进度条就停在0%的位置上了(如果选择另外一个选项“放弃”,安装程序就会做还原操作,然后退出)。rnrn请问,这是怎么回事?rn我的安装程序应该没有问题,因为其它用户用这套程序安装成功过。rn
FastDFS安装
FastDFS是C语言开发,建议在linux上运行,本教程使用Centos6.4作为安装环境。 安装FastDFS需要先将官网下载的源码进行编译,编译依赖gcc环境,如果没有gcc环境,需要安装gcc:yum install gcc-c++
安装scrapy时遇到的一个错误
本人在centos7下安装scrapy时遇到一个错误:twisted/test/raiser.c:4:20: fatal error: Python.h: No such file or directory 解决:先安装python-devel,yum install python-devel,然后继续安装scrapy。即pip install Scrapy即可。
安装Hadoop时遇到的几个错误及解决方法
安装Hadoop时遇到的几个错误及解决方法在安装 Hadoop的过程中,遇到了如下几个错误,作为一个刚开始学习Hadoop的新手,确实有些挫败,下面是错误以及相应的解决方法。一、Error: Config file not found: /usr/lib/jvm/java-9-openjdk-amd64/conf/management/management.properties错误及解决方法解决方法
在安装DNS服务器与域控制器时遇到的错误.
我安装好DNS服务器,设置了DNS后缀rn配置了正向查找区域的新区域的起始授权机构,名称服务器,新主机等rn还有反向查找区域的新区域的起始授权机构,名称服务器,新指针等rn但是在安装域控制器的时候出现了以下的错误提示,rnrn 在 DNS 诊断的时候提示下列错误: rn rn 动态 DNS 更新支持测试返回: rn "名称服务器不支持 DNS 请求。" rn (错误代码 0x0000232C RCODE_NOT_IMPLEMENTED) rnrn请问怎样解决上面的错误,还有能说说正确的DNS配置步骤吗?
安装lua时遇到制命错误
安装lua时遇到制命错误 : gcc -std=gnu99 -O2 -Wall -Wextra -DLUA_COMPAT_5_2 -DLUA_USE_LINUX -c -o lua.o lua.c lua.c:82:31: 致命错误:readline/readline.h:没有那个文件或目录 #include <readline/readline.h> 执行以下命令补全...
fastDFS的安装
一、fastDFS的安装 二、 fastDFS的部署结构
FastDFS的安装
1:版本信息 服务器使用的系统为CentOSLinux release 7.0.1406, fastdfs版本为5.0.9稳定版 2:FastDFS安装配置 2.1 FastDFS安装 2.1.1 下载FastDFS及相关 进入目录 cd /usr/local/ 下载fastdfs-5.08: wget https://codeload.github.com/happyfi
fastdfs的安装
安装fastDFS步骤详解。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
配置FastDFS遇到的问题
1、FastDFS已经上传图片,但浏览器访问不到(1)注意配置 修改tracker server、storage server 的配置文件 为 http.server_port=8080 改为 http.server_port=80 (2)在nginx.conf配置文件添加 user root; (3)storage server 的配置文件 port=23000 代表了storage
FastDFS 使用及遇到的问题
FastDFS 使用及遇到的问题 前言 最近在跟着视频做项目,其中学习到使用 FastDFS 作为图片服务器的文件系统。以下是百度上关于 FastDFS 的介绍: FastDFS 是一个开源的轻量级分布式文件系统,它对文件进行管理,功能包括:文件存储、文件同步、文件访问(文件上传、文件下载)等,解决了大容量存储和负载均衡的问题。特别适合以文件为载体的在线服务,如相册网站、视...
java开发时遇到的错误
java开发时遇到的错误(汇总,持续更新) 1. 各种莫名其妙的错误,但是 看意思自己确实做了 比如:找不到main方法呀,但是确定已经写了 解决方式 保存一下看看! 2. (不影响运行)XML首行报错: Referenced file contains errors (http://www.springframework.org/schema/beans/spring- beans-4.3.xs...
创建进程时遇到的错误~
一个基于对话框的MFC程序,已经在对话框类里声明了rnDWORD WINAPI ThreadProcEvent(LPVOID pParam);rn在cpp里的创建语句如下:rn[code]rnhThreadEvent = CreateThread(NULL,rn 0,rn (LPTHREAD_START_ROUTINE)ThreadProcEvent,rn &dwParam,rn 0,rn &dwThreadID);rn[/code]rnrn结果报错:error C2440: 'type cast' : cannot convert from '' to 'unsigned long (__stdcall *)(void *)'rn已经包含了process.h。
爬虫时遇到的错误
根据微博关键字爬取微博内容的时候,url需要注意 这样可以 url = "https://m.weibo.cn/api/container/getIndex?containerid=100103type%3D1%26q%3D{}&page_type=searchall&page={}" #keyword是关键字,page是页数 response = requests.get(url...
还原时遇到的错误
还原语句:rnRESTORE DATABASE FSDBNRrnFROM DISK = 'C:\backupdat'rnWITH rnMOVE 'DBBK.DAT' TO 'E:\Program Files\Microsoft Sql Server\MSSQL\DATA\DB.MDF',rnMOVE 'DBBKLOG.DAT' TO 'E:\Program Files\Microsoft Sql Server\MSSQL\DATA\DBLOG.LDF',rnREPLACErnrnrn报错:(从企业管理器里做错误一样,)rnServer: Msg 5149, Level 16, State 1, Line 1rnMODIFY FILE encountered operating system error 112(error not found) while attempting to expand the physical file.rnServer: Msg 3158, Level 16, State 1, Line 1rnCould not create one or more files. Consider using the WITH MOVE option to identify valid locations.rnServer: Msg 3013, Level 16, State 1, Line 1rnRESTORE DATABASE is terminating abnormally.rnrnrn什么原因造成的呢?
数据读取时遇到错误
一个C#写的同步程序,把数据从Informix同步到Oracle中,经常遇到如下的错误提示,如何有效解决?rnrnSystem.Data.Odbc.OdbcException: ERROR [HY000] [Informix][Informix ODBC Driver][Informix]Could not do a physical-order read to fetch next row. sqlerrm(img_file) at System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle, RetCode retcode) at System.Data.Odbc.OdbcDataReader.Read() at Vmi.Form1.DB_Group_Syn(String Sql, String Vmi_T_Name, String Vmi_I_Name, String IO, String Imr)
SSH时遇到的错误
[color=#FF0000]rnorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'goodsDao': Injection of persistence fields failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [beans.xml]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Cannot find class [org.hibernate.ejb.HibernatePersistence]rn at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.postProcessAfterInstantiation(PersistenceAnnotationBeanPostProcessor.java:311)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:959)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)rn at java.security.AccessController.doPrivileged(Native Method)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)rn at org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:139)rn at org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:83)rn at com.page.junit.GoodsTest.test(GoodsTest.java:15)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)rn at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)rn at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)rn at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)rn at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)rn at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:44)rn at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)rn at org.junit.runners.ParentRunner$1.runChild(ParentRunner.java:52)rn at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)rn at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)rn at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)rn at org.junit.runners.ParentRunner.run(ParentRunner.java:246)rn at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49)rn at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)rn at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)rn at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)rn at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)rn at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)rnCaused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [beans.xml]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Cannot find class [org.hibernate.ejb.HibernatePersistence]rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)rn at java.security.AccessController.doPrivileged(Native Method)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)rn at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.findDefaultEntityManagerFactory(PersistenceAnnotationBeanPostProcessor.java:507)rn at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.findEntityManagerFactory(PersistenceAnnotationBeanPostProcessor.java:473)rn at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor$PersistenceElement.resolveEntityManager(PersistenceAnnotationBeanPostProcessor.java:599)rn at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor$PersistenceElement.getResourceToInject(PersistenceAnnotationBeanPostProcessor.java:570)rn at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:180)rn at org.springframework.beans.factory.annotation.InjectionMetadata.injectFields(InjectionMetadata.java:105)rn at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.postProcessAfterInstantiation(PersistenceAnnotationBeanPostProcessor.java:308)rn ... 38 morernCaused by: java.lang.IllegalArgumentException: Cannot find class [org.hibernate.ejb.HibernatePersistence]rn at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:233)rn at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:211)rn at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:291)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)rn ... 54 morernCaused by: java.lang.ClassNotFoundException: org.hibernate.ejb.HibernatePersistencern at java.net.URLClassLoader$1.run(URLClassLoader.java:200)rn at java.security.AccessController.doPrivileged(Native Method)rn at java.net.URLClassLoader.findClass(URLClassLoader.java:188)rn at java.lang.ClassLoader.loadClass(ClassLoader.java:307)rn at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)rn at java.lang.ClassLoader.loadClass(ClassLoader.java:252)rn at org.springframework.util.ClassUtils.forName(ClassUtils.java:211)rn at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:230)rn ... 58 morernrnrn[/color]rnrn什么包没导????
oracle11g 安装遇到的错误
我第一次安装oracle11g 时没有安装成功,我全部卸载完啦把oracle。现在我又开始安装,在第一步就遇到啦错误,说是链接失败,是什么原因啊,求大神们帮我解决下rn[img=https://img-bbs.csdn.net/upload/201406/14/1402743545_287650.png][/img]
安装hive遇到的错误
Hive2:Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient 解决办法 hive.metastore.schema.verification set 为false <property> <name>hive.metastore.schema.verification</nam
postgresql安装遇到的错误
 安装完成postgresql,使用navicat进行配置数据库,输入自己的Ip后,提示错误。错误如下截图。进入C:\Program Files\PostgreSQL\9.0\data修改pg_hba.conf文件:  # IPv4 local connections: host all all 127.0.0.1/32 md5 在下面添加一行代码: host all all 192.1...
关于FastDFS安装时的一些小小坑
前言 网上可以搜到很多安装教程,但是对于新手来说,难免会踩一些小坑,导致重新搜其它教程,很浪费时间。下面写一些亲身经历以及朋友提供的小小坑,大佬绕过。 安装libfastcommon 可能遇到的问题: -bash: make: command not found -bash: gcc: command not found 解决方案: debian通过apt-get install gcc ma...
安装mysql时遇到的
下载了mysql-3.23.27-beta-pc-linux-gnu-i686.tar。rn文件已解开。gcc是2.96版rnrn当我运行配置命令:./configure --prefix=/usr/loca/mysql就没什么动静了????rn当然就做不了gmake了rnrn日记里显示:rnmysqld startdrnready for connects.rnrnrn请大家帮助一下
安装时遇到的问题
安装TurboLinux6.1中文版时遇到如下问题:rn安装程序进行到用TurboXcfg配置显卡,能正确检测出我的显卡,然后输入显存的大小,接下来据安装手册所述,应选择显示分辨率,但是并未出现这一对话框,而是出现“欢迎使用TuoboXcfg,TuoboXcfg4.3.5版,本程序将配置您的键盘,鼠标,显示卡,显示器,字库以便X Windows系统使用”。选择“确认”后,提示“Missing XKB directory-incomplete or damaged installation of XFree86.turboxcfg不能继续”。然后显示安装已完成。重启登陆Linux后,运行turboxcfg命令也是如此。输入turbowm -x,提示display有问题。请教大家如何解决这个问题?
XP安装时遇到的...
我有两块硬盘,6.4G昆腾(分有两个盘,卷标分别为A1,A2),40GIBM(分有三个盘,卷标分别为A3,A4,A5);主板无法识别40G硬盘只好用DiskManager2000分好区后挂上,BIOS只检测到6.4G那个,安装XP过程中安装程序能正确识别40G硬盘,盘符依次为,C:(A1),D:(A3),E:(A2),F(A4),G(A5),在选择安装盘时我选择了40G的第一个分区D:(A3),安装向导拷贝完文件后重启,进XP时显示说:“SYSTEM32\hal.dll丢失或损坏请重新安装hal.dll的拷贝”,按任意键后重启,重启数遍都是这个错误,请问,这是为什么?安装在D:(A3)可以么?一定要安装在D:(A3)上我应该怎么做?
配置Android环境时,ADT安装时遇到如下错误
An error occurred while collecting items to be installedrnsession context was:(profile=epp.package.java, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).rnNo repository found containing: osgi.bundle,com.android.ide.eclipse.adt,23.0.3.1327240rnNo repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.adt.feature,23.0.3.1327240rnNo repository found containing: osgi.bundle,com.android.ide.eclipse.base,23.0.3.1327240rnNo repository found containing: osgi.bundle,com.android.ide.eclipse.ddms,23.0.3.1327240rnNo repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.ddms.feature,23.0.3.1327240rnNo repository found containing: osgi.bundle,overlay.com.android.ide.eclipse.adt.overlay,23.0.3.1327240。rn这是什么原因呢?
FastDFS环境配置及php FastDFS扩展安装
FastDFS环境配置及php FastDFS扩展安装FastDFS是一个开源的轻量级分布式文件系统,它对文件进行管理,功能包括:文件存储、文件同步、文件访问(文件上传、文件下载)等,解决了大容量存储和负载均衡的问题。特别适合以文件为载体的在线服务,如相册网站、视频网站等等。详细介绍请自行百度(www.baidu.com)。 接下来我们就来具体配置和安装,我的服务器是LNMP 在此之前首先要确定LA
相关热词 c#入门推荐书 c# 解码海康数据流 c# xml的遍历循环 c# 取 查看源码没有的 c#解决高并发 委托 c#日期转化为字符串 c# 显示问号 c# 字典对象池 c#5.0 安装程序 c# 分页算法