Skip to main content



      Home
Home » Eclipse Projects » Sirius » Call to Services class not working
Call to Services class not working [message #1847257] Thu, 21 October 2021 06:16 Go to next message
Eclipse UserFriend
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 #1847262 is a reply to message #1847257] Thu, 21 October 2021 08:52 Go to previous messageGo to next message
Eclipse UserFriend
I found out that it was probably just a problem in my runtime configurations in Eclipse, so this shouldn't be a problem anymore.
Re: Call to Services class not working [message #1847405 is a reply to message #1847262] Tue, 26 October 2021 06:59 Go to previous message
Eclipse UserFriend
Anemone Kampkötter wrote on Thu, 21 October 2021 12:52
I 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?
Previous Topic:Problem When Deleting Relation Based Edge
Next Topic:Broken looking diagram image exports on Linux
Goto Forum:
  


Current Time: Mon Jul 14 06:41:35 EDT 2025

Powered by FUDForum. Page generated in 0.11426 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top