[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.stp.sca-tools] Re: Tutorial has to be changed

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_With_Composite_Designer#References