|
I’m new to JBoss and J2EE but have programmed in Java. I am trying to
deploy a standard MBean that is independent of JBoss services. I have bought the JBoss documentation and am using
the Mail Forwarding application described in chapter 11 as a reference. My
problem is that when JBoss tries to deploy my MBean, it gives the error “Could not create MBean… java.lang.ClassNotFoundException. I am using the build file
from the Mail Forwarding application which demonstrates the standard
requirements for compiling and running with JBoss. I
thought that the classpaths build.path
and client.path defined in the build file defined the
correct classpath. Even in the server.log I can see an
Info message displaying the value of java.class.path,
and there I can see that the jar file of my MBean is
included. Are there any other classpath considerations that are maybe omitted in the
documentation? Thanks, Mike |
