[jboss-user] [JBoss Seam] - Seam breaks with Groovy

trouby do-not-reply at jboss.com
Thu Mar 1 18:47:46 EST 2007


Hi,
I have an annoying issue,


I'm trying to pack Seam (jboss-seam.jar/thirdparty-all.jar) plus Groovy scripting language (http://groovy.codehaus.org/)

As it seems, Seam uses ASM package (by Objectweb) while Groovy do the same.


Problem is that Groovy comes with asm ver 2.2 while I'm not sure which Asm version Seam requires, but both doesnt work together.


So if I dont include any ASM jars except what comes with thirdparty-all.jar I get an exception that some classes are missing such as:


  | [#|2007-03-01T13:06:45.080+0200|INFO|sun-appserver9.1|javax.enterprise.system.container.ejb|_ThreadID=20;_ThreadName=httpSSLWorkerThread-8181-0;|
  | javax.ejb.TransactionRolledbackLocalException: Exception thrown from bean: java.lang.NoClassDefFoundError: org/objectweb/asm/Opcodes
  |         at com.sun.ejb.containers.BaseContainer.checkExceptionClientTx(BaseContainer.java:3675)
  | ...
  | 


If I include the asm-2.2.jar file which comes with Groovy, then Groovy complains with errors such as:


  | org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)V|#]
  | 


Any solution here? I assume both Groovy/Seam make a use of different ASM versions.... :-/


Thanks guys,

Asaf.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024504#4024504

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4024504



More information about the jboss-user mailing list