Bug 129195 - 'content of element "ejb-jar" is not complete' error after creating new EJB project
Summary: 'content of element "ejb-jar" is not complete' error after creating new EJB p...
Status: CLOSED DUPLICATE of bug 119311
Alias: None
Product: WTP Java EE Tools
Classification: WebTools
Component: jst.j2ee (show other bugs)
Version: 1.0.1   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Neeraj Agrawal CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-23 13:12 EST by Kristian Rink CLA
Modified: 2007-01-24 14:41 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kristian Rink CLA 2006-02-23 13:12:22 EST
After creating an empty EJB project, I am left with the following error:


Severity	Description	Resource	In Folder	Location	Creation Time	Id
2	cvc-complex-type.2.4.b: The content of element 'ejb-jar' is not complete. One of '{"http://java.sun.com/xml/ns/j2ee":display-name, "http://java.sun.com/xml/ns/j2ee":icon, "http://java.sun.com/xml/ns/j2ee":enterprise-beans}' is expected.	ejb-jar.xml	Fnord/ejbModule/META-INF	line 5	23. Februar 2006 18:43:10	56


I think that creating a project using the project-creation wizard shouldn't end in a project starting out with an error...
Comment 1 John Lanuti CLA 2006-02-24 09:38:47 EST
This is per spec design, an ejb jar has to have an enterprise bean, one thing we could do is add a create default session bean checkbox
Comment 2 Neeraj Agrawal CLA 2006-03-15 13:41:22 EST

*** This bug has been marked as a duplicate of 119311 ***
Comment 3 John Lanuti CLA 2006-11-28 15:51:00 EST
This is part of a mass update to close out all stale WTP bugs which are in the resolved state without an appropriate targeted version.  If you feel this bug was closed inappropriately, please reopen.