Tutorial has to be changed [message #6162] |
Mon, 16 February 2009 14:03  |
Eclipse User |
|
|
|
As finished modelling the Restaurant component from the tutorial I
wanted to test it. But I got an exception:
Exception in thread "main" org.osoa.sca.ServiceRuntimeException:
Reference not found for component reference: Component =
RestaurantServiceComponent Reference = menuReference
In the part of the tutorial where the references will be set, the names
are specified like (a..z)*Reference. But the annotated setters in the
implementation classes are called set(a..z)*Service. That's why the
exception is thrown. Please change the tutorial that both names match.
greets
Jan
|
|
|
Re: Tutorial has to be changed [message #6192 is a reply to message #6162] |
Mon, 16 February 2009 14:24   |
Eclipse User |
|
|
|
Jan Reimann a écrit :
> As finished modelling the Restaurant component from the tutorial I
> wanted to test it. But I got an exception:
>
> Exception in thread "main" org.osoa.sca.ServiceRuntimeException:
> Reference not found for component reference: Component =
> RestaurantServiceComponent Reference = menuReference
>
> In the part of the tutorial where the references will be set, the names
> are specified like (a..z)*Reference. But the annotated setters in the
> implementation classes are called set(a..z)*Service. That's why the
> exception is thrown. Please change the tutorial that both names match.
>
> greets
> Jan
Thanks Jan. I made the modifications [0].
Stephane Drapeau
Obeo
[0]:
http://wiki.eclipse.org/STP/SCA_Component/SCA_First_Steps_Wi th_Composite_Designer#References
|
|
|
Re: Tutorial has to be changed [message #574571 is a reply to message #6162] |
Mon, 16 February 2009 14:24   |
Eclipse User |
|
|
|
Jan Reimann a écrit :
> As finished modelling the Restaurant component from the tutorial I
> wanted to test it. But I got an exception:
>
> Exception in thread "main" org.osoa.sca.ServiceRuntimeException:
> Reference not found for component reference: Component =
> RestaurantServiceComponent Reference = menuReference
>
> In the part of the tutorial where the references will be set, the names
> are specified like (a..z)*Reference. But the annotated setters in the
> implementation classes are called set(a..z)*Service. That's why the
> exception is thrown. Please change the tutorial that both names match.
>
> greets
> Jan
Thanks Jan. I made the modifications [0].
Stephane Drapeau
Obeo
[0]:
http://wiki.eclipse.org/STP/SCA_Component/SCA_First_Steps_Wi th_Composite_Designer#References
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03611 seconds