Hi Dominik, Yes, we did introduce a dependency on ASM for the 2.2.0 release via this JIRA: https://issues.apache.org/jira/browse/OPENJPA-2085
It looks like we remembered to update the combined jar (openjpa-all-2.2.0.jar) with the asm class files, but we forgot to include it in the lib directory of the apache-openjpa-2.2.0-binary.zip contents. Can you verify that is the location you are referring to? When you mentioned your compile broke... Which compile? The compile of openjpa? Or, the compile of your entity classes? A maven build of openjpa should pull down the dependency automatically. Thanks for clarifying. You are right, we probably should have highlighted this new dependency. We might have re-visit the 2.2.0 release in order to include this dependency in the lib directory. Thanks for bringing this to our attention. Kevin On Sat, Feb 25, 2012 at 2:04 AM, Dominik Stadler <dominik.stad...@gmx.at>wrote: > Hi, > > is there a new dependency on asm introduced with OpenJPA 2.2.0? > > My compile fails with "java.lang.ClassNotFoundException: > org.objectweb.asm.ClassVisitor" after upgrading. > > Also > > http://mail-archives.apache.org/mod_mbox/openjpa-commits/201112.mbox/%3c20111202064303.956532388...@eris.apache.org%3Eseems > to list a commit which did add such a dependency. > > It would be nice to mention this in the release notes in order to prevent > hickups for people upgrading. > > Also shouldn't the asm-.jar files be included in the downloadable binaries? > > Thanks... Dominik. >