-
May 10th, 2012, 04:14 AM
#1
What is causing "The type xxx cannot be a superinterface" error?
I am scaffolding my fist Roo app and am getting this error, which I cant understand.
The type InnovCatalogueRelationships cannot be a superinterface of InnovCatalogueRelationshipsImpl; a superinterface must be an interface
My sequence in Roo, within STS is
1) create new Roo project
2) addon list (I find I have to do this, otherwise the next step fails)
3) addon install bundle --bundleSymbolicName org.springframework.roo.wrapping.mysql-connector-java
4) jpa setup --database MYSQL --provider HIBERNATE --databaseName upcaseco_innove --userName xx --password xx
5) database reverse engineer --schema no-schema-required --package ~.domain --includeTables "innov_catalogues innov_catalogue_relationships" --testAutomatically --includeNonPortableAttributes --activeRecord false
6) service --interface ~.domain.InnovCatalogues
7) service --interface ~.domain.InnovCatalogueRelationships
8) web mvc setup
9) web mvc all --package ~.web
At this point there are 2 occurrences of the above error on the domain implementations - InnovCataloguesImpl and InnovCatalogueRelationshipsImpl
While it makes sense "a superinterface must be an interface", why has Roo got me into this situation?
Thanks in advance.
Greg
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules