[jbosstools-issues] [JBoss JIRA] (JBDS-2847) Java EE 7 Tech Preview

Jiri Peterka (JIRA) issues at jboss.org
Tue Aug 26 10:27:00 EDT 2014


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

Jiri Peterka edited comment on JBDS-2847 at 8/26/14 10:26 AM:
--------------------------------------------------------------

[~maxandersen] there are some Java Problems, Maven Problems and XML Problems after import, most projects are without errors
Java Problems 
{code}
Description	Resource	Path	Location	Type
EBook cannot be resolved to a type	EBookStoreClientSampleTest.java	/jaxws-client/src/test/java/org/javaee7/jaxws/client	line 71	Java Problem
EBook cannot be resolved to a type	EBookStoreClientSampleTest.java	/jaxws-client/src/test/java/org/javaee7/jaxws/client	line 71	Java Problem
EBook cannot be resolved to a type	EBookStoreClientSampleTest.java	/jaxws-client/src/test/java/org/javaee7/jaxws/client	line 76	Java Problem
EBook cannot be resolved to a type	EBookStoreClientSampleTest.java	/jaxws-client/src/test/java/org/javaee7/jaxws/client	line 85	Java Problem
EBookStore cannot be resolved to a type	EBookStoreClientSampleTest.java	/jaxws-client/src/test/java/org/javaee7/jaxws/client	line 63	Java Problem
EBookStore cannot be resolved to a type	EBookStoreClientSampleTest.java	/jaxws-client/src/test/java/org/javaee7/jaxws/client	line 69	Java Problem
EBookStore cannot be resolved to a type	EBookStoreClientSampleTest.java	/jaxws-client/src/test/java/org/javaee7/jaxws/client	line 69	Java Problem
EBookStoreImplService cannot be resolved to a type	EBookStoreClientSampleTest.java	/jaxws-client/src/test/java/org/javaee7/jaxws/client	line 35	Java Problem
EBookStoreImplService cannot be resolved to a type	EBookStoreClientSampleTest.java	/jaxws-client/src/test/java/org/javaee7/jaxws/client	line 56	Java Problem
EBookStoreImplService cannot be resolved to a type	EBookStoreClientSampleTest.java	/jaxws-client/src/test/java/org/javaee7/jaxws/client	line 56	Java Problem
EBookStoreImplService cannot be resolved to a type	EBookStoreClientSampleTest.java	/jaxws-client/src/test/java/org/javaee7/jaxws/client	line 63	Java Problem
EBookStoreImplService cannot be resolved to a type	EBookStoreClientSampleTest.java	/jaxws-client/src/test/java/org/javaee7/jaxws/client	line 69	Java Problem
Greeting cannot be resolved to a type	GreetingTest.java	/bean-discovery-all/src/test/java/org/javaee7/cdi/nobeans/xml	line 28	Java Problem
Greeting cannot be resolved to a type	GreetingTest.java	/bean-discovery-all/src/test/java/org/javaee7/cdi/nobeans/xml	line 32	Java Problem
Greeting cannot be resolved to a type	GreetingTest.java	/bean-discovery-all/src/test/java/org/javaee7/cdi/nobeans/xml	line 36	Java Problem
Greeting cannot be resolved to a type	GreetingTest.java	/bean-discovery-all/src/test/java/org/javaee7/cdi/nobeans/xml	line 37	Java Problem
SimpleGreeting cannot be resolved to a type	GreetingTest.java	/bean-discovery-all/src/test/java/org/javaee7/cdi/nobeans/xml	line 28	Java Problem
SimpleGreeting cannot be resolved to a type	GreetingTest.java	/bean-discovery-all/src/test/java/org/javaee7/cdi/nobeans/xml	line 37	Java Problem
The declared package "org.javaee7.cdi.bean.discovery" does not match the expected package "main.java.org.javaee7.cdi.bean.discovery"	Greeting.java	/bean-discovery-all/src/main/java/org/javaee7/cdi/bean/discovery	line 1	Java Problem
The declared package "org.javaee7.cdi.bean.discovery" does not match the expected package "main.java.org.javaee7.cdi.bean.discovery"	SimpleGreeting.java	/bean-discovery-all/src/main/java/org/javaee7/cdi/bean/discovery	line 1	Java Problem
The declared package "org.javaee7.cdi.nobeans.xml" does not match the expected package "test.java.org.javaee7.cdi.nobeans.xml"	GreetingTest.java	/bean-discovery-all/src/test/java/org/javaee7/cdi/nobeans/xml	line 1	Java Problem
The import org.javaee7 cannot be resolved	GreetingTest.java	/bean-discovery-all/src/test/java/org/javaee7/cdi/nobeans/xml	line 3	Java Problem
The import org.javaee7 cannot be resolved	GreetingTest.java	/bean-discovery-all/src/test/java/org/javaee7/cdi/nobeans/xml	line 4	Java Problem
The import org.javaee7.jaxws.client.gen cannot be resolved	EBookStoreClientSampleTest.java	/jaxws-client/src/test/java/org/javaee7/jaxws/client	line 12	Java Problem
The import org.javaee7.jaxws.client.gen cannot be resolved	EBookStoreClientSampleTest.java	/jaxws-client/src/test/java/org/javaee7/jaxws/client	line 13	Java Problem
The import org.javaee7.jaxws.client.gen cannot be resolved	EBookStoreClientSampleTest.java	/jaxws-client/src/test/java/org/javaee7/jaxws/client	line 14	Java Problem
{code}

Maven Problems:
{code}
Description	Resource	Path	Location	Type
Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:jaxws-maven-plugin:1.11:wsgen (execution: default, phase: process-classes)	pom.xml	/jaxws-endpoint	line 21	Maven Project Build Lifecycle Mapping Problem
Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:jaxws-maven-plugin:1.11:wsimport (execution: default, phase: generate-sources)	pom.xml	/jaxws-client	line 21	Maven Project Build Lifecycle Mapping Problem
{code}

and xml problems 
{code}
Description	Resource	Path	Location	Type
cvc-complex-type.2.1: Element 'jboss' must have no character or element information item [children], because the type's content type is empty.	enforce-beans.xml	/jax-rs-angularjs/src/test/resources	line 4	XML Problem
cvc-complex-type.2.2: Element 'value' must have no element [children], and the value must be valid.	flow1-flow.xml	/flows-declarative/src/main/webapp/flow1	line 31	XML Problem
cvc-complex-type.2.2: Element 'value' must have no element [children], and the value must be valid.	flow1-flow.xml	/flows-declarative/src/main/webapp/flow1	line 35	XML Problem
cvc-complex-type.2.2: Element 'value' must have no element [children], and the value must be valid.	flow2-flow.xml	/flows-declarative/src/main/webapp/flow2	line 31	XML Problem
cvc-complex-type.2.2: Element 'value' must have no element [children], and the value must be valid.	flow2-flow.xml	/flows-declarative/src/main/webapp/flow2	line 35	XML Problem
cvc-complex-type.2.2: Element 'value' must have no element [children], and the value must be valid.	flow2-flow.xml	/flows-mixed/src/main/webapp/flow2	line 34	XML Problem
cvc-complex-type.2.2: Element 'value' must have no element [children], and the value must be valid.	flow2-flow.xml	/flows-mixed/src/main/webapp/flow2	line 38	XML Problem
cvc-complex-type.2.4.a: Invalid content was found starting with element 'flow-call'. One of '{"http://xmlns.jcp.org/xml/ns/javaee":inbound-parameter}' is expected.	flow1-flow.xml	/flows-declarative/src/main/webapp/flow1	line 25	XML Problem
cvc-complex-type.2.4.a: Invalid content was found starting with element 'flow-call'. One of '{"http://xmlns.jcp.org/xml/ns/javaee":inbound-parameter}' is expected.	flow2-flow.xml	/flows-declarative/src/main/webapp/flow2	line 25	XML Problem
cvc-complex-type.2.4.a: Invalid content was found starting with element 'flow-call'. One of '{"http://xmlns.jcp.org/xml/ns/javaee":inbound-parameter}' is expected.	flow2-flow.xml	/flows-mixed/src/main/webapp/flow2	line 28	XML Problem
cvc-elt.1: Cannot find the declaration of element 'arquillian'.	arquillian.xml	/jaxrs-endpoint/src/test/resources	line 3	XML Problem
cvc-elt.1: Cannot find the declaration of element 'arquillian'.	arquillian.xml	/jpa-converter/src/test/resources-glassfish-embedded	line 5	XML Problem
cvc-elt.1: Cannot find the declaration of element 'arquillian'.	arquillian.xml	/jpa-converter/src/test/resources-glassfish-remote	line 5	XML Problem
cvc-elt.1: Cannot find the declaration of element 'arquillian'.	arquillian.xml	/jpa-converter/src/test/resources-jbosseap-remote	line 5	XML Problem
cvc-elt.1: Cannot find the declaration of element 'arquillian'.	arquillian.xml	/send-receive/src/test/resources	line 3	XML Problem
cvc-elt.1: Cannot find the declaration of element 'arquillian'.	arquillian.xml	/standalone/src/test/resources	line 3	XML Problem
cvc-elt.1: Cannot find the declaration of element 'arquillian'.	arquillian.xml	/transactional/src/test/resources	line 3	XML Problem
cvc-elt.1: Cannot find the declaration of element 'arquillian'.	arquillian.xml	/user-transaction/src/test/resources	line 3	XML Problem
cvc-pattern-valid: Value 'param1 flow1 value' is not facet-valid with respect to pattern '#\{.*\}' for type 'faces-config-el-expressionType'.	flow1-flow.xml	/flows-declarative/src/main/webapp/flow1	line 31	XML Problem
cvc-pattern-valid: Value 'param1 flow2 value' is not facet-valid with respect to pattern '#\{.*\}' for type 'faces-config-el-expressionType'.	flow2-flow.xml	/flows-declarative/src/main/webapp/flow2	line 31	XML Problem
cvc-pattern-valid: Value 'param1 flow2 value' is not facet-valid with respect to pattern '#\{.*\}' for type 'faces-config-el-expressionType'.	flow2-flow.xml	/flows-mixed/src/main/webapp/flow2	line 34	XML Problem
cvc-pattern-valid: Value 'param2 flow1 value' is not facet-valid with respect to pattern '#\{.*\}' for type 'faces-config-el-expressionType'.	flow1-flow.xml	/flows-declarative/src/main/webapp/flow1	line 35	XML Problem
cvc-pattern-valid: Value 'param2 flow2 value' is not facet-valid with respect to pattern '#\{.*\}' for type 'faces-config-el-expressionType'.	flow2-flow.xml	/flows-declarative/src/main/webapp/flow2	line 35	XML Problem
cvc-pattern-valid: Value 'param2 flow2 value' is not facet-valid with respect to pattern '#\{.*\}' for type 'faces-config-el-expressionType'.	flow2-flow.xml	/flows-mixed/src/main/webapp/flow2	line 38	XML Problem
{code}


was (Author: jpeterka):
[~maxandersen] there are some Java Problems, Maven Problems and XML Problems after import, most projects are without errors
Java Problems 
{code}
Description	Resource	Path	Location	Type
EBook cannot be resolved to a type	EBookStoreClientSampleTest.java	/jaxws-client/src/test/java/org/javaee7/jaxws/client	line 71	Java Problem
EBook cannot be resolved to a type	EBookStoreClientSampleTest.java	/jaxws-client/src/test/java/org/javaee7/jaxws/client	line 71	Java Problem
EBook cannot be resolved to a type	EBookStoreClientSampleTest.java	/jaxws-client/src/test/java/org/javaee7/jaxws/client	line 76	Java Problem
EBook cannot be resolved to a type	EBookStoreClientSampleTest.java	/jaxws-client/src/test/java/org/javaee7/jaxws/client	line 85	Java Problem
EBookStore cannot be resolved to a type	EBookStoreClientSampleTest.java	/jaxws-client/src/test/java/org/javaee7/jaxws/client	line 63	Java Problem
EBookStore cannot be resolved to a type	EBookStoreClientSampleTest.java	/jaxws-client/src/test/java/org/javaee7/jaxws/client	line 69	Java Problem
EBookStore cannot be resolved to a type	EBookStoreClientSampleTest.java	/jaxws-client/src/test/java/org/javaee7/jaxws/client	line 69	Java Problem
EBookStoreImplService cannot be resolved to a type	EBookStoreClientSampleTest.java	/jaxws-client/src/test/java/org/javaee7/jaxws/client	line 35	Java Problem
EBookStoreImplService cannot be resolved to a type	EBookStoreClientSampleTest.java	/jaxws-client/src/test/java/org/javaee7/jaxws/client	line 56	Java Problem
EBookStoreImplService cannot be resolved to a type	EBookStoreClientSampleTest.java	/jaxws-client/src/test/java/org/javaee7/jaxws/client	line 56	Java Problem
EBookStoreImplService cannot be resolved to a type	EBookStoreClientSampleTest.java	/jaxws-client/src/test/java/org/javaee7/jaxws/client	line 63	Java Problem
EBookStoreImplService cannot be resolved to a type	EBookStoreClientSampleTest.java	/jaxws-client/src/test/java/org/javaee7/jaxws/client	line 69	Java Problem
Greeting cannot be resolved to a type	GreetingTest.java	/bean-discovery-all/src/test/java/org/javaee7/cdi/nobeans/xml	line 28	Java Problem
Greeting cannot be resolved to a type	GreetingTest.java	/bean-discovery-all/src/test/java/org/javaee7/cdi/nobeans/xml	line 32	Java Problem
Greeting cannot be resolved to a type	GreetingTest.java	/bean-discovery-all/src/test/java/org/javaee7/cdi/nobeans/xml	line 36	Java Problem
Greeting cannot be resolved to a type	GreetingTest.java	/bean-discovery-all/src/test/java/org/javaee7/cdi/nobeans/xml	line 37	Java Problem
SimpleGreeting cannot be resolved to a type	GreetingTest.java	/bean-discovery-all/src/test/java/org/javaee7/cdi/nobeans/xml	line 28	Java Problem
SimpleGreeting cannot be resolved to a type	GreetingTest.java	/bean-discovery-all/src/test/java/org/javaee7/cdi/nobeans/xml	line 37	Java Problem
The declared package "org.javaee7.cdi.bean.discovery" does not match the expected package "main.java.org.javaee7.cdi.bean.discovery"	Greeting.java	/bean-discovery-all/src/main/java/org/javaee7/cdi/bean/discovery	line 1	Java Problem
The declared package "org.javaee7.cdi.bean.discovery" does not match the expected package "main.java.org.javaee7.cdi.bean.discovery"	SimpleGreeting.java	/bean-discovery-all/src/main/java/org/javaee7/cdi/bean/discovery	line 1	Java Problem
The declared package "org.javaee7.cdi.nobeans.xml" does not match the expected package "test.java.org.javaee7.cdi.nobeans.xml"	GreetingTest.java	/bean-discovery-all/src/test/java/org/javaee7/cdi/nobeans/xml	line 1	Java Problem
The import org.javaee7 cannot be resolved	GreetingTest.java	/bean-discovery-all/src/test/java/org/javaee7/cdi/nobeans/xml	line 3	Java Problem
The import org.javaee7 cannot be resolved	GreetingTest.java	/bean-discovery-all/src/test/java/org/javaee7/cdi/nobeans/xml	line 4	Java Problem
The import org.javaee7.jaxws.client.gen cannot be resolved	EBookStoreClientSampleTest.java	/jaxws-client/src/test/java/org/javaee7/jaxws/client	line 12	Java Problem
The import org.javaee7.jaxws.client.gen cannot be resolved	EBookStoreClientSampleTest.java	/jaxws-client/src/test/java/org/javaee7/jaxws/client	line 13	Java Problem
The import org.javaee7.jaxws.client.gen cannot be resolved	EBookStoreClientSampleTest.java	/jaxws-client/src/test/java/org/javaee7/jaxws/client	line 14	Java Problem
{/code}

Maven Problems:
{code}
Description	Resource	Path	Location	Type
Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:jaxws-maven-plugin:1.11:wsgen (execution: default, phase: process-classes)	pom.xml	/jaxws-endpoint	line 21	Maven Project Build Lifecycle Mapping Problem
Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:jaxws-maven-plugin:1.11:wsimport (execution: default, phase: generate-sources)	pom.xml	/jaxws-client	line 21	Maven Project Build Lifecycle Mapping Problem
{/code}

and xml problems 
{code}
Description	Resource	Path	Location	Type
cvc-complex-type.2.1: Element 'jboss' must have no character or element information item [children], because the type's content type is empty.	enforce-beans.xml	/jax-rs-angularjs/src/test/resources	line 4	XML Problem
cvc-complex-type.2.2: Element 'value' must have no element [children], and the value must be valid.	flow1-flow.xml	/flows-declarative/src/main/webapp/flow1	line 31	XML Problem
cvc-complex-type.2.2: Element 'value' must have no element [children], and the value must be valid.	flow1-flow.xml	/flows-declarative/src/main/webapp/flow1	line 35	XML Problem
cvc-complex-type.2.2: Element 'value' must have no element [children], and the value must be valid.	flow2-flow.xml	/flows-declarative/src/main/webapp/flow2	line 31	XML Problem
cvc-complex-type.2.2: Element 'value' must have no element [children], and the value must be valid.	flow2-flow.xml	/flows-declarative/src/main/webapp/flow2	line 35	XML Problem
cvc-complex-type.2.2: Element 'value' must have no element [children], and the value must be valid.	flow2-flow.xml	/flows-mixed/src/main/webapp/flow2	line 34	XML Problem
cvc-complex-type.2.2: Element 'value' must have no element [children], and the value must be valid.	flow2-flow.xml	/flows-mixed/src/main/webapp/flow2	line 38	XML Problem
cvc-complex-type.2.4.a: Invalid content was found starting with element 'flow-call'. One of '{"http://xmlns.jcp.org/xml/ns/javaee":inbound-parameter}' is expected.	flow1-flow.xml	/flows-declarative/src/main/webapp/flow1	line 25	XML Problem
cvc-complex-type.2.4.a: Invalid content was found starting with element 'flow-call'. One of '{"http://xmlns.jcp.org/xml/ns/javaee":inbound-parameter}' is expected.	flow2-flow.xml	/flows-declarative/src/main/webapp/flow2	line 25	XML Problem
cvc-complex-type.2.4.a: Invalid content was found starting with element 'flow-call'. One of '{"http://xmlns.jcp.org/xml/ns/javaee":inbound-parameter}' is expected.	flow2-flow.xml	/flows-mixed/src/main/webapp/flow2	line 28	XML Problem
cvc-elt.1: Cannot find the declaration of element 'arquillian'.	arquillian.xml	/jaxrs-endpoint/src/test/resources	line 3	XML Problem
cvc-elt.1: Cannot find the declaration of element 'arquillian'.	arquillian.xml	/jpa-converter/src/test/resources-glassfish-embedded	line 5	XML Problem
cvc-elt.1: Cannot find the declaration of element 'arquillian'.	arquillian.xml	/jpa-converter/src/test/resources-glassfish-remote	line 5	XML Problem
cvc-elt.1: Cannot find the declaration of element 'arquillian'.	arquillian.xml	/jpa-converter/src/test/resources-jbosseap-remote	line 5	XML Problem
cvc-elt.1: Cannot find the declaration of element 'arquillian'.	arquillian.xml	/send-receive/src/test/resources	line 3	XML Problem
cvc-elt.1: Cannot find the declaration of element 'arquillian'.	arquillian.xml	/standalone/src/test/resources	line 3	XML Problem
cvc-elt.1: Cannot find the declaration of element 'arquillian'.	arquillian.xml	/transactional/src/test/resources	line 3	XML Problem
cvc-elt.1: Cannot find the declaration of element 'arquillian'.	arquillian.xml	/user-transaction/src/test/resources	line 3	XML Problem
cvc-pattern-valid: Value 'param1 flow1 value' is not facet-valid with respect to pattern '#\{.*\}' for type 'faces-config-el-expressionType'.	flow1-flow.xml	/flows-declarative/src/main/webapp/flow1	line 31	XML Problem
cvc-pattern-valid: Value 'param1 flow2 value' is not facet-valid with respect to pattern '#\{.*\}' for type 'faces-config-el-expressionType'.	flow2-flow.xml	/flows-declarative/src/main/webapp/flow2	line 31	XML Problem
cvc-pattern-valid: Value 'param1 flow2 value' is not facet-valid with respect to pattern '#\{.*\}' for type 'faces-config-el-expressionType'.	flow2-flow.xml	/flows-mixed/src/main/webapp/flow2	line 34	XML Problem
cvc-pattern-valid: Value 'param2 flow1 value' is not facet-valid with respect to pattern '#\{.*\}' for type 'faces-config-el-expressionType'.	flow1-flow.xml	/flows-declarative/src/main/webapp/flow1	line 35	XML Problem
cvc-pattern-valid: Value 'param2 flow2 value' is not facet-valid with respect to pattern '#\{.*\}' for type 'faces-config-el-expressionType'.	flow2-flow.xml	/flows-declarative/src/main/webapp/flow2	line 35	XML Problem
cvc-pattern-valid: Value 'param2 flow2 value' is not facet-valid with respect to pattern '#\{.*\}' for type 'faces-config-el-expressionType'.	flow2-flow.xml	/flows-mixed/src/main/webapp/flow2	line 38	XML Problem
{/code}

> Java EE 7 Tech Preview
> ----------------------
>
>                 Key: JBDS-2847
>                 URL: https://issues.jboss.org/browse/JBDS-2847
>             Project: Developer Studio (JBoss Developer Studio)
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: requirements
>            Reporter: Burr Sutter
>            Assignee: Xavier Coulon
>              Labels: JBDS80_Approved_Scope
>             Fix For: 8.0.0.CR1
>
>
> Successfully/cleanly import the Java EE 7 Samples that have been migrated/ported to Wildfly
> https://github.com/javaee-samples/javaee7-samples
> They should import nicely (without errors) into JBT/JBDS and deploy to a JBT/JBDS managed Wildfly.



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


More information about the jbosstools-issues mailing list