Error during entity compile "findActivityType(Long) is undefined"
Hi all,
here is something odd and reproducable on my system. When
Code:
// Spring Roo 1.1.5.RELEASE [rev d3a68c3] log opened at 2012-02-02 17:32:36
project --topLevelPackage com.acme.test
persistence setup --provider HIBERNATE --database HYPERSONIC_IN_MEMORY
entity --class ~.domain.types.ActivityType
field string --fieldName ActivityType --notNull
exit
// Spring Roo 1.1.5.RELEASE [rev d3a68c3] log closed at 2012-02-02 17:35:11
is executed.
Code:
> mvn clean eclipse:clean eclipse:eclipse
gives me:
Code:
...
[INFO] --- aspectj-maven-plugin:1.2:compile (default) @ test ---
[ERROR] The method findActivityType(Long) is undefined for the type String
...
[ERROR] error at ActivityType attached = ActivityType.findActivityType(this.id);
[ERROR] ^^^
[ERROR] /tmp/testactivity/src/main/java/com/acme/test/domain/types/ActivityType_Roo_Entity.aj:64:0::0 The method findActivityType(Long) is undefined for the type String
[ERROR] -> [Help 1]
The same happens in STS 2.8.1.
Should I open a bug?
Thanks for your advice
Carsten