]
Zbyněk Červinka updated JBIDE-18578:
------------------------------------
Attachment: (was: The Problems view.png)
Additional javaee7-samples import issues
----------------------------------------
Key: JBIDE-18578
URL:
https://issues.jboss.org/browse/JBIDE-18578
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: maven, upstream
Affects Versions: 4.2.0.CR2
Environment: JBDS 8.0.0.CR2
Reporter: Jiri Peterka
Assignee: Fred Bricon
Priority: Major
Fix For: 4.12.x
Additional javaee7-samples import issues
Clone and import
https://github.com/javaee-samples/javaee7-samples as maven projects
They should import nicely (without errors) into JBT/JBDS and deploy to a JBT/JBDS managed
Wildfly.
There are still some Java Problems, Maven Problems and XML Problems after import, most
projects are without errors. Project should be imported 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}
Additional issues:
https://issues.jboss.org/browse/JBIDE-18352