commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Curdt <tcu...@vafer.org>
Subject Re: [Javaflow]java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.<init>(ZZ)V
Date Thu, 09 Jun 2011 13:36:16 GMT
Jars usually don't include dependencies - they have dependencies.
Unless you package them in a special way (see the maven shade plugin)

So look at the pom. Copy all jars referenced in there into your you
lib dir where you have the javaflow jar and then add those to your
fileset

>>>                                <classpath id = "project.class.path">
>>>                                         <fileset dir =
"lib">
>>>                                              <include
name = "**/commons-javaflow-1.0-SNAPSHOT.jar"/>

Here!

>>>                                        </fileset>
>>>                                </classpath>

...or add the maven shade plugin to your pom.

cheers,
Torsten

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message