Hi, 

I am trying to learn JBossCache 1.2. I following the tutorial in running the 
'plain.bsh' example. But I get the 'Failed to aspectize class 
org.jboss.cache.TreeCache.  Could not find class it references org.jboss.re
moting.ServerInvocationHandler' exception. Can someone please help me? 

It looks like it is missing a jar file. But in the\lib directory, it has the 
'jboss-remoting.jar' file.

Thank you.



bsh % sourceRelative("plain.bsh")

[error] Failed to aspectize class org.jboss.cache.TreeCache.  Could not find 
class it references org.jboss.remoting.Serve
rInvocationHandler.. Do verbose mode if you want full stack trace.
// Error: // Uncaught Exception: Method Invocation this.interpreter.source : at 
Line: 19 : in file: /bsh/commands/sourceR
elative.bsh : this .interpreter .source ( path , this .caller .namespace )

Called from method: sourceRelative : at Line: 6 : in file: <unknown file> : 
sourceRelative ( "plain.bsh" )
Target exception: java.lang.Error: Error transforming the class 
org.jboss.cache.TreeCache: org.jboss.aop.instrument.Trans
formationException: Failed to aspectize class org.jboss.cache.TreeCache.  Could 
not find class it references org.jboss.re
moting.ServerInvocationHandler

java.lang.Error: Error transforming the class org.jboss.cache.TreeCache: 
org.jboss.aop.instrument.TransformationException
: Failed to aspectize class org.jboss.cache.TreeCache.  Could not find class it 
references org.jboss.remoting.ServerInvoc
ationHandler
        at 
org.jboss.aop.standalone.SystemClassLoader.loadClass(SystemClassLoader.java:191)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:219)
        at bsh.classpath.ClassManagerImpl.plainClassForName(Unknown Source)
        at bsh.classpath.ClassManagerImpl.classForName(Unknown Source)
        at bsh.NameSpace.classForName(Unknown Source)
        at bsh.NameSpace.getImportedClassImpl(Unknown Source)
        at bsh.NameSpace.getClassImpl(Unknown Source)
        at bsh.NameSpace.getClass(Unknown Source)
        at bsh.Name.consumeNextObjectField(Unknown Source)
        at bsh.Name.toObject(Unknown Source)
        at bsh.BSHAmbiguousName.toObject(Unknown Source)
        at bsh.BSHAllocationExpression.objectAllocation(Unknown Source)
        at bsh.BSHAllocationExpression.eval(Unknown Source)
        at bsh.BSHPrimaryExpression.eval(Unknown Source)
        at bsh.BSHPrimaryExpression.eval(Unknown Source)
        at bsh.BSHAssignment.eval(Unknown Source)
        at bsh.Interpreter.eval(Unknown Source)
        at bsh.Interpreter.source(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at bsh.Reflect.invokeOnMethod(Unknown Source)
        at bsh.Reflect.invokeObjectMethod(Unknown Source)
        at bsh.Name.invokeMethod(Unknown Source)
        at bsh.BSHMethodInvocation.eval(Unknown Source)
        at bsh.BSHPrimaryExpression.eval(Unknown Source)
        at bsh.BSHPrimaryExpression.eval(Unknown Source)
        at bsh.BSHReturnStatement.eval(Unknown Source)
        at bsh.BSHBlock.evalBlock(Unknown Source)
        at bsh.BSHBlock.eval(Unknown Source)
        at bsh.BshMethod.invokeImpl(Unknown Source)
        at bsh.BshMethod.invoke(Unknown Source)
        at bsh.BshMethod.invoke(Unknown Source)
        at bsh.Name.invokeLocalMethod(Unknown Source)
        at bsh.Name.invokeMethod(Unknown Source)
        at bsh.BSHMethodInvocation.eval(Unknown Source)
        at bsh.BSHPrimaryExpression.eval(Unknown Source)
        at bsh.BSHPrimaryExpression.eval(Unknown Source)
        at bsh.Interpreter.run(Unknown Source)
        at bsh.Interpreter.main(Unknown Source)

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

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


-------------------------------------------------------
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://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to