SEAM例外,谁能告诉我它为什么会发生?

时间:2010-07-20 09:29:13

标签: exception seam

有谁能告诉我为什么会这样?

谢谢,菲利普

2010年7月20日上午9:24:13 org.apache.catalina.core.StandardContext listenerStart SEVERE:将上下文初始化事件发送到类org.jboss.seam.servlet.SeamListener的侦听器实例的异常 java.lang.IllegalAccessError:尝试从类org.jboss.seam.util.ProxyFactory访问类javassist.bytecode.StackMapTable $ Writer  在org.jboss.seam.util.ProxyFactory.makeConstructor(ProxyFactory.java:803)  在org.jboss.seam.util.ProxyFactory.makeConstructors(ProxyFactory.java:685)  在org.jboss.seam.util.ProxyFactory.make(ProxyFactory.java:565)  在org.jboss.seam.util.ProxyFactory.createClass3(ProxyFactory.java:346)  在org.jboss.seam.util.ProxyFactory.createClass2(ProxyFactory.java:325)  在org.jboss.seam.util.ProxyFactory.createClass(ProxyFactory.java:284)  在org.jboss.seam.Component.createProxyFactory(Component.java:2426)  在org.jboss.seam.Component.getProxyFactory(Component.java:1513)  在org.jboss.seam.Component.wrap(Component.java:1504)  在org.jboss.seam.Component.instantiateJavaBean(Component.java:1442)  在org.jboss.seam.Component.instantiate(Component.java:1359)  在org.jboss.seam.Component.newInstance(Component.java:2122)  在org.jboss.seam.contexts.Contexts.startup(Contexts.java:304)  在org.jboss.seam.contexts.Contexts.startup(Contexts.java:278)  在org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecycle.java:116)  在org.jboss.seam.init.Initialization.init(Initialization.java:740)  在org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:36)  at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3972)  在org.apache.catalina.core.StandardContext.start(StandardContext.java:4467)  在org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)  在org.apache.catalina.core.StandardHost.start(StandardHost.java:785)  在org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)  在org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)  在org.apache.catalina.startup.Embedded.start(Embedded.java:825)  在com.staxnet.appserver.TomcatServerBase.startContainer(TomcatServerBase.java:120)  在com.staxnet.appserver.TomcatServerBase.start(TomcatServerBase.java:190)  在com.staxnet.appserver.SnazAppServer.main(SnazAppServer.java:89) 2010年7月20日上午9:24:13 com.sun.faces.config.ConfigureListener contextInitialized

1 个答案:

答案 0 :(得分:3)

Javassist版本冲突。我将Javassist升级到3.8.0.GA以解决此问题(如果它不存在,请为您的pom添加依赖项。)