import com.sun.image.codec.jpeg.JPEGImageEncoder报错解决办法
今天在写一个Java Web程序时,在处理JPEG图片时,需要导入com.sun.image.codec.jpeg.JPEGImageEncoder和com.sun.image.codec.jpeg.JPEGCodec这两个包,导入后报错如下:
Access restriction: The type 'JPEGImageEncoder' is not API (restriction on req...
分类:
Web程序 时间:
2015-04-02 22:37:44
阅读次数:
482
测试MYSQL表关于内外连接
表一:雇员表(雇员ID,雇员名称,雇员入职时间,薪水,部门号)
createtableempo(
empoidint(6)notnullprimarykeyauto_increment,
empnamevarchar(32)notnull,
empdatedatetimenotnull,
salaryint(6)notnull,
deptnoint(6)notnull
)engine=innodbchars..
分类:
数据库 时间:
2015-04-02 16:49:18
阅读次数:
239
ArcGIS Engine 开发(一)对地图放大、缩小、漫游、全局等功能...
分类:
其他好文 时间:
2015-04-02 15:13:21
阅读次数:
384
SQL Database Engine: TCP 1433 & UDP 1434 SQL Analysis Service: TCP 2383 (2382 if named instance) Windows Firewall with Advanced Security On Windows 7 ...
分类:
数据库 时间:
2015-04-02 14:44:01
阅读次数:
138
logstash中的类型
array
boolean
bytes
codec
hash
number
password
path
string
arrayAn array can be a single string value or multiple values. If you specify the same setting multiple times, it appends to the...
分类:
其他好文 时间:
2015-04-01 17:38:19
阅读次数:
161
1/ISAM ISAM是一个定义明确且历经时间考验的数据表格管理方法,它在设计之时就考虑到数据库被查询的次数要远大于更新的次数。因此,ISAM执行读取操作的速度很快,而且不占用大量的内存和存储资源。ISAM的两个主要不足之处在于,它不支持事务处理,也不能够容错:如果你的硬盘崩溃了,那么数据文件就.....
分类:
数据库 时间:
2015-04-01 16:46:54
阅读次数:
171
KeyWord:ESRI ArcGIS 9.3 Desktop Server Engine ArcEngine ArcIMS ArcSDE Workstation ECP Lisence Crack 破解 许可 下载新增ArcGIS 9.3的电驴下载地址(都是windows版本的),具体的使用与设置...
分类:
其他好文 时间:
2015-03-31 23:50:41
阅读次数:
182
1. 以root用户身份登录阿里云服务器2. 使用apt-get install安装Tomcat7sudo apt-get install tomcat73.安装后,Tomcat在启动时报错*Starting Tomcat servlet engine tomcat7 [fail]但是tomcat7的主页仍然可以访问,具体原因不详,以后再说吧4.测试在自己电脑浏览器里输入http://阿里云...
分类:
Web程序 时间:
2015-03-31 22:20:41
阅读次数:
157
在成功安装python-mysql后,开始配置django的mysql连接配置visettings.py修改DATABASES={‘default‘:{‘ENGINE‘:‘django.db.backends.sqlite3‘,‘NAME‘:os.path.join(BASE_DIR,‘db.sqlite3‘),}}为DATABASES={‘default‘:{‘ENGINE‘:‘django.db.backends.mysql‘,‘NAME‘:‘cc‘,‘USER‘:‘..
分类:
数据库 时间:
2015-03-31 20:27:53
阅读次数:
186
运行时报错:
net.sf.jasperreports.engine.util.JRFontNotFoundException: Font '宋体' is not available to the JVM. See the Javadoc for more details.
解决方案:
在项目中的classpath目录下
1.添加你在需要的字体集(如:在windows的fonts下找到你要...