[jboss-user] [Beginners Corner] - File names in an EAR and NoClassDefFoundError

c_inconnu do-not-reply at jboss.com
Thu Apr 12 05:52:26 EDT 2007


Hi,

I have a problem with the archive naming inside an EAR. Here is the EAR structure:

  | a.ear
  |  +- META-INF
  |  |    +- application.xml
  |  |    +- jboss-app.xml 
  |  +- b.jar
  |  +- c.war
  | 

A class in c.war is calling a class in b.jar. All is working fine, but if i rename b.jar to b-b.jar (with an hyphen) and update application.xml accordingly, i get a NoClassDefFoundError. I also tried with b_b.jar and that works.

So it seems that file names in an EAR cannot have a "-" with JBoss ??? Could someone answer that annoying question ? Thanks

David

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

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



More information about the jboss-user mailing list