You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by John Lee <on...@yahoo.com.hk> on 2007/05/10 05:01:17 UTC

Does anyone have the same problem of following the T5 tutorial

Dear List, 

I follow the tutorial to download hilo game. Since 5.0.4-snapshot have
bug, I modified pom.xml to use 5.0.3 instead, and I get it running.

However, after important the project to eclipse, I get compile error in 
org.example.hilo.services.AppModule.

1. The type MappedConfiguration is not generic; it cannot be parameterized with arguments <String, 
 String>

2. The method format(String, Object[]) in the type String is not applicable for the arguments (String, long)

I use jdk1.5.0_11 in the build path, java 5 should support generic class and boxing conversion.

What's wrong with the project?

Regards
John 


MSN: ckchan1212@hotmail.com

 ______  __       __          ______  __  __  ____      
/\  _  \/\ \     /\ \        /\__  _\/\ \/\ \/\  _`\    
\ \ \L\ \ \ \    \ \ \       \/_/\ \/\ \ \_\ \ \ \L\_\  
 \ \  __ \ \ \  __\ \ \  __     \ \ \ \ \  _  \ \  _\L  
  \ \ \/\ \ \ \L\ \\ \ \L\ \     \ \ \ \ \ \ \ \ \ \L\ \
   \ \_\ \_\ \____/ \ \____/      \ \_\ \ \_\ \_\ \____/
    \/_/\/_/\/___/   \/___/        \/_/  \/_/\/_/\/___/ 
                                                        
                                                        
 ____     ____    ____    ______   
/\  _`\  /\  _`\ /\  _`\ /\__  _\  
\ \ \L\ \\ \ \L\_\ \,\L\_\/_/\ \/  
 \ \  _ <'\ \  _\L\/_\__ \  \ \ \  
  \ \ \L\ \\ \ \L\ \/\ \L\ \ \ \ \ 
   \ \____/ \ \____/\ `\____\ \ \_\
    \/___/   \/___/  \/_____/  \/_/
                                   
                                               

Re: Does anyone have the same problem of following the T5 tutorial

Posted by John Lee <on...@yahoo.com.hk>.
I got it, My eclipse was set to use java 1.4 instead of 5.
too stupid.

Thanks
Regards
John

----- Original Message ----- 
From: "Eugene Lozovan" <eu...@gmail.com>
To: "Tapestry users" <us...@tapestry.apache.org>; "John Lee" 
<on...@yahoo.com.hk>
Sent: Thursday, May 10, 2007 12:57 PM
Subject: Re: Does anyone have the same problem of following the T5 tutorial


>I was able to get 5.0.3 working in eclipse, may be
> this<http://elozovan.blogspot.com/2007/02/user-authentication-in-tapestry-5-step.html>
> can help you a bit.
>
> E.L.
>
> On 10/05/07, John Lee <on...@yahoo.com.hk> wrote:
>>
>> Dear List,
>>
>> I follow the tutorial to download hilo game. Since 5.0.4-snapshot have
>> bug, I modified pom.xml to use 5.0.3 instead, and I get it running.
>>
>> However, after important the project to eclipse, I get compile error in
>> org.example.hilo.services.AppModule.
>>
>> 1. The type MappedConfiguration is not generic; it cannot be 
>> parameterized
>> with arguments <String,
>> String>
>>
>> 2. The method format(String, Object[]) in the type String is not
>> applicable for the arguments (String, long)
>>
>> I use jdk1.5.0_11 in the build path, java 5 should support generic class
>> and boxing conversion.
>>
>> What's wrong with the project?
>>
>> Regards
>> John
>>
>>
>> MSN: ckchan1212@hotmail.com
>>
>> ______  __       __          ______  __  __  ____
>> /\  _  \/\ \     /\ \        /\__  _\/\ \/\ \/\  _`\
>> \ \ \L\ \ \ \    \ \ \       \/_/\ \/\ \ \_\ \ \ \L\_\
>> \ \  __ \ \ \  __\ \ \  __     \ \ \ \ \  _  \ \  _\L
>>   \ \ \/\ \ \ \L\ \\ \ \L\ \     \ \ \ \ \ \ \ \ \ \L\ \
>>    \ \_\ \_\ \____/ \ \____/      \ \_\ \ \_\ \_\ \____/
>>     \/_/\/_/\/___/   \/___/        \/_/  \/_/\/_/\/___/
>>
>>
>> ____     ____    ____    ______
>> /\  _`\  /\  _`\ /\  _`\ /\__  _\
>> \ \ \L\ \\ \ \L\_\ \,\L\_\/_/\ \/
>> \ \  _ <'\ \  _\L\/_\__ \  \ \ \
>>   \ \ \L\ \\ \ \L\ \/\ \L\ \ \ \ \
>>    \ \____/ \ \____/\ `\____\ \ \_\
>>     \/___/   \/___/  \/_____/  \/_/
>>
>>
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Does anyone have the same problem of following the T5 tutorial

Posted by Eugene Lozovan <eu...@gmail.com>.
I was able to get 5.0.3 working in eclipse, may be
this<http://elozovan.blogspot.com/2007/02/user-authentication-in-tapestry-5-step.html>
can help you a bit.

E.L.

On 10/05/07, John Lee <on...@yahoo.com.hk> wrote:
>
> Dear List,
>
> I follow the tutorial to download hilo game. Since 5.0.4-snapshot have
> bug, I modified pom.xml to use 5.0.3 instead, and I get it running.
>
> However, after important the project to eclipse, I get compile error in
> org.example.hilo.services.AppModule.
>
> 1. The type MappedConfiguration is not generic; it cannot be parameterized
> with arguments <String,
> String>
>
> 2. The method format(String, Object[]) in the type String is not
> applicable for the arguments (String, long)
>
> I use jdk1.5.0_11 in the build path, java 5 should support generic class
> and boxing conversion.
>
> What's wrong with the project?
>
> Regards
> John
>
>
> MSN: ckchan1212@hotmail.com
>
> ______  __       __          ______  __  __  ____
> /\  _  \/\ \     /\ \        /\__  _\/\ \/\ \/\  _`\
> \ \ \L\ \ \ \    \ \ \       \/_/\ \/\ \ \_\ \ \ \L\_\
> \ \  __ \ \ \  __\ \ \  __     \ \ \ \ \  _  \ \  _\L
>   \ \ \/\ \ \ \L\ \\ \ \L\ \     \ \ \ \ \ \ \ \ \ \L\ \
>    \ \_\ \_\ \____/ \ \____/      \ \_\ \ \_\ \_\ \____/
>     \/_/\/_/\/___/   \/___/        \/_/  \/_/\/_/\/___/
>
>
> ____     ____    ____    ______
> /\  _`\  /\  _`\ /\  _`\ /\__  _\
> \ \ \L\ \\ \ \L\_\ \,\L\_\/_/\ \/
> \ \  _ <'\ \  _\L\/_\__ \  \ \ \
>   \ \ \L\ \\ \ \L\ \/\ \L\ \ \ \ \
>    \ \____/ \ \____/\ `\____\ \ \_\
>     \/___/   \/___/  \/_____/  \/_/
>
>