[rapid-framework] rapid部署到jboss4报错

woshiwuji 2010-12-21
贴出部分代码,望帮助解决。
2010-12-21 20:32:04,864 INFO  [org.hibernate.cfg.SettingsFactory] Default entity-mode: pojo
2010-12-21 20:32:04,864 INFO  [org.hibernate.cfg.SettingsFactory] Named query checking : enabled
2010-12-21 20:32:04,915 INFO  [org.hibernate.impl.SessionFactoryImpl] building session factory
2010-12-21 20:32:05,083 ERROR [org.hibernate.proxy.pojo.BasicLazyInitializer] Javassist Enhancement failed: com.company.project.model.Address
java.lang.NoSuchMethodError: javassist.bytecode.Bytecode.addPutfield(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
at javassist.util.proxy.ProxyFactory.makeConstructor(ProxyFactory.java:770)
at javassist.util.proxy.ProxyFactory.makeConstructors(ProxyFactory.java:670)
at javassist.util.proxy.ProxyFactory.make(ProxyFactory.java:551)
at javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:335)
at javassist.util.proxy.ProxyFactory.createClass2(ProxyFactory.java:314)
at javassist.util.proxy.ProxyFactory.createClass(ProxyFactory.java:273)
at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.getProxyFactory(JavassistLazyInitializer.java:162)
badqiu 2010-12-21
应该是你的javassist版本有问题吧.报这种错误.
woshiwuji 2010-12-22
谢谢你的回复!
javassist.jar是rapid-framework自带的啊!
难道jboss里也有这个包,产生冲突了,再研究研究!
Global site tag (gtag.js) - Google Analytics