I'm seeing a similar problem at runtime:

13:32:11,812 ERROR [Deployer] Deployment failed due to
java.lang.NoSuchMethodError: org.apache.xbean.finder.ClassFinder.isAnnotationPre
sent(Ljava/lang/Class;)Z
       at org.apache.openejb.config.DeploymentLoader.discoverModuleType(Deploym
entLoader.java:331)
       at org.apache.openejb.config.DeploymentLoader.load(DeploymentLoader.java
:70)
       at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.createModule(
EjbModuleBuilder.java:150)

Looks like Geronimo uses 2.8 version of xbean-finder while OpenEJB3
uses 2.9-SNAPSHOT. Can someone please fix/look into that?

I will try upgrading to 2.9-SNAPSHOT version in my local build of Geronimo.

Thanks,
Jarek

On 2/14/07, Tim McConnell <[EMAIL PROTECTED]> wrote:
Hi David, Is the 2.8 version of xbean-finder.jar the correct version to use
for Geronimo ?? I notice there is a 2.9 version available and when I use
the 2.8 version with a clean m2 repo I get the errors below. Thanks.

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

C:\SVN\G\server\trunk\modules\geronimo-j2ee-builder\src\main\java\org\apache\geronimo\j2ee\deployment\annotation\EJBAnnotationHelper.java:[173,24]
cannot find symbol
symbol  : method isAnnotationPresent(java.lang.Class<javax.ejb.EJB>)
location: class org.apache.xbean.finder.ClassFinder

C:\SVN\G\server\trunk\modules\geronimo-j2ee-builder\src\main\java\org\apache\geronimo\j2ee\deployment\annotation\EJBAnnotationHelper.java:[174,24]
cannot find symbol
symbol  : method isAnnotationPresent(java.lang.Class<javax.ejb.EJBs>)
location: class org.apache.xbean.finder.ClassFinder

--
Thanks,
Tim McConnell

Reply via email to