PSSMShadowRendering - Asset PostShadow can't be loaded

Hello again,

I tried to add the cool PSSMShadowRendering.

So I added
pssmRenderer = new PssmShadowRenderer(assetManager, 1024, 3);

and got the error:

Uncaught exception thrown in Thread[LWJGL Renderer Thread,5,main]
com.jme3.asset.AssetLoadException: An exception has occured while loading asset: Common/MatDefs/Shadow/PostShadow.j3md

in the line, I added previously.
Is this j3md-File missing in my System?
And in that case, how can I import it? I found the code for this PostShadow.j3md-File, but I don’t know where to put it…

Or did I do some other thing wrong?

Hmm,I think something with my Common File is wrong. Because when I try to add a sky I get a similar error message.

Your project sounds messed up yeah. This file is in jme3-core.jar. and you surely have this jar else you’d have plenty of other issues.
Did you change something on the assetLoader side?

Search into the jme3-core jar (browse via your ide/SDK).

OK, my files are ok. I searched this library and found it. Installed correctly.
And I got a deeper view in my error:

Caused by: java.io.IOException: Material instances must be loaded via MaterialKey

So the exception is not thrown because the instance is missing.
But I load all Materials by :

  Spatial board = assetManager.loadModel("Models/board/board.j3o");
        board.move(0.0f, -0.2f, 0.0f);
        Material mat_board = new Material(assetManager, "Common/MatDefs/Light/Lighting.j3md");
        mat_board.setTexture("DiffuseMap", assetManager.loadTexture("Models/board/crokinole cut.png"));
        board.setMaterial(mat_board);
        board.setShadowMode(ShadowMode.Receive);

And this workes in the case I don’t use PSSMShader.

I am confused…