常见问题一:我在安装python2.7时,提示错误:'An error occurred during the installation of assembly 'Microsoft.VC90.CRT,version="9.0.21022.8",publicKeyToken="1fc8b3b9a1e18e3b",processorArchitecture="x86",type="win32".Please refer to H…
一.版本不一致 1. 错误信息: > git push -u origin master To ******.git ! [rejected] master -> master (non-fast-forward) error: failed to push some refs to '*******.git' hint: Updates were rejected because the tip of your current branch is behind hint: its remot…
最近整合 spring-mvc 和 activeMq ,出现了几个异常,我把他记录下来,具体的原理分析我就不太会写了,只把详细情况和解决方案给出来,希望对各位老铁有所帮助! 问题1:缺少log4j的配置文件 异常信息:出现以下的内容时,可能就是你没有配置 log4j 了. log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader). log4j:WARN Ple…
1. 处理中文时出现的错误'ascii' codec can't decode byte 0xe9 in position 0: ordinal not in range(128)" 解决方法 "UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 0: ordinal not in range(128)"解决办法,在该python文件的前面加上如下几句,问题得到解决 #!/usr/bin/e…
Python基础题1.冒泡排序 def mao_pao(li): for i in range(len(li)): for j in range(len(li)): if li[i] < li[j]: li[i],li[j] = li[j] ,li[i] import random li = list(range(10)) random.shuffle(li) print(li) mao_pao(li) print(li) 2.删除列表中的重复元素 方式一 li = [1,5,5,4,12,3…
有时候,自己下载的或者拷贝过来的JNI项目出现莫名错误,通常是找不到头文件,可能解决方案如下: Removing the C nature: The only way I could find to reliably removed the C nature from the project was by hand editing Eclipse's .project file for the project. Close the Eclipse project (e.g. by quittin…
出现如下提示,错误: 找不到或无法加载主类 com.sun.tools.javac.MainMSB6006: 或 閿欒: 绋嬪簭鍖卆ndroid.support.v4.view.ViewPager涓嶅瓨鍦? 删掉bin,obj文件夹重新生成 还是没有效果的话参照这里http://blog.csdn.net/cctvcqupt/article/details/46636809 Your emulator is out of date, please update by launching Andr…
一:安装sql server 2005过程中出现 如下问题:“选择的功能中没有任何功能可以安装或升级”: 解决方案:Microsoft SQL Server 2005→配置工具→SQL配置管理器→SQL Server 2005服务→右边的两个服务启动SQL Server FullTest Search() 和服务SQl Sever(计算机名) 二:无法将数CLSID写入 \Software\Classes\PROTOCOLS\Handler\ms-help. 解决办法:退出电脑安全软件 三:Mi…
创建定时任务的目的就是摆脱人为对程序重复性地运行. 0. 首先用下面的指令检查你是否安装crontab, crontab -l 如果本身就有的话,那么出现如下指令 LC_CTYPE="zh_CN.utf-8" # Edit this file to introduce tasks to be run by cron. # # Each task to run has to be defined through a single line # indicating with differ…