Tomcat7.0启动报错:java.lang.illegalargumentexception:taglib definition not consisten with specification version 原因:Tomcat7和Tomcat6在标签配置上稍有不同. 解决: You just need to confirm the allowed tags by web.xml confirming DTD file. e.g. version=”2.5″ compatible web.…
练习Go修改字符串的时候遇到这个问题:cannot use "c" (type string) as type byte in assignment,代码如下: package main import "fmt" func main() { s := "hello" c := []byte(s) // 将字符串转为[]byte类型 c[0] = 'c' // byte用''单引号包括字符 不然报错cannot use "c"…
安装xlrd包的时候,总是报错:ERROR: Could not install packages due to an EnvironmentError: HTTPConnectionPool (host='127.0.0.1', port=8888): Max retries exceeded with url: http://pypi.douban .com/simple/ (Caused by ProxyError('Cannot connect to proxy.', NewConnec…