[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide
chuckadams
do-not-reply at jboss.com
Mon Aug 14 00:04:41 EDT 2006
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
More information about the jboss-user
mailing list