-
15. Re: Import of Twitter Service
marcj Mar 11, 2014 6:15 AM (in response to salaboy21)Hi Mauricio,
thx for your reply. I extended the dependencies section starting at line 50 in the of the pom.xml in the workitems-project as follows:
<dependency>
<groupId>javax.jws</groupId>
<artifactId>jsr181-api</artifactId>
<version>1.0-MR1</version>
</dependency>
<dependency>
<groupId>com.sun.xml.ws</groupId>
<artifactId>jaxws-rt</artifactId>
<version>2.1.3</version>
</dependency>
<dependency>
<groupId>javax.xml</groupId>
<artifactId>webservices-api</artifactId>
<version>1.4</version>
<scope>runtime</scope>
</dependency>
No changes though... Will continue trying but would be really thankful for any hint...
-
16. Re: Import of Twitter Service
salaboy21 Mar 11, 2014 6:22 AM (in response to marcj)That's really annoying..
One more suggestion will be to try in a different machine.. to see if it just an issue with your current machine...
Which Operating System are you using?
-
17. Re: Import of Twitter Service
marcj Mar 11, 2014 7:32 AM (in response to salaboy21)Annoying is the most gentil word to describe that... This is the only machine around with full admin rights etc. Windows 8.1 might be a problem though... I really need to get this working here.
The positioning of the additional dependencies is correct, right?
-
18. Re: Import of Twitter Service
salaboy21 Mar 11, 2014 7:52 AM (in response to marcj)Share the complete pom.xml file.. I will try that here as well.
-
19. Re: Import of Twitter Service
marcj Mar 11, 2014 10:28 AM (in response to salaboy21)Hello Mauricio,
I just went back to the original pom.xml as provided by the github-repository. I tried all suggestions proposed in https://netbeans.org/bugzilla/show_bug.cgi?id=157460 - but nothing works. You do compile the pom-xml in Eclipse, right? Converting the project to a Java/Maven/jBPM project doesn't change anything.
-
20. Re: Import of Twitter Service
marcj Mar 12, 2014 4:05 AM (in response to marcj)Short update from my side:
I changed the following section in the pom.xml (changed the version from 2.3 to 2.2)
....
<plugins>
<plugin>
<groupId>org.jvnet.jax-ws-commons</groupId>
<artifactId>jaxws-maven-plugin</artifactId>
<version>2.2</version>
<executions>
...
The NoClassDef error disappeared, now the build script behaves like this:
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Customer Relationships WorkItems 1.0
[INFO] ------------------------------------------------------------------------
Downloading: http://repo.maven.apache.org/maven2/org/jvnet/jax-ws-commons/jaxws-maven-plugin/2.2/jaxws-maven-plugin-2.2.pom
Downloaded: http://repo.maven.apache.org/maven2/org/jvnet/jax-ws-commons/jaxws-maven-plugin/2.2/jaxws-maven-plugin-2.2.pom (19 KB at 49.5 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/jvnet/jax-ws-commons/jaxws-maven-plugin/2.2/jaxws-maven-plugin-2.2.jar
Downloaded: http://repo.maven.apache.org/maven2/org/jvnet/jax-ws-commons/jaxws-maven-plugin/2.2/jaxws-maven-plugin-2.2.jar (32 KB at 147.8 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/kie/kie-api/6.1.0-SNAPSHOT/maven-metadata.xml
Downloaded: http://repository.jboss.org/nexus/content/groups/public/org/kie/kie-api/6.1.0-SNAPSHOT/maven-metadata.xml (2 KB at 2.0 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/kie/kie-api-parent/6.1.0-SNAPSHOT/maven-metadata.xml
Downloaded: http://repository.jboss.org/nexus/content/groups/public/org/kie/kie-api-parent/6.1.0-SNAPSHOT/maven-metadata.xml (816 B at 0.9 KB/sec)
Downloaded: http://repository.jboss.org/nexus/content/groups/public/org/kie/kie-parent-with-dependencies/6.1.0-SNAPSHOT/maven-metadata.xml (830 B at 1.2 KB/sec)
Downloaded: http://repository.jboss.org/nexus/content/groups/public/org/kie/kie-parent-with-dependencies/6.1.0-SNAPSHOT/maven-metadata.xml (830 B at 1.1 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/kie/kie-parent-metadata/6.1.0-SNAPSHOT/maven-metadata.xml
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/kie/kie-parent-metadata/6.1.0-SNAPSHOT/maven-metadata.xml
Downloaded: http://repository.jboss.org/nexus/content/groups/public/org/kie/kie-parent-metadata/6.1.0-SNAPSHOT/maven-metadata.xml (821 B at 1.1 KB/sec)
Downloaded: http://repository.jboss.org/nexus/content/groups/public/org/kie/kie-parent-metadata/6.1.0-SNAPSHOT/maven-metadata.xml (821 B at 1.0 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/kie/kie-bom/6.1.0-SNAPSHOT/maven-metadata.xml
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/kie/kie-bom/6.1.0-SNAPSHOT/maven-metadata.xml
Downloaded: http://repository.jboss.org/nexus/content/groups/public/org/kie/kie-bom/6.1.0-SNAPSHOT/maven-metadata.xml (809 B at 1.1 KB/sec)
Downloaded: http://repository.jboss.org/nexus/content/groups/public/org/kie/kie-bom/6.1.0-SNAPSHOT/maven-metadata.xml (809 B at 1.0 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/drools/drools-bom/6.1.0-SNAPSHOT/maven-metadata.xml
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/drools/drools-bom/6.1.0-SNAPSHOT/maven-metadata.xml
Downloaded: http://repository.jboss.org/nexus/content/groups/public/org/drools/drools-bom/6.1.0-SNAPSHOT/maven-metadata.xml (815 B at 1.1 KB/sec)
Downloaded: http://repository.jboss.org/nexus/content/groups/public/org/drools/drools-bom/6.1.0-SNAPSHOT/maven-metadata.xml (815 B at 0.9 KB/sec)
Downloaded: http://repository.jboss.org/nexus/content/groups/public/org/optaplanner/optaplanner-bom/6.1.0-SNAPSHOT/maven-metadata.xml (825 B at 1.1 KB/sec)
Downloaded: http://repository.jboss.org/nexus/content/groups/public/org/optaplanner/optaplanner-bom/6.1.0-SNAPSHOT/maven-metadata.xml (825 B at 1.0 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/jbpm/jbpm-bom/6.1.0-SNAPSHOT/maven-metadata.xml
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/jbpm/jbpm-bom/6.1.0-SNAPSHOT/maven-metadata.xml
Downloaded: http://repository.jboss.org/nexus/content/groups/public/org/jbpm/jbpm-bom/6.1.0-SNAPSHOT/maven-metadata.xml (811 B at 1.0 KB/sec)
Downloaded: http://repository.jboss.org/nexus/content/groups/public/org/jbpm/jbpm-bom/6.1.0-SNAPSHOT/maven-metadata.xml (811 B at 1.0 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/guvnor/guvnor-bom/6.1.0-SNAPSHOT/maven-metadata.xml
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/guvnor/guvnor-bom/6.1.0-SNAPSHOT/maven-metadata.xml
Downloaded: http://repository.jboss.org/nexus/content/groups/public/org/guvnor/guvnor-bom/6.1.0-SNAPSHOT/maven-metadata.xml (815 B at 1.1 KB/sec)
Downloaded: http://repository.jboss.org/nexus/content/groups/public/org/guvnor/guvnor-bom/6.1.0-SNAPSHOT/maven-metadata.xml (815 B at 0.9 KB/sec)
Downloaded: http://repository.jboss.org/nexus/content/groups/public/org/jboss/dashboard-builder/dashboard-builder-bom/6.1.0-SNAPSHOT/maven-metadata.xml (843 B at 1.4 KB/sec)
Downloaded: http://repository.jboss.org/nexus/content/groups/public/org/jboss/dashboard-builder/dashboard-builder-bom/6.1.0-SNAPSHOT/maven-metadata.xml (843 B at 1.3 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/uberfire/uberfire-bom/0.4.0-SNAPSHOT/maven-metadata.xml
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/uberfire/uberfire-bom/0.4.0-SNAPSHOT/maven-metadata.xml
Downloaded: http://repository.jboss.org/nexus/content/groups/public/org/uberfire/uberfire-bom/0.4.0-SNAPSHOT/maven-metadata.xml (819 B at 1.0 KB/sec)
Downloaded: http://repository.jboss.org/nexus/content/groups/public/org/uberfire/uberfire-bom/0.4.0-SNAPSHOT/maven-metadata.xml (819 B at 0.9 KB/sec)
Downloaded: http://repository.jboss.org/nexus/content/groups/public/org/uberfire/uberfire-parent-metadata/0.4.0-SNAPSHOT/maven-metadata.xml (831 B at 1.1 KB/sec)
Downloaded: http://repository.jboss.org/nexus/content/groups/public/org/uberfire/uberfire-parent-metadata/0.4.0-SNAPSHOT/maven-metadata.xml (831 B at 0.9 KB/sec)
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ customer-relationships-workitems ---
[INFO] Deleting C:\Users\marcj_000\git\crm2\customer-relationships-workitems\target
[INFO]
[INFO] --- jaxws-maven-plugin:2.2:wsimport (wsimport-generate-CustomerService) @ customer-relationships-workitems ---
Downloading: http://repo.maven.apache.org/maven2/com/sun/xml/ws/jaxws-tools/2.2.6/jaxws-tools-2.2.6.pom
Downloaded: http://repo.maven.apache.org/maven2/com/sun/xml/ws/jaxws-tools/2.2.6/jaxws-tools-2.2.6.pom (6 KB at 86.0 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/com/sun/xml/bind/jaxb-xjc/2.2.5/jaxb-xjc-2.2.5.pom
Downloaded: http://repo.maven.apache.org/maven2/com/sun/xml/bind/jaxb-xjc/2.2.5/jaxb-xjc-2.2.5.pom (5 KB at 78.4 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/com/sun/xml/ws/jaxws-rt/2.2.6/jaxws-rt-2.2.6.pom
Downloaded: http://repo.maven.apache.org/maven2/com/sun/xml/ws/jaxws-rt/2.2.6/jaxws-rt-2.2.6.pom (11 KB at 192.9 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/com/sun/xml/bind/jaxb-impl/2.2.5/jaxb-impl-2.2.5.pom
Downloaded: http://repo.maven.apache.org/maven2/com/sun/xml/bind/jaxb-impl/2.2.5/jaxb-impl-2.2.5.pom (5 KB at 68.0 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/com/sun/xml/messaging/saaj/saaj-impl/1.3.18/saaj-impl-1.3.18.pom
Downloaded: http://repo.maven.apache.org/maven2/com/sun/xml/messaging/saaj/saaj-impl/1.3.18/saaj-impl-1.3.18.pom (6 KB at 99.5 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/javax/xml/ws/jaxws-api/2.2.8/jaxws-api-2.2.8.pom
Downloaded: http://repo.maven.apache.org/maven2/javax/xml/ws/jaxws-api/2.2.8/jaxws-api-2.2.8.pom (8 KB at 89.7 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/javax/xml/bind/jaxb-api/2.2.4/jaxb-api-2.2.4.pom
Downloaded: http://repo.maven.apache.org/maven2/javax/xml/bind/jaxb-api/2.2.4/jaxb-api-2.2.4.pom (9 KB at 121.9 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/javax/xml/soap/saaj-api/1.3.4/saaj-api-1.3.4.pom
Downloaded: http://repo.maven.apache.org/maven2/javax/xml/soap/saaj-api/1.3.4/saaj-api-1.3.4.pom (5 KB at 69.7 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/glassfish/javax.annotation/3.1.1/javax.annotation-3.1.1.pom
Downloaded: http://repo.maven.apache.org/maven2/org/glassfish/javax.annotation/3.1.1/javax.annotation-3.1.1.pom (4 KB at 49.0 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/glassfish/javaee-api/3.1.1/javaee-api-3.1.1.pom
Downloaded: http://repo.maven.apache.org/maven2/org/glassfish/javaee-api/3.1.1/javaee-api-3.1.1.pom (7 KB at 112.1 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/glassfish/glassfish-parent/3.1.1/glassfish-parent-3.1.1.pom
Downloaded: http://repo.maven.apache.org/maven2/org/glassfish/glassfish-parent/3.1.1/glassfish-parent-3.1.1.pom (67 KB at 402.5 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/glassfish/pom/8/pom-8.pom
Downloaded: http://repo.maven.apache.org/maven2/org/glassfish/pom/8/pom-8.pom (11 KB at 98.1 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/jvnet/mimepull/mimepull/1.7/mimepull-1.7.pom
Downloaded: http://repo.maven.apache.org/maven2/org/jvnet/mimepull/mimepull/1.7/mimepull-1.7.pom (5 KB at 54.8 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/com/sun/xml/stream/buffer/streambuffer/1.4/streambuffer-1.4.pom
Downloaded: http://repo.maven.apache.org/maven2/com/sun/xml/stream/buffer/streambuffer/1.4/streambuffer-1.4.pom (7 KB at 35.8 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/jvnet/staxex/stax-ex/1.6/stax-ex-1.6.pom
Downloaded: http://repo.maven.apache.org/maven2/org/jvnet/staxex/stax-ex/1.6/stax-ex-1.6.pom (6 KB at 98.2 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/codehaus/woodstox/woodstox-core-asl/4.1.2/woodstox-core-asl-4.1.2.pom
Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/woodstox/woodstox-core-asl/4.1.2/woodstox-core-asl-4.1.2.pom (2 KB at 28.4 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/codehaus/woodstox/stax2-api/3.1.1/stax2-api-3.1.1.pom
Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/woodstox/stax2-api/3.1.1/stax2-api-3.1.1.pom (2 KB at 27.1 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/jvnet/mimepull/mimepull/1.8/mimepull-1.8.pom
Downloaded: http://repo.maven.apache.org/maven2/org/jvnet/mimepull/mimepull/1.8/mimepull-1.8.pom (5 KB at 36.5 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/com/sun/xml/ws/policy/2.3.1/policy-2.3.1.pom
Downloaded: http://repo.maven.apache.org/maven2/com/sun/xml/ws/policy/2.3.1/policy-2.3.1.pom (12 KB at 83.5 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/com/sun/xml/txw2/txw2/20110809/txw2-20110809.pom
Downloaded: http://repo.maven.apache.org/maven2/com/sun/xml/txw2/txw2/20110809/txw2-20110809.pom (3 KB at 54.3 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/com/sun/xml/txw2/txw2-project/20110809/txw2-project-20110809.pom
Downloaded: http://repo.maven.apache.org/maven2/com/sun/xml/txw2/txw2-project/20110809/txw2-project-20110809.pom (5 KB at 74.6 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/relaxngDatatype/relaxngDatatype/20020414/relaxngDatatype-20020414.pom
Downloaded: http://repo.maven.apache.org/maven2/relaxngDatatype/relaxngDatatype/20020414/relaxngDatatype-20020414.pom (167 B at 2.7 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/com/sun/istack/istack-commons-runtime/2.4/istack-commons-runtime-2.4.pom
Downloaded: http://repo.maven.apache.org/maven2/com/sun/istack/istack-commons-runtime/2.4/istack-commons-runtime-2.4.pom (4 KB at 40.7 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/com/sun/istack/istack-commons/2.4/istack-commons-2.4.pom
Downloaded: http://repo.maven.apache.org/maven2/com/sun/istack/istack-commons/2.4/istack-commons-2.4.pom (4 KB at 61.8 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/codehaus/woodstox/woodstox-core-asl/4.1.1/woodstox-core-asl-4.1.1.pom
Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/woodstox/woodstox-core-asl/4.1.1/woodstox-core-asl-4.1.1.pom (2 KB at 28.4 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/jvnet/staxex/stax-ex/1.7/stax-ex-1.7.pom
Downloaded: http://repo.maven.apache.org/maven2/org/jvnet/staxex/stax-ex/1.7/stax-ex-1.7.pom (5 KB at 92.2 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/glassfish/gmbal/gmbal-api-only/3.1.0-b001/gmbal-api-only-3.1.0-b001.pom
Downloaded: http://repo.maven.apache.org/maven2/org/glassfish/gmbal/gmbal-api-only/3.1.0-b001/gmbal-api-only-3.1.0-b001.pom (9 KB at 136.8 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/glassfish/ha/ha-api/3.1.8/ha-api-3.1.8.pom
Downloaded: http://repo.maven.apache.org/maven2/org/glassfish/ha/ha-api/3.1.8/ha-api-3.1.8.pom (9 KB at 116.5 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/jvnet/jaxb2_commons/jaxb2-basics/0.6.3/jaxb2-basics-0.6.3.pom
Downloaded: http://repo.maven.apache.org/maven2/org/jvnet/jaxb2_commons/jaxb2-basics/0.6.3/jaxb2-basics-0.6.3.pom (2 KB at 14.3 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/jvnet/jaxb2_commons/jaxb2-basics-project/0.6.3/jaxb2-basics-project-0.6.3.pom
Downloaded: http://repo.maven.apache.org/maven2/org/jvnet/jaxb2_commons/jaxb2-basics-project/0.6.3/jaxb2-basics-project-0.6.3.pom (11 KB at 173.3 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/jvnet/jaxb2_commons/jaxb2-basics-runtime/0.6.3/jaxb2-basics-runtime-0.6.3.pom
Downloaded: http://repo.maven.apache.org/maven2/org/jvnet/jaxb2_commons/jaxb2-basics-runtime/0.6.3/jaxb2-basics-runtime-0.6.3.pom (2 KB at 28.0 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/jvnet/jaxb2_commons/jaxb2-basics-tools/0.6.3/jaxb2-basics-tools-0.6.3.pom
Downloaded: http://repo.maven.apache.org/maven2/org/jvnet/jaxb2_commons/jaxb2-basics-tools/0.6.3/jaxb2-basics-tools-0.6.3.pom (2 KB at 18.6 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/2.2.1/maven-plugin-api-2.2.1.pom
Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/2.2.1/maven-plugin-api-2.2.1.pom (2 KB at 25.0 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/com/sun/xml/ws/jaxws-tools/2.2.6/jaxws-tools-2.2.6.jar
Downloading: http://repo.maven.apache.org/maven2/com/sun/xml/ws/jaxws-rt/2.2.6/jaxws-rt-2.2.6.jar
Downloading: http://repo.maven.apache.org/maven2/javax/xml/ws/jaxws-api/2.2.8/jaxws-api-2.2.8.jar
Downloading: http://repo.maven.apache.org/maven2/javax/xml/bind/jaxb-api/2.2.4/jaxb-api-2.2.4.jar
Downloading: http://repo.maven.apache.org/maven2/javax/xml/soap/saaj-api/1.3.4/saaj-api-1.3.4.jar
Downloading: http://repo.maven.apache.org/maven2/org/glassfish/javax.annotation/3.1.1/javax.annotation-3.1.1.jar
Downloading: http://repo.maven.apache.org/maven2/com/sun/xml/bind/jaxb-impl/2.2.5/jaxb-impl-2.2.5.jar
Downloading: http://repo.maven.apache.org/maven2/com/sun/xml/messaging/saaj/saaj-impl/1.3.18/saaj-impl-1.3.18.jar
Downloading: http://repo.maven.apache.org/maven2/com/sun/xml/stream/buffer/streambuffer/1.4/streambuffer-1.4.jar
Downloading: http://repo.maven.apache.org/maven2/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar
Downloading: http://repo.maven.apache.org/maven2/org/codehaus/woodstox/woodstox-core-asl/4.1.2/woodstox-core-asl-4.1.2.jar
Downloading: http://repo.maven.apache.org/maven2/org/codehaus/woodstox/stax2-api/3.1.1/stax2-api-3.1.1.jar
Downloading: http://repo.maven.apache.org/maven2/org/jvnet/mimepull/mimepull/1.8/mimepull-1.8.jar
Downloading: http://repo.maven.apache.org/maven2/com/sun/xml/ws/policy/2.3.1/policy-2.3.1.jar
Downloading: http://repo.maven.apache.org/maven2/com/sun/xml/txw2/txw2/20110809/txw2-20110809.jar
Downloading: http://repo.maven.apache.org/maven2/relaxngDatatype/relaxngDatatype/20020414/relaxngDatatype-20020414.jar
Downloading: http://repo.maven.apache.org/maven2/com/sun/istack/istack-commons-runtime/2.4/istack-commons-runtime-2.4.jar
Downloading: http://repo.maven.apache.org/maven2/org/jvnet/staxex/stax-ex/1.7/stax-ex-1.7.jar
Downloading: http://repo.maven.apache.org/maven2/org/glassfish/gmbal/gmbal-api-only/3.1.0-b001/gmbal-api-only-3.1.0-b001.jar
Downloading: http://repo.maven.apache.org/maven2/org/glassfish/ha/ha-api/3.1.8/ha-api-3.1.8.jar
Downloading: http://repo.maven.apache.org/maven2/com/sun/xml/bind/jaxb-xjc/2.2.5/jaxb-xjc-2.2.5.jar
Downloading: http://repo.maven.apache.org/maven2/org/jvnet/jaxb2_commons/jaxb2-basics/0.6.3/jaxb2-basics-0.6.3.jar
Downloading: http://repo.maven.apache.org/maven2/org/jvnet/jaxb2_commons/jaxb2-basics-runtime/0.6.3/jaxb2-basics-runtime-0.6.3.jar
Downloading: http://repo.maven.apache.org/maven2/org/jvnet/jaxb2_commons/jaxb2-basics-tools/0.6.3/jaxb2-basics-tools-0.6.3.jar
Downloaded: http://repo.maven.apache.org/maven2/org/glassfish/javax.annotation/3.1.1/javax.annotation-3.1.1.jar (22 KB at 34.1 KB/sec)
Downloaded: http://repo.maven.apache.org/maven2/org/jvnet/staxex/stax-ex/1.7/stax-ex-1.7.jar (16 KB at 22.2 KB/sec)
Downloaded: http://repo.maven.apache.org/maven2/relaxngDatatype/relaxngDatatype/20020414/relaxngDatatype-20020414.jar (19 KB at 25.9 KB/sec)
Downloaded: http://repo.maven.apache.org/maven2/com/sun/istack/istack-commons-runtime/2.4/istack-commons-runtime-2.4.jar (21 KB at 21.6 KB/sec)
Downloaded: http://repo.maven.apache.org/maven2/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar (23 KB at 22.1 KB/sec)
Downloaded: http://repo.maven.apache.org/maven2/javax/xml/soap/saaj-api/1.3.4/saaj-api-1.3.4.jar (25 KB at 22.4 KB/sec)
Downloaded: http://repo.maven.apache.org/maven2/org/glassfish/gmbal/gmbal-api-only/3.1.0-b001/gmbal-api-only-3.1.0-b001.jar (22 KB at 17.7 KB/sec)
Downloaded: http://repo.maven.apache.org/maven2/org/jvnet/mimepull/mimepull/1.8/mimepull-1.8.jar (42 KB at 31.2 KB/sec)
Downloaded: http://repo.maven.apache.org/maven2/com/sun/xml/stream/buffer/streambuffer/1.4/streambuffer-1.4.jar (63 KB at 41.5 KB/sec)
Downloaded: http://repo.maven.apache.org/maven2/javax/xml/ws/jaxws-api/2.2.8/jaxws-api-2.2.8.jar (46 KB at 28.6 KB/sec)
Downloaded: http://repo.maven.apache.org/maven2/org/jvnet/jaxb2_commons/jaxb2-basics/0.6.3/jaxb2-basics-0.6.3.jar (69 KB at 40.5 KB/sec)
Downloaded: http://repo.maven.apache.org/maven2/org/glassfish/ha/ha-api/3.1.8/ha-api-3.1.8.jar (36 KB at 20.1 KB/sec)
Downloaded: http://repo.maven.apache.org/maven2/javax/xml/bind/jaxb-api/2.2.4/jaxb-api-2.2.4.jar (104 KB at 40.8 KB/sec)
Downloaded: http://repo.maven.apache.org/maven2/com/sun/xml/txw2/txw2/20110809/txw2-20110809.jar (66 KB at 25.4 KB/sec)
Downloaded: http://repo.maven.apache.org/maven2/org/jvnet/jaxb2_commons/jaxb2-basics-runtime/0.6.3/jaxb2-basics-runtime-0.6.3.jar (115 KB at 40.3 KB/sec)
Downloaded: http://repo.maven.apache.org/maven2/org/jvnet/jaxb2_commons/jaxb2-basics-tools/0.6.3/jaxb2-basics-tools-0.6.3.jar (97 KB at 34.1 KB/sec)
Downloaded: http://repo.maven.apache.org/maven2/com/sun/xml/ws/policy/2.3.1/policy-2.3.1.jar (155 KB at 50.1 KB/sec)
Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/woodstox/stax2-api/3.1.1/stax2-api-3.1.1.jar (178 KB at 52.9 KB/sec)
Downloaded: http://repo.maven.apache.org/maven2/com/sun/xml/messaging/saaj/saaj-impl/1.3.18/saaj-impl-1.3.18.jar (284 KB at 68.4 KB/sec)
Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/woodstox/woodstox-core-asl/4.1.2/woodstox-core-asl-4.1.2.jar (468 KB at 109.8 KB/sec)
Downloaded: http://repo.maven.apache.org/maven2/com/sun/xml/ws/jaxws-tools/2.2.6/jaxws-tools-2.2.6.jar (819 KB at 141.8 KB/sec)
Downloaded: http://repo.maven.apache.org/maven2/com/sun/xml/bind/jaxb-impl/2.2.5/jaxb-impl-2.2.5.jar (1080 KB at 119.2 KB/sec)
Downloaded: http://repo.maven.apache.org/maven2/com/sun/xml/ws/jaxws-rt/2.2.6/jaxws-rt-2.2.6.jar (2118 KB at 165.6 KB/sec)
Downloaded: http://repo.maven.apache.org/maven2/com/sun/xml/bind/jaxb-xjc/2.2.5/jaxb-xjc-2.2.5.jar (3392 KB at 168.9 KB/sec)
[INFO] Processing: file:/C:/Users/marcj_000/git/crm2/customer-relationships-workitems/src/wsdl/www.predic8.com_8080/crm/CustomerService.wsdl
[INFO] jaxws:wsimport args: [-keep, -s, C:\Users\marcj_000\git\crm2\customer-relationships-workitems\target\generated-sources\jaxws-wsimport, -verbose, -encoding, UTF-8, -extension, -Xnocompile, -catalog, C:\Users\marcj_000\git\crm2\customer-relationships-workitems\src\jax-ws-catalog.xml, -wsdllocation, http://www.predic8.com:8080/crm/CustomerService?wsdl, -target, 2.0, file:/C:/Users/marcj_000/git/crm2/customer-relationships-workitems/src/wsdl/www.predic8.com_8080/crm/CustomerService.wsdl]
parsing WSDL...
[ERROR] IOException thrown when processing "http://www.predic8.com:8080/crm/CustomerService?xsd=2". Exception: java.net.ConnectException: Connection refused: connect.
[ERROR] IOException thrown when processing "http://www.predic8.com:8080/crm/CustomerService?xsd=1". Exception: java.net.ConnectException: Connection refused: connect.
[WARNING] schema_reference.4: Failed to read schema document 'http://www.predic8.com:8080/crm/CustomerService?xsd=2', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
line 4 of file:/C:/Users/marcj_000/git/crm2/customer-relationships-workitems/src/wsdl/www.predic8.com_8080/crm/CustomerService.wsdl#types?schema1
[WARNING] schema_reference.4: Failed to read schema document 'http://www.predic8.com:8080/crm/CustomerService?xsd=1', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
line 5 of file:/C:/Users/marcj_000/git/crm2/customer-relationships-workitems/src/wsdl/www.predic8.com_8080/crm/CustomerService.wsdl#types?schema1
[WARNING] src-resolve: Cannot resolve the name 'crm:CustomerType' to a(n) 'type definition' component.
line 14 of file:/C:/Users/marcj_000/git/crm2/customer-relationships-workitems/src/wsdl/www.predic8.com_8080/crm/CustomerService.wsdl#types?schema1
[WARNING] src-resolve: Cannot resolve the name 'ns2:IdentifierType' to a(n) 'type definition' component.
line 21 of file:/C:/Users/marcj_000/git/crm2/customer-relationships-workitems/src/wsdl/www.predic8.com_8080/crm/CustomerService.wsdl#types?schema1
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 46.913s
[INFO] Finished at: Wed Mar 12 09:01:26 CET 2014
[INFO] Final Memory: 10M/151M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.jvnet.jax-ws-commons:jaxws-maven-plugin:2.2:wsimport (wsimport-generate-CustomerService) on project customer-relationships-workitems: Error executing: wsimport [-keep, -s, C:\Users\marcj_000\git\crm2\customer-relationships-workitems\target\generated-sources\jaxws-wsimport, -verbose, -encoding, UTF-8, -extension, -Xnocompile, -catalog, C:\Users\marcj_000\git\crm2\customer-relationships-workitems\src\jax-ws-catalog.xml, -wsdllocation, http://www.predic8.com:8080/crm/CustomerService?wsdl, -target, 2.0, file:/C:/Users/marcj_000/git/crm2/customer-relationships-workitems/src/wsdl/www.predic8.com_8080/crm/CustomerService.wsdl]: AbortException -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
-
21. Re: Import of Twitter Service
salaboy21 Mar 12, 2014 5:00 AM (in response to marcj)Hi Marc,
Are you behind a proxy or something like that?
Can you access using your browser to: http://www.predic8.com:8080/crm/CustomerService ??
Maybe a windows firewall that is bothering you and it could be related to the 8080 port?
The connection refused error is the problem I believe.. it's nothing to do with jbpm it self.
-
22. Re: Import of Twitter Service
marcj Mar 12, 2014 5:49 AM (in response to salaboy21)1 of 1 people found this helpfulI can't believe it - BUILD SUCCESSFUL. Finally, several issue have been solved. A change of the aforementioned reference from version 2.3 to 2.2 led to less cryptic error messages.
- JAVA_HOME environment variable updated containing ...PROGRA~1...
- JRE reference in Eclipse updated from standalone folder to jdk\jre
- Used a direct connection instead of a proxy-based connection
- Finally, changed jaxws-maven-plugin version back to 2.3
=> Build successful
Mauricio, thank you very much for your support. I really appreciate it and hope to participate in the jBPM community =)
But first I will continue with the customer relationship example.
-
23. Re: Import of Twitter Service
salaboy21 Mar 12, 2014 5:56 AM (in response to marcj)I'm sorry that it took so long to discover with the problem is..
Please let me know if you have any other issue with the customer relationship example. I would love to have feedback to write a more comprehensive blog post explaining those examples.
-
24. Re: Import of Twitter Service
marcj Mar 12, 2014 10:08 AM (in response to salaboy21)The process works now. I still have to verify that the communication with the external service works.
Yet I noticed something. In your description, you mentioned the following:
"In order to do that you just copy the customer-services-workitems-1.0-SNAPSHOT.jar into the WEB-INF/lib directory of the kie-wb.war app."
When I look at the deployments of the JBoss server, there are only two war-archives, which are dashboard-builder.war and jbpm-console.war. I added the workitems jar-file and the amendments to CustomWorkItemHandlers.conf in the jbpm-console.war and it seems to work. Maybe the naming changed?
Have to look at the unit tests now. Is it just executing the pom.xml?
-
25. Re: Import of Twitter Service
marcj Mar 13, 2014 3:34 AM (in response to marcj)Hey guys, more issues did arise =)
When executing the pom.xml of the customer-relationships-test project,I first had to insert the current version of the artifact jbpm-shared-services.
<dependency>
<groupId>org.jbpm</groupId>
<artifactId>jbpm-shared-services</artifactId>
<version>6.0.0-SNAPSHOT</version>
<classifier>btm</classifier>
<scope>test</scope>
When executing the pom afterwards, die following error arises:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile (default-testCompile) on project customer-relationships-tests: Compilation failure
[ERROR] \Users\marcj_000\git\crm2\customer-relationships-tests\src\test\java\org\jbpm\customer\relationships\tests\EnvironmentProducer.java:[58,76] error: reference to getFactory is ambiguous, both method getFactory(BeanManager,AbstractAuditLogger) in InjectableRegisterableItemsFactory and method getFactory(BeanManager,AuditEventBuilder) in InjectableRegisterableItemsFactory match
Any clues?
-
26. Re: Import of Twitter Service
salaboy21 Mar 13, 2014 4:23 AM (in response to marcj)Hi Marc,
the version seems wrong.. that can be causing a lot of issues with duplicated jars with different version which can end up in the error that you pasted here.
Try with 6.1.0-SNAPSHOT, but shouldn't need that at all. was maven complaining about the lack of that dependency?
Regards
-
27. Re: Import of Twitter Service
marcj Mar 13, 2014 10:20 AM (in response to salaboy21)Hello Mauricio,
yes - Maven complained that the <version> tag is missing:
[ERROR] The project org.jbpm:customer-relationships-tests:1.0 (C:\Users\marcj_000\git\crm2\customer-relationships-tests\pom.xml) has 1 error
[ERROR] 'dependencies.dependency.version' for org.jbpm:jbpm-shared-services:jar:btm is missing. @ line 134, column 21
With version 6.1.0-SNAPSHOT Maven still is complaining though:
[ERROR] Failed to execute goal on project customer-relationships-tests: Could not resolve dependencies for project org.jbpm:customer-relationships-tests:jar:1.0: Could not find artifact org.jbpm:jbpm-shared-services:jar:btm:6.1.0-SNAPSHOT in jboss-public-repository-group (http://repository.jboss.org/nexus/content/groups/public/) -> [Help 1]
I checked the repository - the requested files seem to be there. To exclude any other issues, I checked out the repository again, deployed the custom work item handlers, regeistered them in the conf file and so on. All worked without errors.
Does anyone have an idea why Maven doesn't recognize the artifact jbpm-shared-services?
-
28. Re: Import of Twitter Service
marcj Mar 17, 2014 4:51 AM (in response to marcj)Just noticed that Maven doesn't complain about the missing version tag any more. Still shows the dependency error though:
[ERROR] Failed to execute goal on project customer-relationships-tests: Could not resolve dependencies for project org.jbpm:customer-relationships-tests:jar:1.0: Could not find artifact org.jbpm:jbpm-shared-services:jar:btm:6.1.0-SNAPSHOT in jboss-public-repository-group (http://repository.jboss.org/nexus/content/groups/public/) -> [Help 1]
But well, as the initial question of this thread didn't concern that issue, I'll move it to a new one.