-
1. Re: exception encountered in jbpm bpel examples
aguizar Jan 17, 2008 8:46 AM (in response to shefagarwal)The classes HelloWorldService and Greeter are generated by the Java mapping generation tool in the Ant target generate.mapping. This target is normally executed as a dependency of the test target, but I don't see any mapping generation being performed in the output you provided.
Can you post the full output produced by Ant? -
2. Re: exception encountered in jbpm bpel examples
shefagarwal Jan 17, 2008 11:11 PM (in response to shefagarwal)hi Alejandro,
This is the full output as produced by ant. The mappings are getting generated but still I am getting this exception:
D:\jbpm-bpel-1.1.GA\examples\hello>ant test
Buildfile: build.xml
detect.wsdl:
get.published.wsdl:
[copy] Copying 3 files to D:\jbpm-bpel-1.1.GA\examples\hello\target\resourc
es\web\wsdl
check.mapping:
generate.mapping:
detect.mapping.tool:
wstools:
[move] Moving 1 file to D:\jbpm-bpel-1.1.GA\examples\hello\target\resources
\web
detect.mapping.tool:
wscompile:
package.client:
[jar] Building jar: D:\jbpm-bpel-1.1.GA\examples\hello\target\hello-client
.jar
compile.test.dependencies:
compile.test:
[javac] Compiling 1 source file to D:\jbpm-bpel-1.1.GA\examples\hello\target
\test\classes
[javac] D:\jbpm-bpel-1.1.GA\examples\hello\src\test\java\org\jbpm\bpel\tutor
ial\hello\HelloTest.java:32: cannot find symbol
[javac] symbol : class HelloWorldService
[javac] location: class org.jbpm.bpel.tutorial.hello.HelloTest
[javac] private HelloWorldService helloService;
[javac] ^
[javac] D:\jbpm-bpel-1.1.GA\examples\hello\src\test\java\org\jbpm\bpel\tutor
ial\hello\HelloTest.java:40: cannot find symbol
[javac] symbol : class HelloWorldService
[javac] location: class org.jbpm.bpel.tutorial.hello.HelloTest
[javac] helloService = (HelloWorldService) iniCtx.lookup("java:comp/env/
service/Hello");
[javac] ^
[javac] D:\jbpm-bpel-1.1.GA\examples\hello\src\test\java\org\jbpm\bpel\tutor
ial\hello\HelloTest.java:45: cannot find symbol
[javac] symbol : class Greeter
[javac] location: class org.jbpm.bpel.tutorial.hello.HelloTest
[javac] Greeter proxy = helloService.getGreeterPort();
[javac] ^
[javac] 3 errors
BUILD FAILED
D:\jbpm-bpel-1.1.GA\examples\common\test-build.xml:49: Compile failed; see the c
ompiler error output for details.
Total time: 6 seconds
D:\jbpm-bpel-1.1.GA\examples\hello> -
3. Re: exception encountered in jbpm bpel examples
aguizar Jan 23, 2008 11:58 AM (in response to shefagarwal)Please use wscompile instead of wstools. To do so, install JWSDP and set the jwsdp.home entry in your build.properties to the location where you installed it.
-
4. Re: exception encountered in jbpm bpel examples
shefagarwal Jan 23, 2008 10:47 PM (in response to shefagarwal)hey thanks for the solution...
I tried the same and its working fine now...
Thanks again :)