Hi,
I get the following error when deploy to stax.net:
Jul 19, 2010 8:15:15 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener
java.lang.IllegalAccessError: tried to access class javassist.bytecode.StackMapTable$Writer from class org.jboss.seam.util.ProxyFactory
at org.jboss.seam.util.ProxyFactory.makeConstructor(ProxyFactory.java:803)
at org.jboss.seam.util.ProxyFactory.makeConstructors(ProxyFactory.java:685)
...
In my maven I have the following:
<dependency>
<groupId>org.jboss.seam</groupId>
<artifactId>jboss-seam</artifactId>
<version>2.2.0.GA</version>
<!-- In order to compile, I must comment out the exclusions.
To run I must KEEP the exclusion here.
-->
<exclusions>
<exclusion>
<groupId>javax.el</groupId>
<artifactId>el-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>javax.el</groupId>
<artifactId>el-api</artifactId>
<version>1.2</version>
<scope>provided</scope>
</dependency>
javax.el is excluded because this jar is in the tomcat lib directory on my machine, that is normal for tomcat 6. So it had to be excluded, but maybe stax.net does not have this jar?
Why do I get the error?
Thanks, Philip
Tags: el, exclusion, jar, javax, maven, seam
-
▶ Reply to This