Call to Services class not working [message #1847257] |
Thu, 21 October 2021 06:16  |
Eclipse User |
|
|
|
Hello,
whenever I refactor my project, including adapting the project location, the references to my Java Services class seem to be broken. I guess my problem is similar to this issue https://www.eclipse.org/forums/index.php/t/1094392/, every call to a service yields an invalid result.
I previously solved it by creating the viewpoint specification project from scratch which creates the references automatically. But to not do this again, I'd like to ask, if there is another way to solve it? I could not figure out which references need to be updated there.
Many thanks in advance!
|
|
|
|
Re: Call to Services class not working [message #1847405 is a reply to message #1847262] |
Tue, 26 October 2021 06:59  |
Eclipse User |
|
|
|
Anemone Kampkötter wrote on Thu, 21 October 2021 12:52I found out that it was probably just a problem in my runtime configurations in Eclipse, so this shouldn't be a problem anymore.
Hi, I am a beginner in the Eclipse Sirius. I have a problem when calling services.
My service class like this;
public class Services{
public String getName(EObject self){
return "abcd";
}
}
I can't call this method from .odesign file,
In validation it gives the following error;
"Couldn't find the getName(EClassifier=MyClass)" service.
Could you help me to solve this problem? What should I do?
|
|
|
Powered by
FUDForum. Page generated in 0.11426 seconds