[JBoss-dev] Problem with Classpath specified in Manifest.mf file.

sandesh g sandeshgujare at gmail.com
Sat Mar 28 08:06:28 EDT 2009


Hi All, 

      I have small issue, I added one jar in system classpath of JBoss
server (ie added to JBOSS_CLASSPATH in run.bat) say mycp.jar. In my jar file
there is a manifest.mf file and I specified the classpath in Manifest file
as below e.g.: 
Class-Path: ./regexp.jar ./xmlapi.jar ./cloudscape.jar 

My application refers to classes in these jar files. But it looks like it
does not get the classes specified in jars which are added to classpath in
manifest.mf (NoClassDefFoundError for these classes). 
If I specify these jars in jboss-service.xml instead then everythig works
fine. 

Is there any issue in JBoss with the classpath jar entries in manifest.mf
file? 

Your help is highly appreciated! 

Thanks & Regards, 
Sandesh
-- 
View this message in context: http://www.nabble.com/Problem-with-Classpath-specified-in-Manifest.mf-file.-tp22756170p22756170.html
Sent from the JBoss - Dev mailing list archive at Nabble.com.




More information about the jboss-development mailing list