Hi All,
I’m trying to go through the J2EE Coffe Break tutorial ( http://java.sun.com/j2ee/1.4/docs/tutorial/doc/CB7.html ) and I’m having problems getting the samples to work.
I’m stuck at ‘build and test the client’. Here, when I run
>examples\cb\jaxrpc\asant build-client
I get the following:
prepare:
[echo] Creating the required directories….
compile-client:
[echo] Compiling the client source code….
[javac] Compiling 4 source files to C:\j2ee-1_4-doc-tutorial_7\j2eetutorial14\examples\cb\jaxrpc
\build\client
[javac] C:\j2ee-1_4-doc-tutorial_7\j2eetutorial14\examples\cb\jaxrpc\src\client\com\sun\cb\Order
Caller.java:39: cannot find symbol
[javac] symbol : class Supplier_Impl
[javac] location: class com.sun.cb.OrderCaller
[javac] Stub stub = (Stub) (new Supplier_Impl().getSupplierIFPort());
[javac] ^
[javac] C:\j2ee-1_4-doc-tutorial_7\j2eetutorial14\examples\cb\jaxrpc\src\client\com\sun\cb\Price
Fetcher.java:36: cannot find symbol
[javac] symbol : class SupplierIF_Stub
[javac] location: class com.sun.cb.PriceFetcher
[javac] SupplierIF_Stub stub =
[javac] ^
[javac] C:\j2ee-1_4-doc-tutorial_7\j2eetutorial14\examples\cb\jaxrpc\src\client\com\sun\cb\Price
Fetcher.java:37: cannot find symbol
[javac] symbol : class SupplierIF_Stub
[javac] location: class com.sun.cb.PriceFetcher
[javac] (SupplierIF_Stub) (new Supplier_Impl().getSupplierIFPort());
[javac] ^
[javac] C:\j2ee-1_4-doc-tutorial_7\j2eetutorial14\examples\cb\jaxrpc\src\client\com\sun\cb\Price
Fetcher.java:37: cannot find symbol
[javac] symbol : class Supplier_Impl
[javac] location: class com.sun.cb.PriceFetcher
[javac] (SupplierIF_Stub) (new Supplier_Impl().getSupplierIFPort());
[javac] ^
[javac] 4 errors
BUILD FAILED
C:\j2ee-1_4-doc-tutorial_7\j2eetutorial14\examples\cb\jaxrpc\build.xml:164: Compile failed; see the
compiler error output for details.
Total time: 22 seconds
My questions are:
1)does any1 have any idea how to debug this error.
2)Step one of the tutorial asks for a UDDI registry username/pass but both IBM and Microsoft stopped this service. So can I still see the application without a this public UDDI.
Any help appreciated
Related posts:








0 responses so far ↓
There are no comments yet...Kick things off by filling out the form below.
Leave a Comment