Loading...
 

PogamutUT2004


Issue in SposhLogicController

Hi all, I'm running your tutorial, and I've opened the Pogamut example "sposh-prey-bot".

I got a lot of errors in the PreyLogic.java. The first one is in the definition of the class:


public class PreyLogic extends SposhLogicController {
...
}

it says "wrong number of type arguments; required 2"

Have u got some ideas? Thanks! :-)
The issue should be resolved adding IWorkExecutor as the second required parameter, so:

public class PreyLogic extends SposhLogicController {
....
}



> Hi all, I'm running your tutorial, and I've opened the Pogamut example "sposh-prey-bot".
>
> I got a lot of errors in the PreyLogic.java. The first one is in the definition of the class:
>
>
> public class PreyLogic extends SposhLogicController {
> ...
> }
>
> it says "wrong number of type arguments; required 2"
>
> Have u got some ideas? Thanks! :-)
Sorry the right declaration is:

public class PreyLogic extends SposhLogicController {
...
}

> Hi all, I'm running your tutorial, and I've opened the Pogamut example "sposh-prey-bot".
>
> I got a lot of errors in the PreyLogic.java. The first one is in the definition of the class:
>
>
> public class PreyLogic extends SposhLogicController {
> ...
> }
>
> it says "wrong number of type arguments; required 2"
>
> Have u got some ideas? Thanks! :-)
Ahhh, damn it, your text filtering deletes some part of the above declaration... Let's try with some tricks:

public class PreyLogic extends SposhLogicController UT2004Bot, IWorkExecutor {

instead of [ you should put <

:-)

> Hi all, I'm running your tutorial, and I've opened the Pogamut example "sposh-prey-bot".
>
> I got a lot of errors in the PreyLogic.java. The first one is in the definition of the class:
>
>
> public class PreyLogic extends SposhLogicController {
> ...
> }
>
> it says "wrong number of type arguments; required 2"
>
> Have u got some ideas? Thanks! :-)
oh no, is recognized with a link...

Well instead of UT2004bot you should put

UT2004bot, IWorkExecutor

> Hi all, I'm running your tutorial, and I've opened the Pogamut example "sposh-prey-bot".
>
> I got a lot of errors in the PreyLogic.java. The first one is in the definition of the class:
>
>
> public class PreyLogic extends SposhLogicController {
> ...
> }
>
> it says "wrong number of type arguments; required 2"
>
> Have u got some ideas? Thanks! :-)
 

News

News RSS RSS feed for News link



Pogamut

Quarterly RSS RSS feed for quarterly reports

Acknowledgement

This work is supported by GA UK 1053/2007/A-INF/MFF (2007-8), GA UK 351/2006/A-INF/MFF (2006-8), the Ministry of Education of the Czech Republic (grant MSM0021620838) (2008-9), by the Program "Information Society" under project 1ET100300517 (2006-9), and the project Integration of IT Tools into Education of Humanities (2006-8) and by the project CZ.2.17/3.1.00/31162, which are financed by the European Social Fund, the state budget of the Czech Republic, and by the budget of Municipal House Prague.