This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 244369

Summary: org.xml.sax.SAXParseException; cvc-complex-type.2.4.a: Invalid content was found starting with element 'explicit-platform'. One of '{"http://www.netbeans.org/ns/j2se-project/3":web-service-clients, "h
Product: projects Reporter: nacee
Component: Ant FreeformAssignee: Tomas Stupka <tstupka>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 209599
Attachments: stacktrace

Description nacee 2014-05-08 08:25:02 UTC
This bug was originally marked as duplicate of bug 236846, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.0 (Build 201403101706)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b70, Java(TM) SE Runtime Environment, 1.8.0-b132
OS: Windows 7

User Comments:
GUEST: import eclipse javase project into netbeans

nacee: [Menu] File > Import Project > Eclipse Project...
[Comment] A few days ago, it worked but now it always gives this error.




Stacktrace: 
org.xml.sax.SAXParseException; cvc-complex-type.2.4.a: Invalid content was found starting with element 'explicit-platform'. One of '{"http://www.netbeans.org/ns/j2se-project/3":web-service-clients, "http://www.netbeans.org/ns/j2se-project/3":source-roots}' is expected.
   at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)
   at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:134)
   at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:437)
   at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:368)
   at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:325)
   at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(XMLSchemaValidator.java:458)
Comment 1 nacee 2014-05-08 08:25:05 UTC
Created attachment 147177 [details]
stacktrace
Comment 2 Martin Kozeny 2014-07-30 13:12:12 UTC

*** This bug has been marked as a duplicate of bug 229015 ***