anonymous wrote : "An EJB module must contain one or more enterprise beans." 
still remains..

That's a normal validation failure, since there actually aren't any beans yet.  
You can silence it by editing the EJB's META-INF/ejb-jar.xml file and taking 
the schema attribute off the opening <ejb-jar> tag, i.e. change this (wrapping 
added):


  | <ejb-jar id="ejb-jar_ID" version="2.1"
  |             xmlns="http://java.sun.com/xml/ns/j2ee";
  |             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
  |             xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd";>

To this:


  | <ejb-jar id="ejb-jar_ID" version="2.1" 
  |             xmlns="http://java.sun.com/xml/ns/j2ee"; 
  |             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; >
  | 

You can change it back after you've actually added a bean.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3964872
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to