-
Oct 11th, 2011, 08:37 AM
#1
java.lang.IllegalStateException with new service addon (Roo 1.2.0.M1)
I've been playing around with Roo 1.2.0.M1 as I'm hoping to use the new service addon to generate a service layer based on a decent sized database - big enough that I was hoping not to run the service command for every entity anyway. The problem is when I run the command without the entity (using the '*' as default) I get the following exception message:
roo> service --interface ~.service.TestService
java.lang.IllegalStateException: Failed to convert '*' to type JavaType for option 'entity'
Unknown type; please indicate the type as a command option (ie --xxxx)
I understand this is still a milestone release, but will the service layer support multiple entities?
-
Dec 18th, 2011, 03:35 PM
#2
I'd also would like to know this. I fail to see the use of a service that only deals with one entity. Why, if I need that I can work with my entity directly.
-
Dec 21st, 2011, 03:54 PM
#3
I am also getting this error with 1.2.0 GA Release. Please let us know when this is resolved, Thanks!
-
Apr 6th, 2012, 11:45 PM
#4
Same for me:
test integration
Updated SRC_MAIN_JAVA/com/learnintouch/domain/Webpage_Roo_DbManaged.aj
java.lang.IllegalStateException: Failed to convert '*' to type JavaType for option 'entity'
Unknown type; please indicate the type as a command option (ie --xxxx)
On Roo 1.2.1.RELEASE [rev 6eae723]
Stephane
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