You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Jeff Yu (JIRA)" <ji...@apache.org> on 2007/04/23 09:43:15 UTC
[jira] Created: (CXF-588) Compile error for restful_http_binding
sample
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.
[jira] Commented: (CXF-588) Compile error for restful_http_binding
sample
Posted by "jimma (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490856 ]
jimma commented on CXF-588:
---------------------------
It can work on my windows XP and I will close it . If anyone reproduce this issue on other platforms ,pls repoen it.
> 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.
[jira] Commented: (CXF-588) Compile error for restful_http_binding
sample
Posted by "Jeff Yu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490852 ]
Jeff Yu commented on CXF-588:
-----------------------------
It turns out the cxf-manifest-incubator.jar MANIFEST.MF doesn't contain the jettison-1.0-RC1.jar.
> 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.
[jira] Closed: (CXF-588) Compile error for restful_http_binding
sample
Posted by "jimma (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
jimma closed CXF-588.
---------------------
Resolution: Fixed
> 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.