# Module class not found

**URL:** https://community.wowza.com/t/module-class-not-found/42662
**Category:** Wowza Streaming Engine
**Tags:** wowza-streaming-server-java-api
**Created:** [April 12, 2014, 12:12am UTC](https://community.wowza.com/t/module-class-not-found/42662 "2014-04-12T00:12:02Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Josh\_Fester](https://avatars.discourse-cdn.com/v4/letter/j/e99b99/32.png) [@Josh\_Fester](https://community.wowza.com/u/Josh_Fester)
#### Post date: [April 12, 2014, 12:12am UTC](https://community.wowza.com/t/module-class-not-found/42662/1 "2014-04-12T00:12:02Z")

</div>

I followed the instructions here

[https://www.wowza.com/docs/how-to-start-and-stop-live-stream-recordings-programmatically-livestreamrecordautorecord-example](https://www.wowza.com/docs/how-to-start-and-stop-live-stream-recordings-programmatically-livestreamrecordautorecord-example)

and my error log shows “Module class not found or could not be loaded. Check [install-dir]/conf/my-app/Application.xml to be sure all Modules/Module/Class paths are correct: name:ModuleAutoRecordBasicExample class:com.wowza.wms.plugin.livestreamrecord.module.ModuleAutoRecordBasicExample”

I put the file in the correct directory and set permissions/owner/group correctly. What could cause this? I’ve also tried to create my own custom modules and get the same error. Wowza 4. Thanks!

---

<div class="post-metadata">

### Author: ![Daren\_Johnson](https://avatars.discourse-cdn.com/v4/letter/d/ee59a6/32.png) [@Daren\_Johnson](https://community.wowza.com/u/Daren_Johnson)
#### Post date: [April 12, 2014, 8:18pm UTC](https://community.wowza.com/t/module-class-not-found/42662/2 "2014-04-12T20:18:31Z")

</div>

Hi,

Try restarting the Wowza Streaming Engine, instead of just restarting the application, see if that helps.

Daren

---

<div class="post-metadata">

### Author: ![Roger\_Littin1](https://avatars.discourse-cdn.com/v4/letter/r/c89c15/32.png) [@Roger\_Littin1](https://community.wowza.com/u/Roger_Littin1)
#### Post date: [April 15, 2014, 11:29am UTC](https://community.wowza.com/t/module-class-not-found/42662/3 "2014-04-15T11:29:32Z")

</div>

Hi,

Can you please post your Application.xml. It looks like you may have a conflict between versions of the recorder.

Roger.

---

<div class="post-metadata">

### Author: ![Josh\_Fester](https://avatars.discourse-cdn.com/v4/letter/j/e99b99/32.png) [@Josh\_Fester](https://community.wowza.com/u/Josh_Fester)
#### Post date: [April 12, 2014, 10:06pm UTC](https://community.wowza.com/t/module-class-not-found/42662/4 "2014-04-12T22:06:09Z")

</div>

Ah thank you! That worked. However, I’m now getting this error:

StreamRecorderParameters: Error creating FileVersionDelegate: com.wowza.wms.livestreamrecord.model.LiveStreamRecordFileVersionDelegate : java.lang.ClassCastException: com.wowza.wms.livestreamrecord.model.LiveStreamRecordFileVersionDelegate cannot be cast to com.wowza.wms.livestreamrecord.manager.IStreamRecorderFileVersionDelegate|at com.wowza.wms.livestreamrecord.manager.StreamRecorderParameters.(StreamRecorderParameters.java:247)|at com.wowza.wms.plugin.livestreamrecord.module.ModuleAutoRecordBasicExample.onAppStart(ModuleAutoRecordBasicExample.java:21)|at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)|at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)|at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)|

---

<div class="post-metadata">

### Author: ![Josh\_Fester](https://avatars.discourse-cdn.com/v4/letter/j/e99b99/32.png) [@Josh\_Fester](https://community.wowza.com/u/Josh_Fester)
#### Post date: [April 16, 2014, 10:46pm UTC](https://community.wowza.com/t/module-class-not-found/42662/5 "2014-04-16T22:46:41Z")

</div>

There was a conflict with my Application.xml. Thanks for the help guys!
