Kabir, 
I have tried 
java -Xbootclasspath/p:C:\testaop com.bar.MyClass
  | 
as well. But I got the error msg below:
Exception in thread "main" java.lang.NoClassDefFoundError: 
org/jboss/aop/AspectManager
  |         at java.lang.ClassLoader.defineClass(Unknown Source)
  |         at java.security.SecureClassLoader.defineClass(Unknown Source)
  |         at java.net.URLClassLoader.defineClass(Unknown Source)
  |         at java.net.URLClassLoader.access$100(Unknown Source)
  |         at java.net.URLClassLoader$1.run(Unknown Source)
  |         at java.security.AccessController.doPrivileged(Native Method)
  |         at java.net.URLClassLoader.findClass(Unknown Source)
  |         at java.lang.ClassLoader.loadClass(Unknown Source)
  |         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
  |         at java.lang.ClassLoader.loadClass(Unknown Source)
  |         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
  | 
I believe that jboss-aop.jar is in the classpath. (I set it in both window 
environment and script environment.) I have no idea why it could not find 
org/jboss/aop/AspectManager.

Thanks,
-j

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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to