[jboss-user] [JBoss AOP] - NoSuchMethodError: org.jboss.aop.ClassAdvisor$1

svr.vin do-not-reply at jboss.com
Mon Dec 1 22:20:54 EST 2008


Hi All

   I am using JBoss-4.2.3.GA, JBoss-Messaging-1.4.0.GA And JDK1.6.0_07.

  I am integrated the Jboss-messaging with JBAS  and deployed my Application, the server started without any problem.

Added the following jar file in the client classpath

   jboss-messaging.jar
   jnpserver.jar
   jbossall-client.jar
   javassist.jar
   jboss-aop.jar
   trove.jar

  Whenever   i am calling my client application the following error is throwing.

 
  
  Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: org.jboss.ao
  | p.ClassAdvisor$1.<init>(Lorg/jboss/aop/ClassAdvisor;Lorg/jboss/aop/AspectManager
  | ;Lorg/jboss/aop/ClassAdvisor;Ljava/lang/Class;)V
  |         at org.jboss.aop.ClassAdvisor.attachClass(ClassAdvisor.java:271)
  |         at org.jboss.aop.AspectManager.initialiseClassAdvisor(AspectManager.java
  | :591)
  |         at org.jboss.aop.AspectManager.getAdvisor(AspectManager.java:579)
  |         at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.<clinit
  | >(ClientConnectionFactoryDelegate.java)
  |         at sun.misc.Unsafe.ensureClassInitialized(Native Method)
  |         at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAc
  | cessorFactory.java:25)
  |         at sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java
  | :122)
  |         at java.lang.reflect.Field.acquireFieldAccessor(Field.java:918)
  |         at java.lang.reflect.Field.getFieldAccessor(Field.java:899)
  |         at java.lang.reflect.Field.getLong(Field.java:528)
  |         at java.io.ObjectStreamClass.getDeclaredSUID(ObjectStreamClass.java:1614
  | )
  |         at java.io.ObjectStreamClass.access$700(ObjectStreamClass.java:52)
  |         at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:425)
  |         at java.security.AccessController.doPrivileged(Native Method)
  |         at java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:413)
  |         at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:310)
  |         at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:547)
  |         at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:158
  | 3)
  |         at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
  |         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
  | 732)
  |         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
  |         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:19
  | 47)
  |         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
  | 
  |         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
  | 753)
  |         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
  |         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
  |         at java.rmi.MarshalledObject.get(MarshalledObject.java:142)
  |         at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:7
  | 2)
  |         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:710)
  |         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
  |         at javax.naming.InitialContext.lookup(InitialContext.java:392)
  |         at com.bcsis.his.mq.HISConsumer.<init>(HISConsumer.java:33)
  |         at com.bcsis.his.socket.HISSender.init(HISSender.java:52)
  |         at com.bcsis.his.socket.HISSender.<init>(HISSender.java:44)
  |         at com.bcsis.his.socket.HISSdrManager.openConnection(HISSdrManager.java:
  | 88)
  |         at HISLayout.createSTPConn(HISLayout.java:626)
  |         at HISLayout$1.actionPerformed(HISLayout.java:528)
  |         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:19
  | 95)
  |         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.jav
  | a:2318)
  |         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
  | .java:387)
  |         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242
  | )
  |         at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
  |         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1
  | 220)
  |         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMen
  | uItemUI.java:1261)
  |         at java.awt.Component.processMouseEvent(Component.java:6041)
  |         at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
  |         at java.awt.Component.processEvent(Component.java:5806)
  |         at java.awt.Container.processEvent(Container.java:2058)
  |         at java.awt.Component.dispatchEventImpl(Component.java:4413)
  |         at java.awt.Container.dispatchEventImpl(Container.java:2116)
  |         at java.awt.Component.dispatchEvent(Component.java:4243)
  |         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322
  | )
  |         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
  | 
  |         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
  |         at java.awt.Container.dispatchEventImpl(Container.java:2102)
  |         at java.awt.Window.dispatchEventImpl(Window.java:2440)
  |         at java.awt.Component.dispatchEvent(Component.java:4243)
  |         at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
  |         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
  | ad.java:273)
  |         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
  | java:183)
  |         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
  | ad.java:173)
  |         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
  | 
  |         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
  | 
  |         at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
  | 


   please give me suggestion is there additional package required are anything i have to change.

  Thanks in adv.

Srinivas

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

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



More information about the jboss-user mailing list