matsim-org / matsim-code-examples

A repository containing code examples around MATSim
GNU General Public License v3.0
83 stars 179 forks source link

Missing classes in org.matsim.core.mobsim.qsim #1158

Open SarahSie opened 2 months ago

SarahSie commented 2 months ago

Hello,

For running my program I used to work with the following classes now missing from qsim.

Screenshot 2024-09-01 at 09 35 56

Which dependency/Maven should I add to have access to these classes?

Janekdererste commented 2 months ago

Could you please tell us, which version of MATSim you were using previously and which one you are using now?

Some classes have been moved around lately. Try to remove the import statements, which cause errors. And then let IntelliJ re-import those classes. Maybe this already solves your problem.

SarahSie commented 2 months ago

Hello, thank you for your reply. I used to work with Matsim 11, but then I needed to move to 13. However, even after switching back to 11, I still get this error.

Janekdererste commented 2 months ago

I would recommend using a more recent MATSim version. 11 is from 5 years ago and 13 is the release from 2021. The current MATSim release is 2024.0.

That said, are you able to re-import the missing classes?