[jboss-user] [JBoss jBPM] - Error when building ws client for bpel hello world example

kraimand do-not-reply at jboss.com
Mon Nov 17 16:04:06 EST 2008


I am using the following versions:

JWSDP (wscompile) 2.0
JBPM-BPEL 1.1.1
Java 1.5_016
Ant 1.7.1
JBOSS AS 4.2.3

When I try to build the hello world web client from chapter 5 of the BPEL user manual using the "ant test" command I get the following build error:


Buildfile: build.xml

detect.wsdl:

get.published.wsdl:

check.mapping:

generate.mapping:

detect.mapping.tool:

wstools:

detect.mapping.tool:

wscompile:
[wscompile] command line: wscompile "C:\Program Files\Java\jdk1.5.0_16\jre\bin\j
ava.exe" -Duser.dir=C:\Documents and Settings\dkraiman\My Documents\ABMA\JBOSS\j
bpm-bpel-1.1.1\examples\hello -classpath "c:\sun\jwsdp-2.0\jaxrpc\lib\jaxrpc-api
.jar;c:\sun\jwsdp-2.0\jaxrpc\lib\jaxrpc-impl.jar;c:\sun\jwsdp-2.0\jaxrpc\lib\jax
rpc-spi.jar;c:\sun\jwsdp-2.0\saaj\lib\saaj-api.jar;C:\Program Files\Java\jdk1.5.
0_16\lib\tools.jar" com.sun.xml.rpc.tools.wscompile.Main -d "C:\Documents and Se
ttings\dkraiman\My Documents\ABMA\JBOSS\jbpm-bpel-1.1.1\examples\hello\target\cl
asses" -features:norpcstructures,wsi -import -keep -mapping "C:\Documents and Se
ttings\dkraiman\My Documents\ABMA\JBOSS\jbpm-bpel-1.1.1\examples\hello\target\re
sources\web\hello-mapping.xml" -s "C:\Documents and Settings\dkraiman\My Documen
ts\ABMA\JBOSS\jbpm-bpel-1.1.1\examples\hello\target\java" -verbose "C:\Documents
 and Settings\dkraiman\My Documents\ABMA\JBOSS\jbpm-bpel-1.1.1\examples\hello\sr
c\main\resources\wscompile.xml"
[wscompile] java.lang.NoClassDefFoundError: and
[wscompile] Exception in thread "main"

BUILD FAILED
C:\Documents and Settings\dkraiman\My Documents\ABMA\JBOSS\jbpm-bpel-1.1.1\examp
les\common\mapping-build.xml:149: The following error occurred while executing t
his line:
C:\Documents and Settings\dkraiman\My Documents\ABMA\JBOSS\jbpm-bpel-1.1.1\examp
les\common\mapping-build.xml:122: wscompile failed

Total time: 1 second


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4189908#4189908

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4189908



More information about the jboss-user mailing list