Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Call to Services class not working
Call to Services class not working [message #1847257] Thu, 21 October 2021 10:16 Go to next message
Anemone Kampkötter is currently offline Anemone KampkötterFriend
Messages: 4
Registered: October 2021
Junior Member
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 12:52 Go to previous messageGo to next message
Anemone Kampkötter is currently offline Anemone KampkötterFriend
Messages: 4
Registered: October 2021
Junior Member
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 10:59 Go to previous message
Hakan  Yüksek is currently offline Hakan YüksekFriend
Messages: 22
Registered: October 2021
Junior Member
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: Wed Sep 28 17:23:18 GMT 2022

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

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

Back to the top