Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
Major
-
Resolution: Complete
-
Affects Version/s: 1.2.1.RELEASE
-
Fix Version/s: 1.2.2.RELEASE
-
Component/s: @ ROO SHELL
-
Labels:
-
Environment:STS 2.8.1.RELEASE (64 bit running on 64 bit Windows 7 Professional) wwith Roo1.2.1.RELEASE
Description
The following is an excerpt from a script that produces the problem:
/* ====== Asset ====== */
entity jpa --class com.bigcorp.domain.assets.Asset --inheritanceType SINGLE_TABLE --testAutomatically
field string --fieldName name --sizeMax 60
/* ====== FixedAsset ====== */
entity jpa --class com.bigcorp.domain.assets.FixedAsset --extends com.lyniad.domain.assets.Asset --inheritanceType SINGLE_TABLE --testAutomatically
solr setup
solr all
At build time the resulting error is:
[ERROR] D:\EclipseWorkspace\SAMPLE\src\main\java\com\bigcorp\domain\assets\FixedAsset_Roo_SolrSearch.aj:105:0::0 Ca
nnot override the final method from Asset
where line 105 is:
public static final SolrServer FixedAsset.solrServer()
which conflicts the the same method define in the superclass, Asset:
public static final SolrServer Asset.solrServer()