Found the problem; my jar file did not have the whole path of the .class files.

 

Mike

 

-----Opprinnelig melding-----
Fra: Michail Bikoulis [mailto:[EMAIL PROTECTED]]
Sendt: 5. juni 2002 15:48
Til: JBoss user mailiste ([EMAIL PROTECTED])
Emne: ClassNotFoundException when running JBoss-2.4.4_Jetty-3.1.7-1

 

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

Reply via email to