Without knowing anything more than you've told us, I'd assume the XSD
is available at:
http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd

And also I think you have most likely put this file in the wrong place
in your project. It needs to be in /src/main/resources/META-INF. Maven
will throw an error if the file is not located there.

Wayne

On 4/17/07, Gonzalo Vásquez Sáez <[EMAIL PROTECTED]> wrote:
I'm getting the following error:

"Error assembling EJB: META-INF/ejb-jar.xml is required for ejbVersion 2.x"

Attached is the ejb-jar.xml file that I'm using, which actually being
deployed onto a WebSphere 6.0 works fine, but according to Maven and Xml
Writer it's not valid (doesn't comply to the refered XSD), but I can't seem
to find where the problem is.

Against what XSD is maven checking? Which is maven's supported structure for
this kind of files? Are there any properties I can configure to avoid this
check being done?

Any help would be appreciated.

Regards,

Gonzalo Vasquez



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to