You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by tedc <te...@ms01.dahan.edu.tw> on 2007/09/07 04:57:29 UTC

Can't build trunk http client wget.java

Hi :
I have following the developer guide to build mina trunk, and I want to try
wget. But when I mvn install http client, there are error are listed below:

D:\trunk\mina-protocol-client-http>mvn install
[INFO] Scanning for projects...
[INFO]
-------------------------------------------------------------------------
---
[INFO] Building Apache MINA Asynch HTTP Client
[INFO]    task-segment: [install]
[INFO]
-------------------------------------------------------------------------
---
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 4 source files to
D:\trunk\mina-protocol-client-http\target\cla
sses
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure

D:\trunk\mina-protocol-client-http\src\main\java\org\apache\mina\http\client\Asy
ncHttpClientCallback.java:[23,33] package org.apache.mina.http.codec does
not ex
ist

D:\trunk\mina-protocol-client-http\src\main\java\org\apache\mina\http\client\Asy
ncHttpClientCallback.java:[28,28] cannot find symbol
symbol  : class HttpResponseMessage
location: interface org.apache.mina.http.client.AsyncHttpClientCallback

D:\trunk\mina-protocol-client-http\src\main\java\org\apache\mina\http\client\Htt
pIoHandler.java:[25,33] package org.apache.mina.http.codec does not exist

D:\trunk\mina-protocol-client-http\src\main\java\org\apache\mina\http\client\Htt
pIoHandler.java:[26,33] package org.apache.mina.http.codec does not exist

D:\trunk\mina-protocol-client-http\src\main\java\org\apache\mina\http\client\Asy
ncHttpClient.java:[35,33] package org.apache.mina.http.codec does not exist

D:\trunk\mina-protocol-client-http\src\main\java\org\apache\mina\http\client\Asy
ncHttpClient.java:[36,33] package org.apache.mina.http.codec does not exist

D:\trunk\mina-protocol-client-http\src\main\java\org\apache\mina\http\client\Asy
ncHttpClient.java:[106,29] cannot find symbol
symbol  : class HttpRequestMessage
location: class org.apache.mina.http.client.AsyncHttpClient

D:\trunk\mina-protocol-client-http\src\main\java\org\apache\mina\http\client\Htt
pIoHandler.java:[50,8] cannot find symbol
symbol  : class HttpResponseMessage
location: class org.apache.mina.http.client.HttpIoHandler

D:\trunk\mina-protocol-client-http\src\main\java\org\apache\mina\http\client\Htt
pIoHandler.java:[50,40] cannot find symbol
symbol  : class HttpResponseMessage
location: class org.apache.mina.http.client.HttpIoHandler

D:\trunk\mina-protocol-client-http\src\main\java\org\apache\mina\http\client\Htt
pIoHandler.java:[59,35] cannot find symbol
symbol  : variable HttpResponseDecoder
location: class org.apache.mina.http.client.HttpIoHandler

D:\trunk\mina-protocol-client-http\src\main\java\org\apache\mina\http\client\Htt
pIoHandler.java:[68,35] cannot find symbol
symbol  : variable HttpResponseDecoder
location: class org.apache.mina.http.client.HttpIoHandler

D:\trunk\mina-protocol-client-http\src\main\java\org\apache\mina\http\client\Asy
ncHttpClient.java:[84,91] cannot find symbol
symbol  : class HttpProtocolCodecFactory
location: class org.apache.mina.http.client.AsyncHttpClient

Anybody has advice??

Thanks
Ted Chen
-- 
View this message in context: http://www.nabble.com/Can%27t-build-trunk-http-client-wget.java-tf4395777s16868.html#a12535091
Sent from the Apache MINA Support Forum mailing list archive at Nabble.com.

Re: Can't build trunk http client wget.java

Posted by tedc <te...@ms01.dahan.edu.tw>.
Hi Mike :
Thanks for your fast reply and fix.
It is ok.
Best regrads,
Ted 



mheath wrote:
> 
> I've fixed this and committed the changes.  The build should work fine
> now.
> 
> -Mike
> 
> Mark wrote:
>> I apologize.  The problem is that there is no dependancy listed in the
>> maven
>> pom.xml file.  I will work on this.
>> 
>> If you use Eclipse, you can add mina-filter-codec-http to the required
>> projects for mina-examples
>> 
>> 
>> On 9/6/07, tedc <te...@ms01.dahan.edu.tw> wrote:
>>>
>>> Hi :
>>> I have following the developer guide to build mina trunk, and I want to
>>> try
>>> wget. But when I mvn install http client, there are error are listed
>>> below:
>>>
>>> D:\trunk\mina-protocol-client-http>mvn install
>>> [INFO] Scanning for projects...
>>> [INFO]
>>> -------------------------------------------------------------------------
>>> ---
>>> [INFO] Building Apache MINA Asynch HTTP Client
>>> [INFO]    task-segment: [install]
>>> [INFO]
>>> -------------------------------------------------------------------------
>>> ---
>>> [INFO] [resources:resources]
>>> [INFO] Using default encoding to copy filtered resources.
>>> [INFO] [compiler:compile]
>>> [INFO] Compiling 4 source files to
>>> D:\trunk\mina-protocol-client-http\target\cla
>>> sses
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] BUILD FAILURE
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Compilation failure
>>>
>>>
>>> D:\trunk\mina-protocol-client-http\src\main\java\org\apache\mina\http\client\Asy
>>> ncHttpClientCallback.java:[23,33] package org.apache.mina.http.codec
>>> does
>>> not ex
>>> ist
>>>
>>>
>>> D:\trunk\mina-protocol-client-http\src\main\java\org\apache\mina\http\client\Asy
>>> ncHttpClientCallback.java:[28,28] cannot find symbol
>>> symbol  : class HttpResponseMessage
>>> location: interface org.apache.mina.http.client.AsyncHttpClientCallback
>>>
>>>
>>> D:\trunk\mina-protocol-client-http\src\main\java\org\apache\mina\http\client\Htt
>>> pIoHandler.java:[25,33] package org.apache.mina.http.codec does not
>>> exist
>>>
>>>
>>> D:\trunk\mina-protocol-client-http\src\main\java\org\apache\mina\http\client\Htt
>>> pIoHandler.java:[26,33] package org.apache.mina.http.codec does not
>>> exist
>>>
>>>
>>> D:\trunk\mina-protocol-client-http\src\main\java\org\apache\mina\http\client\Asy
>>> ncHttpClient.java:[35,33] package org.apache.mina.http.codec does not
>>> exist
>>>
>>>
>>> D:\trunk\mina-protocol-client-http\src\main\java\org\apache\mina\http\client\Asy
>>> ncHttpClient.java:[36,33] package org.apache.mina.http.codec does not
>>> exist
>>>
>>>
>>> D:\trunk\mina-protocol-client-http\src\main\java\org\apache\mina\http\client\Asy
>>> ncHttpClient.java:[106,29] cannot find symbol
>>> symbol  : class HttpRequestMessage
>>> location: class org.apache.mina.http.client.AsyncHttpClient
>>>
>>>
>>> D:\trunk\mina-protocol-client-http\src\main\java\org\apache\mina\http\client\Htt
>>> pIoHandler.java:[50,8] cannot find symbol
>>> symbol  : class HttpResponseMessage
>>> location: class org.apache.mina.http.client.HttpIoHandler
>>>
>>>
>>> D:\trunk\mina-protocol-client-http\src\main\java\org\apache\mina\http\client\Htt
>>> pIoHandler.java:[50,40] cannot find symbol
>>> symbol  : class HttpResponseMessage
>>> location: class org.apache.mina.http.client.HttpIoHandler
>>>
>>>
>>> D:\trunk\mina-protocol-client-http\src\main\java\org\apache\mina\http\client\Htt
>>> pIoHandler.java:[59,35] cannot find symbol
>>> symbol  : variable HttpResponseDecoder
>>> location: class org.apache.mina.http.client.HttpIoHandler
>>>
>>>
>>> D:\trunk\mina-protocol-client-http\src\main\java\org\apache\mina\http\client\Htt
>>> pIoHandler.java:[68,35] cannot find symbol
>>> symbol  : variable HttpResponseDecoder
>>> location: class org.apache.mina.http.client.HttpIoHandler
>>>
>>>
>>> D:\trunk\mina-protocol-client-http\src\main\java\org\apache\mina\http\client\Asy
>>> ncHttpClient.java:[84,91] cannot find symbol
>>> symbol  : class HttpProtocolCodecFactory
>>> location: class org.apache.mina.http.client.AsyncHttpCli
>>>
>>> Anybody has advice??
>>>
>>> Thanks
>>> Ted Chen
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Can%27t-build-trunk-http-client-wget.java-tf4395777s16868.html#a12535091
>>> Sent from the Apache MINA Support Forum mailing list archive at
>>> Nabble.com
>>> .
>>>
>>>
>> 
>> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Can%27t-build-trunk-http-client-wget.java-tf4395777s16868.html#a12536208
Sent from the Apache MINA Support Forum mailing list archive at Nabble.com.


Re: Can't build trunk http client wget.java

Posted by Mike Heath <mh...@apache.org>.
I've fixed this and committed the changes.  The build should work fine now.

-Mike

Mark wrote:
> I apologize.  The problem is that there is no dependancy listed in the maven
> pom.xml file.  I will work on this.
> 
> If you use Eclipse, you can add mina-filter-codec-http to the required
> projects for mina-examples
> 
> 
> On 9/6/07, tedc <te...@ms01.dahan.edu.tw> wrote:
>>
>> Hi :
>> I have following the developer guide to build mina trunk, and I want to
>> try
>> wget. But when I mvn install http client, there are error are listed
>> below:
>>
>> D:\trunk\mina-protocol-client-http>mvn install
>> [INFO] Scanning for projects...
>> [INFO]
>> -------------------------------------------------------------------------
>> ---
>> [INFO] Building Apache MINA Asynch HTTP Client
>> [INFO]    task-segment: [install]
>> [INFO]
>> -------------------------------------------------------------------------
>> ---
>> [INFO] [resources:resources]
>> [INFO] Using default encoding to copy filtered resources.
>> [INFO] [compiler:compile]
>> [INFO] Compiling 4 source files to
>> D:\trunk\mina-protocol-client-http\target\cla
>> sses
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Compilation failure
>>
>>
>> D:\trunk\mina-protocol-client-http\src\main\java\org\apache\mina\http\client\Asy
>> ncHttpClientCallback.java:[23,33] package org.apache.mina.http.codec does
>> not ex
>> ist
>>
>>
>> D:\trunk\mina-protocol-client-http\src\main\java\org\apache\mina\http\client\Asy
>> ncHttpClientCallback.java:[28,28] cannot find symbol
>> symbol  : class HttpResponseMessage
>> location: interface org.apache.mina.http.client.AsyncHttpClientCallback
>>
>>
>> D:\trunk\mina-protocol-client-http\src\main\java\org\apache\mina\http\client\Htt
>> pIoHandler.java:[25,33] package org.apache.mina.http.codec does not exist
>>
>>
>> D:\trunk\mina-protocol-client-http\src\main\java\org\apache\mina\http\client\Htt
>> pIoHandler.java:[26,33] package org.apache.mina.http.codec does not exist
>>
>>
>> D:\trunk\mina-protocol-client-http\src\main\java\org\apache\mina\http\client\Asy
>> ncHttpClient.java:[35,33] package org.apache.mina.http.codec does not
>> exist
>>
>>
>> D:\trunk\mina-protocol-client-http\src\main\java\org\apache\mina\http\client\Asy
>> ncHttpClient.java:[36,33] package org.apache.mina.http.codec does not
>> exist
>>
>>
>> D:\trunk\mina-protocol-client-http\src\main\java\org\apache\mina\http\client\Asy
>> ncHttpClient.java:[106,29] cannot find symbol
>> symbol  : class HttpRequestMessage
>> location: class org.apache.mina.http.client.AsyncHttpClient
>>
>>
>> D:\trunk\mina-protocol-client-http\src\main\java\org\apache\mina\http\client\Htt
>> pIoHandler.java:[50,8] cannot find symbol
>> symbol  : class HttpResponseMessage
>> location: class org.apache.mina.http.client.HttpIoHandler
>>
>>
>> D:\trunk\mina-protocol-client-http\src\main\java\org\apache\mina\http\client\Htt
>> pIoHandler.java:[50,40] cannot find symbol
>> symbol  : class HttpResponseMessage
>> location: class org.apache.mina.http.client.HttpIoHandler
>>
>>
>> D:\trunk\mina-protocol-client-http\src\main\java\org\apache\mina\http\client\Htt
>> pIoHandler.java:[59,35] cannot find symbol
>> symbol  : variable HttpResponseDecoder
>> location: class org.apache.mina.http.client.HttpIoHandler
>>
>>
>> D:\trunk\mina-protocol-client-http\src\main\java\org\apache\mina\http\client\Htt
>> pIoHandler.java:[68,35] cannot find symbol
>> symbol  : variable HttpResponseDecoder
>> location: class org.apache.mina.http.client.HttpIoHandler
>>
>>
>> D:\trunk\mina-protocol-client-http\src\main\java\org\apache\mina\http\client\Asy
>> ncHttpClient.java:[84,91] cannot find symbol
>> symbol  : class HttpProtocolCodecFactory
>> location: class org.apache.mina.http.client.AsyncHttpCli
>>
>> Anybody has advice??
>>
>> Thanks
>> Ted Chen
>> --
>> View this message in context:
>> http://www.nabble.com/Can%27t-build-trunk-http-client-wget.java-tf4395777s16868.html#a12535091
>> Sent from the Apache MINA Support Forum mailing list archive at Nabble.com
>> .
>>
>>
> 
> 


Re: Can't build trunk http client wget.java

Posted by Mark <el...@gmail.com>.
I apologize.  The problem is that there is no dependancy listed in the maven
pom.xml file.  I will work on this.

If you use Eclipse, you can add mina-filter-codec-http to the required
projects for mina-examples


On 9/6/07, tedc <te...@ms01.dahan.edu.tw> wrote:
>
>
> Hi :
> I have following the developer guide to build mina trunk, and I want to
> try
> wget. But when I mvn install http client, there are error are listed
> below:
>
> D:\trunk\mina-protocol-client-http>mvn install
> [INFO] Scanning for projects...
> [INFO]
> -------------------------------------------------------------------------
> ---
> [INFO] Building Apache MINA Asynch HTTP Client
> [INFO]    task-segment: [install]
> [INFO]
> -------------------------------------------------------------------------
> ---
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Compiling 4 source files to
> D:\trunk\mina-protocol-client-http\target\cla
> sses
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Compilation failure
>
>
> D:\trunk\mina-protocol-client-http\src\main\java\org\apache\mina\http\client\Asy
> ncHttpClientCallback.java:[23,33] package org.apache.mina.http.codec does
> not ex
> ist
>
>
> D:\trunk\mina-protocol-client-http\src\main\java\org\apache\mina\http\client\Asy
> ncHttpClientCallback.java:[28,28] cannot find symbol
> symbol  : class HttpResponseMessage
> location: interface org.apache.mina.http.client.AsyncHttpClientCallback
>
>
> D:\trunk\mina-protocol-client-http\src\main\java\org\apache\mina\http\client\Htt
> pIoHandler.java:[25,33] package org.apache.mina.http.codec does not exist
>
>
> D:\trunk\mina-protocol-client-http\src\main\java\org\apache\mina\http\client\Htt
> pIoHandler.java:[26,33] package org.apache.mina.http.codec does not exist
>
>
> D:\trunk\mina-protocol-client-http\src\main\java\org\apache\mina\http\client\Asy
> ncHttpClient.java:[35,33] package org.apache.mina.http.codec does not
> exist
>
>
> D:\trunk\mina-protocol-client-http\src\main\java\org\apache\mina\http\client\Asy
> ncHttpClient.java:[36,33] package org.apache.mina.http.codec does not
> exist
>
>
> D:\trunk\mina-protocol-client-http\src\main\java\org\apache\mina\http\client\Asy
> ncHttpClient.java:[106,29] cannot find symbol
> symbol  : class HttpRequestMessage
> location: class org.apache.mina.http.client.AsyncHttpClient
>
>
> D:\trunk\mina-protocol-client-http\src\main\java\org\apache\mina\http\client\Htt
> pIoHandler.java:[50,8] cannot find symbol
> symbol  : class HttpResponseMessage
> location: class org.apache.mina.http.client.HttpIoHandler
>
>
> D:\trunk\mina-protocol-client-http\src\main\java\org\apache\mina\http\client\Htt
> pIoHandler.java:[50,40] cannot find symbol
> symbol  : class HttpResponseMessage
> location: class org.apache.mina.http.client.HttpIoHandler
>
>
> D:\trunk\mina-protocol-client-http\src\main\java\org\apache\mina\http\client\Htt
> pIoHandler.java:[59,35] cannot find symbol
> symbol  : variable HttpResponseDecoder
> location: class org.apache.mina.http.client.HttpIoHandler
>
>
> D:\trunk\mina-protocol-client-http\src\main\java\org\apache\mina\http\client\Htt
> pIoHandler.java:[68,35] cannot find symbol
> symbol  : variable HttpResponseDecoder
> location: class org.apache.mina.http.client.HttpIoHandler
>
>
> D:\trunk\mina-protocol-client-http\src\main\java\org\apache\mina\http\client\Asy
> ncHttpClient.java:[84,91] cannot find symbol
> symbol  : class HttpProtocolCodecFactory
> location: class org.apache.mina.http.client.AsyncHttpCli
>
> Anybody has advice??
>
> Thanks
> Ted Chen
> --
> View this message in context:
> http://www.nabble.com/Can%27t-build-trunk-http-client-wget.java-tf4395777s16868.html#a12535091
> Sent from the Apache MINA Support Forum mailing list archive at Nabble.com
> .
>
>


-- 
..Cheers
Mark