常信息补充:
Caused by: javassist.CannotCompileException: by java.lang.OutOfMemoryError: PermGen space
at javassist.ClassPool.toClass(ClassPool.java:1099)
at javassist.CtClass.toClass(CtClass.java:1265)
at com.taobao.hsf.bytecode.ClassGenerator.toClass(ClassGenerator.java:293)
... 37 more
Caused by: java.lang.OutOfMemoryError: PermGen space
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at javassist.ClassPool.toClass2(ClassPool.java:1112)
at javassist.ClassPool.toClass(ClassPool.java:1093)
at javassist.CtClass.toClass(CtClass.java:1265)
在 VM arguments中添加配置:-Xms256m -Xmx512m -XX:PermSize=128M -XX:MaxNewSize=128m -XX:MaxPermSize=256m
另外的博客
http://qingyuexiao.iteye.com/blog/1886059