Trouble locating zip file

I want to create an enemy using a zip file located in my models folder, but when I attempt to access the zip file, I get an error: AssetLoadException: Failed to open zip file:

My code for creating enemies:

private void createEnemy(float x, float y, float z) {
	assetManager.registerLocator("", ZipLocator.class);
	Spatial enemy = assetManager.loadModel("main.scene");
	CollisionShape shape = CollisionShapeFactory.createMeshShape(enemy);
	RigidBodyControl phys = new RigidBodyControl(shape, 0.5f);

Runtime says the error occurs when I try to make the spatial.

As seen in the hello collision tutorial, the zip file is being loaded from the root directory of the project.

You say your zip file is in the Models folder, which probably shows you aren’t loading from the right directory.

Either move your zip folder to the root of your project or change where you are loading to your models folder, in this case to:

assetManager.registerLocator("assets/Models/", ZipLocator.class);

I’ve changed where I’m loading to my models folder, but now I’ve got a different error: AssetNotFoundException: main.scene

I know I’m supposed to have something other than main.scene, but I don’t know what it’s supposed to be…