# Module class not found or could not be loaded warning  in wowza 3.1.2?

**URL:** <https://community.wowza.com/t/module-class-not-found-or-could-not-be-loaded-warning-in-wowza-3-1-2/38550>\
**Category:** Wowza Streaming Engine\
**Created:** [November 24, 2012, 5:50am UTC](https://community.wowza.com/t/module-class-not-found-or-could-not-be-loaded-warning-in-wowza-3-1-2/38550 "2012-11-24T05:50:57Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![steffina\_divya](https://avatars.discourse-cdn.com/v4/letter/s/aca169/32.png) [@steffina\_divya](https://community.wowza.com/u/steffina_divya)\
**Post date:** [November 24, 2012, 5:50am UTC](https://community.wowza.com/t/module-class-not-found-or-could-not-be-loaded-warning-in-wowza-3-1-2/38550/1 "2012-11-24T05:50:57Z")

</div>

Hi,

I have the following error in wowza(3.1.2) log always when i try to publish my live stream:

loadModFunctions[avchat/_definst_]: Module class not found or could not be loaded. Check [install-dir]/conf/avchat/Application.xml to be sure all Modules/Module/Class paths are correct: name:avchat class:com.wowza.wms.example.module.AVChat

I restart wowza after adding jar. Eventhough this warning comes during publishing my stream.

What would be the solution? Please anybody reply me.

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [November 24, 2012, 3:51pm UTC](https://community.wowza.com/t/module-class-not-found-or-could-not-be-loaded-warning-in-wowza-3-1-2/38550/2 "2012-11-24T15:51:46Z")

</div>

Did you put the .jar file in the current Wowza /lib folder?

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [November 27, 2012, 4:17pm UTC](https://community.wowza.com/t/module-class-not-found-or-could-not-be-loaded-warning-in-wowza-3-1-2/38550/3 "2012-11-27T16:17:13Z")

</div>

That leading space will cause a problem. Trim that:

```auto
<Class>com.wowza.wms.plugin.collection.module.ModuleOnCon nectAuthenticate2</Class> 

```

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [December 1, 2012, 1:30pm UTC](https://community.wowza.com/t/module-class-not-found-or-could-not-be-loaded-warning-in-wowza-3-1-2/38550/4 "2012-12-01T13:30:48Z")

</div>

Try removing ModuleOnConnectAuthenticate2.jar, then re-start Wowza. That Class is in the collection jar.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [December 1, 2012, 1:31pm UTC](https://community.wowza.com/t/module-class-not-found-or-could-not-be-loaded-warning-in-wowza-3-1-2/38550/5 "2012-12-01T13:31:21Z")

</div>

Be sure to re-start Wowza after removing

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [December 7, 2012, 2:34pm UTC](https://community.wowza.com/t/module-class-not-found-or-could-not-be-loaded-warning-in-wowza-3-1-2/38550/6 "2012-12-07T14:34:16Z")

</div>

Is the IDE writing to an old Wowza location /lib folder?

Also, you don’t need to build this one in the IDE, it is included in the pre-built module collection

[https://www.wowza.com/docs/utility-modules-for-wowza-streaming-engine-media-server-software](https://www.wowza.com/docs/utility-modules-for-wowza-streaming-engine-media-server-software)

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [December 8, 2012, 10:02am UTC](https://community.wowza.com/t/module-class-not-found-or-could-not-be-loaded-warning-in-wowza-3-1-2/38550/7 "2012-12-08T10:02:33Z")

</div>

If you have upgraded Wowza and its install directory has changed, you can delete the Wowza project but don’t check the box to permanently delete files, then re-create the project with same name. Then the IDE will be point to the new location

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [December 17, 2013, 3:02pm UTC](https://community.wowza.com/t/module-class-not-found-or-could-not-be-loaded-warning-in-wowza-3-1-2/38550/8 "2013-12-17T15:02:26Z")

</div>

Thanks for the tip,

Richard

---

<div class="post-metadata">

**Author:** ![steffina\_divya](https://avatars.discourse-cdn.com/v4/letter/s/aca169/32.png) [@steffina\_divya](https://community.wowza.com/u/steffina_divya)\
**Post date:** [November 26, 2012, 11:39pm UTC](https://community.wowza.com/t/module-class-not-found-or-could-not-be-loaded-warning-in-wowza-3-1-2/38550/9 "2012-11-26T23:39:29Z")

</div>

Thanks Richard,

Yes, It solved after correcting the module class path to com.lakesidetechnical.AVChat

Eventhough this type of error comes for my other application ModuleOnConnectAuthenticate2. I put two jar files including ModuleOnConnectAuthenticate2.jar and wms-plugin-collection.jar and my module is:

ModuleOnConnectAuthenticate2

ModuleOnConnectAuthenticate2

com.wowza.wms.plugin.collection.module.ModuleOnConnectAuthenticate2

I also restart wowza after putting these jars…Please reply me what i did wrong…

---

<div class="post-metadata">

**Author:** ![steffina\_divya](https://avatars.discourse-cdn.com/v4/letter/s/aca169/32.png) [@steffina\_divya](https://community.wowza.com/u/steffina_divya)\
**Post date:** [November 28, 2012, 5:28am UTC](https://community.wowza.com/t/module-class-not-found-or-could-not-be-loaded-warning-in-wowza-3-1-2/38550/10 "2012-11-28T05:28:22Z")

</div>

But It is the mistake only when i edit it in forum…My module actually didn’t have that space. What would be the problem?

---

<div class="post-metadata">

**Author:** ![steffina\_divya](https://avatars.discourse-cdn.com/v4/letter/s/aca169/32.png) [@steffina\_divya](https://community.wowza.com/u/steffina_divya)\
**Post date:** [December 1, 2012, 4:34am UTC](https://community.wowza.com/t/module-class-not-found-or-could-not-be-loaded-warning-in-wowza-3-1-2/38550/11 "2012-12-01T04:34:40Z")

</div>

Plz help on this

---

<div class="post-metadata">

**Author:** ![steffina\_divya](https://avatars.discourse-cdn.com/v4/letter/s/aca169/32.png) [@steffina\_divya](https://community.wowza.com/u/steffina_divya)\
**Post date:** [December 7, 2012, 6:05am UTC](https://community.wowza.com/t/module-class-not-found-or-could-not-be-loaded-warning-in-wowza-3-1-2/38550/12 "2012-12-07T06:05:16Z")

</div>

Thank you Richard,

But Its not only for that module, the same error came for another module also. I don’t know what i did wrong.I builded and exported the jar file from wowza 3.1.2.

After putting jar file in lib folder i restarted wowza. Still Same error remains. Is anything wrong with jar file, the way i builded or exported from wowza ide ?

Please kindly help me. If you need more details kindly let me know. I want to solve this immediately.

Thank you.

---

<div class="post-metadata">

**Author:** ![steffina\_divya](https://avatars.discourse-cdn.com/v4/letter/s/aca169/32.png) [@steffina\_divya](https://community.wowza.com/u/steffina_divya)\
**Post date:** [December 8, 2012, 12:12am UTC](https://community.wowza.com/t/module-class-not-found-or-could-not-be-loaded-warning-in-wowza-3-1-2/38550/13 "2012-12-08T00:12:20Z")

</div>

> Is the IDE writing to an old Wowza location /lib folder?
> 
> Also, you don’t need to build this one in the IDE, it is included in the pre-built module collection
> 
> [Module examples for Wowza Streaming Engine](https://www.wowza.com/docs/utility-modules-for-wowza-streaming-engine-media-server-software)
> 
> Richard

Thank you Richard,

(WowzaIDE 2) writing jar file to my new wowza 3.1.2 lib folder. As you said i don’t need to build ModuleOnConnectAuthenticate2 in IDE, Since its included in module collection jar. So I can solve this problem only for ModuleOnConnectAuthenticate2. But I want to build many other modules in IDE, which are not included in module-collection jar…The Problem comes for another modules also… Will uninstallation and install it again solve this problem?

---

<div class="post-metadata">

**Author:** ![Namhun\_Song](https://avatars.discourse-cdn.com/v4/letter/n/d2c977/32.png) [@Namhun\_Song](https://community.wowza.com/u/Namhun_Song)\
**Post date:** [December 17, 2013, 3:33pm UTC](https://community.wowza.com/t/module-class-not-found-or-could-not-be-loaded-warning-in-wowza-3-1-2/38550/14 "2013-12-17T15:33:36Z")

</div>

> Thanks Richard,
> 
> Yes, It solved after correcting the module class path to com.lakesidetechnical.AVChat
> 
> Eventhough this type of error comes for my other application ModuleOnConnectAuthenticate2. I put two jar files including ModuleOnConnectAuthenticate2.jar and wms-plugin-collection.jar and my module is:
> 
> ModuleOnConnectAuthenticate2
> 
> ModuleOnConnectAuthenticate2
> 
> com.wowza.wms.plugin.collection.module.ModuleOnConnectAuthenticate2
> 
> I also restart wowza after putting these jars…Please reply me what i did wrong…

FYI,

I had a same issue.

When I tested the module on my windows test server, it was ok, but when I tested in linux test server, “Module class not found…” error occurs.

In my case, the problem was not for Wowza server, it was the problem of ftp which I used to transfer module file to the linux test server.

I didn’t recognize that the default mode of ftp client in linux is ascii. With ascii mode, .jar file could not be transferred properly in my case.

After changing to the binary mode, I could not see the errors.

I hope this will help someone.

Take care

Regards

---

<div class="post-metadata">

**Author:** ![Tasos\_Mourikis](https://avatars.discourse-cdn.com/v4/letter/t/5f9b8f/32.png) [@Tasos\_Mourikis](https://community.wowza.com/u/Tasos_Mourikis)\
**Post date:** [February 1, 2018, 9:32pm UTC](https://community.wowza.com/t/module-class-not-found-or-could-not-be-loaded-warning-in-wowza-3-1-2/38550/15 "2018-02-01T21:32:25Z")

</div>

Thanks man! you saved my life! binary transfer mode was the solution for me!
