Compile error for restful_http_binding sample
---------------------------------------------

                 Key: CXF-588
                 URL: https://issues.apache.org/jira/browse/CXF-588
             Project: CXF
          Issue Type: Sub-task
    Affects Versions: 2.0-RC
         Environment: windows XP
            Reporter: Jeff Yu
             Fix For: 2.0-RC


Execute the "ant server" command as the README describes, we got following 
compile error message:
------------------------------------------------------------------------------------------------------------------------------------
Buildfile: build.xml

maybe.generate.code:

compile:
    [mkdir] Created dir: C:\cxf\samples\restful_http_binding\build\classes
    [mkdir] Created dir: C:\cxf\samples\restful_http_binding\build\src
    [javac] Compiling 11 source files to C:\cxf\samples\restful_http_binding\bui
ld\classes
    [javac] C:\cxf\samples\restful_http_binding\src\com\acme\customer\Main.java:
44: package org.codehaus.jettison.mapped does not exist
    [javac] import org.codehaus.jettison.mapped.MappedXMLInputFactory;
    [javac]                                     ^
    [javac] C:\cxf\samples\restful_http_binding\src\com\acme\customer\Main.java:
45: package org.codehaus.jettison.mapped does not exist
    [javac] import org.codehaus.jettison.mapped.MappedXMLOutputFactory;
    [javac]                                     ^
    [javac] C:\cxf\samples\restful_http_binding\src\com\acme\customer\Main.java:
107: cannot find symbol
    [javac] symbol  : class MappedXMLInputFactory
    [javac] location: class com.acme.customer.Main
    [javac]         MappedXMLInputFactory xif = new MappedXMLInputFactory(nstojn
s);
    [javac]         ^
    [javac] C:\cxf\samples\restful_http_binding\src\com\acme\customer\Main.java:
107: cannot find symbol
    [javac] symbol  : class MappedXMLInputFactory
    [javac] location: class com.acme.customer.Main
    [javac]         MappedXMLInputFactory xif = new MappedXMLInputFactory(nstojn
s);
    [javac]                                         ^
    [javac] C:\cxf\samples\restful_http_binding\src\com\acme\customer\Main.java:
110: cannot find symbol
    [javac] symbol  : class MappedXMLOutputFactory
    [javac] location: class com.acme.customer.Main
    [javac]         MappedXMLOutputFactory xof = new MappedXMLOutputFactory(nsto
jns);
    [javac]         ^
    [javac] C:\cxf\samples\restful_http_binding\src\com\acme\customer\Main.java:
110: cannot find symbol
    [javac] symbol  : class MappedXMLOutputFactory
    [javac] location: class com.acme.customer.Main
    [javac]         MappedXMLOutputFactory xof = new MappedXMLOutputFactory(nsto
jns);
    [javac]                                          ^
    [javac] 6 errors

BUILD FAILED

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to