这个问题也挺让人无语的,昨天重新装了Mac OS X,然后装JDK,想都没想就装了JDK 8,然后开始实验,结果就报类似于下面这种Exception:
org.aspectj.apache.bcel.classfile.ClassFormatException: File: 'java.util.Comparator': Invalid byte tag in constant pool: 18...
分类:
Web程序 时间:
2014-08-03 12:50:35
阅读次数:
261
root@node1glance]#su-s/bin/sh-c"glance-managedb_sync"glanceTraceback(mostrecentcalllast):File"/usr/bin/glance-manage",line10,in<module>sys.exit(main())File"/usr/lib/python2.6/site-packages/glance/cmd/manage.py",line253,inmainlog.setup(‘glance‘)File"/u..
Deploying JSF portlets?# Some JSF portlets (like: sample-icefaces-ipc-ajax-push-portlet) can not be deployed on Resin due to following exception: com.caucho.config.ConfigException:?listener-clas...
分类:
移动开发 时间:
2014-08-02 18:33:44
阅读次数:
486
C++:泛型编程stack(括号匹配)时间限制(普通/Java):1000MS/3000MS 运行内存限制:65536KByte 总提交:176 测试通过:88描述假设表达式中包含一种括号:圆括号,其嵌套顺序随意,即(()())或(())等为正确的格式,)(或((())或())均...
分类:
编程语言 时间:
2014-08-02 18:09:13
阅读次数:
307
源自:http://www.en8848.com.cn/read/proseessay/lz/239065.html 1. Buy someone's coffee. 为他人买杯咖啡 It's just coffee -- no one needs coffee, so this doesn't r...
import java.util.Arrays;public class Stack { private static final int INIT_SIZE = 10; private Object[] datas; private int size; pu...
分类:
其他好文 时间:
2014-08-02 12:31:43
阅读次数:
243
FFT实现起来挺复杂的,开始用vector,结果发现空间超了,换成数组还是超,删掉了几个后又超时了
sin cos 函数调用次数太多了,改成乘法,还是超时
最后把FFT里的除法运算和模运算优化了一下,终于过了,排的老后面
坑,3843MS,一看时间最少的只有671MS,我都怀疑这是不是同一个算法。。为毛差距这么大
#pragma comment(linker, "/STACK:1024...
分类:
其他好文 时间:
2014-08-01 23:18:12
阅读次数:
333
1.exception.h#ifndef __EXCEPTION_H__#define __EXCEPTION_H__#include #include class Exception : public std::exception{ public: Exception(cons...
分类:
编程语言 时间:
2014-08-01 22:32:52
阅读次数:
321
五个关键字 和两个结构两个结构:1.ThrowableError表示错误Exception异常2.ExceptionRuntimeException(包括其子类)非RuntimeException(Checked异常)5个关键字:try, catch, finally, throws , throw...
分类:
编程语言 时间:
2014-08-01 18:32:32
阅读次数:
251
public class ReflectTest { public static void main(String[] args) throws Exception { ?? ?//config.properties 与当前类在不同包下; ?? ?InputStream is=ReflectTest.class.getResourceAsStream("/co...
分类:
编程语言 时间:
2014-08-01 16:21:42
阅读次数:
210