[jbosstools-issues] [JBoss JIRA] (JBIDE-18435) Validation errors in WildFly quickstarts

Jiri Peterka (JIRA) issues at jboss.org
Fri Oct 10 06:32:11 EDT 2014


    [ https://issues.jboss.org/browse/JBIDE-18435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13010559#comment-13010559 ] 

Jiri Peterka commented on JBIDE-18435:
--------------------------------------

Currently there are these issues when imported all quickstarts. Described issues seems to be fixed
{code}
Description	Resource	Path	Location	Type
cvc-complex-type.2.4.a: Invalid content was found starting with element 'iiop:iiop'. One of '{"http://java.sun.com/xml/ns/javaee":security-role, "http://java.sun.com/xml/ns/javaee":method-permission, "http://java.sun.com/xml/ns/javaee":container-transaction, "http://java.sun.com/xml/ns/javaee":interceptor-binding, "http://java.sun.com/xml/ns/javaee":message-destination, "http://java.sun.com/xml/ns/javaee":exclude-list, "http://java.sun.com/xml/ns/javaee":application-exception, "http://java.sun.com/xml/ns/javaee":assembly-descriptor-entry}' is expected.	jboss-ejb3.xml	/wildfly-jts-application-component-2/src/main/resources/META-INF	line 28	XML Problem
cvc-complex-type.2.4.a: Invalid content was found starting with element 'jee:interceptor-binding'. One of '{"http://java.sun.com/xml/ns/javaee":description, "http://java.sun.com/xml/ns/javaee":ejb-name}' is expected.	jboss-ejb3.xml	/wildfly-ejb-security-interceptors/src/main/resources/META-INF	line 26	XML Problem
cvc-complex-type.2.4.a: Invalid content was found starting with element 'jee:interceptor-binding'. One of '{"http://java.sun.com/xml/ns/javaee":description, "http://java.sun.com/xml/ns/javaee":ejb-name}' is expected.	jboss-ejb3.xml	/wildfly-ejb-security-plus/src/main/resources/META-INF	line 26	XML Problem
cvc-elt.1: Cannot find the declaration of element 'jboss'.	jboss-ejb3.xml	/wildfly-ejb-security-interceptors/src/main/resources/META-INF	line 20	XML Problem
cvc-elt.1: Cannot find the declaration of element 'jboss'.	jboss-ejb3.xml	/wildfly-ejb-security-plus/src/main/resources/META-INF	line 20	XML Problem
Endorsed directory '/home/jpeterka/data/repo/github.com/wildfly/quickstart/ejb-multi-server/app-main/web/target/endorsed' is missing. You may need to a perform a Maven command line build in order to create it.	pom.xml	/jboss-ejb-multi-server-app-main-web	line 110	Maven Configuration Problem
Referenced file contains errors (jar:file:/home/jpeterka/data/ide/test/jbds8cr2/studio/plugins/org.jboss.tools.as.catalog_3.0.0.CR2-v20141003-1627-B87.jar!/schema/xsd/jboss-ejb3-2_0.xsd).  For more information, right click on the message in the Problems View and select "Show Details..."	jboss-ejb3.xml	/jboss-ejb-multi-server-app-one-ejb/src/main/resources/META-INF	line 1	XML Problem
Referenced file contains errors (jar:file:/home/jpeterka/data/ide/test/jbds8cr2/studio/plugins/org.jboss.tools.as.catalog_3.0.0.CR2-v20141003-1627-B87.jar!/schema/xsd/jboss-ejb3-spec-2_0.xsd).  For more information, right click on the message in the Problems View and select "Show Details..."	jboss-ejb3.xml	/wildfly-ejb-security-interceptors/src/main/resources/META-INF	line 1	XML Problem
Referenced file contains errors (jar:file:/home/jpeterka/data/ide/test/jbds8cr2/studio/plugins/org.jboss.tools.as.catalog_3.0.0.CR2-v20141003-1627-B87.jar!/schema/xsd/jboss-ejb3-spec-2_0.xsd).  For more information, right click on the message in the Problems View and select "Show Details..."	jboss-ejb3.xml	/wildfly-ejb-security-plus/src/main/resources/META-INF	line 1	XML Problem
{code}

> Validation errors in WildFly quickstarts
> ----------------------------------------
>
>                 Key: JBIDE-18435
>                 URL: https://issues.jboss.org/browse/JBIDE-18435
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: upstream
>    Affects Versions: 4.2.0.CR1
>            Reporter: Xavier Coulon
>            Assignee: Xavier Coulon
>             Fix For: 4.2.0.CR2
>
>
> when importing Wildfly quickstarts from https://github.com/wildfly/quickstart ({{master}} branch), there are some XML files on which some errors are reported by our tooling:
> - {{ejb-multi-server/app-one/ejb/src/main/resources/META-INF/jboss-ejb3.xml}}
> - {{ejb-multi-server/app-main/web/src/main/webapp/WEB-INF/faces-config.xml}}
> - {{cdi-alternative/src/main/webapp/WEB-INF/beans.xml}}
> - {{wsat-simple/src/main/webapp/WEB-INF/classes/context-handlers.xml}}
> - {{wsat-simple/src/test/resources/context-handlers.xml}}
> - {{wsba-coordinator-completion-simple/src/test/resources/context-handlers.xml}}
> - {{wsba-participant-completion-simple/src/test/resources/context-handlers.xml}}
> Also, a project had a bad packaging type: jts/application-component-2/pom.xml b/jts/application-component-2/pom.xml ({{jar}} instead of {{ejb}})



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jbosstools-issues mailing list