Skip to content

Receiving CAM message with userTaggedValue but an exception ClassNotFoundException observed in the log #164

Answered by kschrab
SafrasIqbal asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, the problem seems to be, that the application simulator uses a custom classloader to load applications from the jar-files of the scenario. However, during deserialization of the custom byte array the default classloader is used, which does not know the scenario-specific jar files. This is general problem we need to solve.

You can workaround this problem by copying the jar files (e.g. example-applications-21.1.jar) from the application directory of your scenario to the lib/mosaic directory of your MOSAIC installation.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@SafrasIqbal
Comment options

@kschrab
Comment options

Answer selected by SafrasIqbal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants