0 Replies Latest reply on Mar 30, 2009 4:49 AM by null null

    NoSuchMethodError ClassProxyFactory.newInstance

    null null Newbie

      Hi I am having a problem with compile time weaving the pojo objects.
      I am compiling my pojo objects with a separat ant task and only the jboss-aop-jdk50.jar is in the classpath not the jboss-aop.jar.
      But when i try to attach an object to the cache it throws an exception
      NoSuchMethodError
      ClassProxyFactory.newInstance(Ljava/lang/Class;[Lorg/jboss/aop/proxy/ProxyMixin;Z)Lorg/jboss/aop/proxy/ClassProxy;
      and this is a method declared in the jboss-aop.jar and not in the jboss-aop-jdk50.jar.
      When I put the jboss-aop.jar in the classpath during runtime the server throws an exception NoClassDefFoundError.

      What is going wrong here?
      Uups, I forgot to say, I am trying to integrate the pojoCache into the WebLogic 10.0MP1 Server.

      Has anyone an idea? I don't want to do load time weaving it takes too much time during startup.

      Any help will be greatly appreciated.

      Regards
      Edmund