NoClassDefFoundError for SimulationExecutionListener

Moderator: Moderators

NoClassDefFoundError for SimulationExecutionListener

Postby Albert.Christensen@ngc.com » Wed Sep 29, 2021 5:46 pm

My custom plugin crashes when I program it to use SimulationExecutionListener.

Here's the error:
Code: Select all
java.lang.NoClassDefFoundError: com/nomagic/magicdraw/simulation/execution/SimulationExecutionListener

I have a class that extends SimulationExecutionListener. Attempting to create an instance of that class is what triggers this error.

I'm using Cameo EA 2021xR1.

Any advice is welcome!
Albert.Christensen@ngc.com
Forum Newbie
Forum Newbie
 
Posts: 6
Posts Rating:0
Joined: Tue Jun 23, 2020 1:40 pm

Re: NoClassDefFoundError for SimulationExecutionListener

Postby arnon_l » Sun Oct 03, 2021 8:18 pm

Hello,

Could you make sure that CST plugin has already been installed ?
Cameo EA has no CST plugin installed by default.

Sincerely,
arnon_l
Customer Support
Customer Support
 
Posts: 86
Posts Rating:11
Joined: Thu Aug 30, 2012 3:39 am

Re: NoClassDefFoundError for SimulationExecutionListener

Postby Albert.Christensen@ngc.com » Mon Oct 04, 2021 5:16 pm

arnon_l wrote:Hello,

Could you make sure that CST plugin has already been installed ?
Cameo EA has no CST plugin installed by default.

Sincerely,


The Resource/Plugin Manager shows the CST plugin installed and active:
Image
You do not have the required permissions to view the files attached to this post.
Albert.Christensen@ngc.com
Forum Newbie
Forum Newbie
 
Posts: 6
Posts Rating:0
Joined: Tue Jun 23, 2020 1:40 pm

Re: NoClassDefFoundError for SimulationExecutionListener

Postby fmejia5@ford.com » Wed Apr 26, 2023 11:49 am

Did you ever find a solution?
I'm getting the same issue when I moved from 2019 to 2021x (also present on 2022x):

java.lang.NoClassDefFoundError: com/nomagic/magicdraw/simulation/SimulationManager
fmejia5@ford.com
Forum Beginner
Forum Beginner
 
Posts: 34
Posts Rating:2
Joined: Tue Apr 28, 2020 2:34 pm


Return to Cameo Simulation Toolkits

Who is online

Users browsing this forum: No registered users and 0 guests