# Added external jar to application

**URL:** <https://community.wowza.com/t/added-external-jar-to-application/54094>\
**Category:** Wowza Streaming Engine\
**Tags:** wowza-streaming-server-java-api\
**Created:** [October 28, 2019, 3:15pm UTC](https://community.wowza.com/t/added-external-jar-to-application/54094 "2019-10-28T15:15:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vipul\_pandey](https://avatars.discourse-cdn.com/v4/letter/v/b487fb/32.png) [@vipul\_pandey](https://community.wowza.com/u/vipul_pandey)\
**Post date:** [October 28, 2019, 3:15pm UTC](https://community.wowza.com/t/added-external-jar-to-application/54094/1 "2019-10-28T15:15:29Z")

</div>

WARN server comment - loadModFunctions[5d73312581f91968179e823f/_definst_]: Module class not found or could not be loaded. Check [install-dir]/conf/5d73312581f91968179e823f/Application.xml to be sure all Modules/Module/Class paths are correct: name:BandwidthCalc class:com.wowza.rtmp.live.BandwidthCalc  
INFO server comment - MediaCasterStreamValidator.init[5d73312581f91968179e823f/_definst_]: Started  
INFO application app-start _definst_ 5d73312581f91968179e823f/_definst_

I have added a jar and its giving me this warning and Logs are generated to my module

public class BandwidthCalc extends ModuleBase { // Class name

Build.xml File

```auto
<?xml version="1.0"?><project name="BandwidthCalc" default="jar" basedir=".."><br> <br> <property name="wowza.lib.dir" value="/usr/local/WowzaStreamingEngine/lib"/><br> <property name="jar.filename" value="BandwidthCalc.jar"/><br> <property name="core.build.dir" value="bin"/><br> <target name="jar"><br> <jar jarfile="${wowza.lib.dir}/${jar.filename}"><br> <fileset dir="${core.build.dir}"/><br> </jar><br> </target><br></project>

```

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [October 28, 2019, 4:50pm UTC](https://community.wowza.com/t/added-external-jar-to-application/54094/2 "2019-10-28T16:50:31Z")

</div>

Looking into this for you…

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [October 28, 2019, 5:05pm UTC](https://community.wowza.com/t/added-external-jar-to-application/54094/3 "2019-10-28T17:05:42Z")

</div>

I would suggest @vipul pandey that you check the WSE lib folder to see if the file is actually there. If it is then it’s possibly a java version issue. If you run WSE from the command line then you may see a class version error.

Sometimes some of our users are trying to build their modules with java 10+ and then wondering why they won’t run on java 8. To remind you, our Engine currently runs on Java 8 and will be upgraded in a future release.

The error will look like this:

```auto
java.lang.UnsupportedClassVersionError: [class-name] has been compiled by a more recent version of the Java Runtime (class file version 54.0), this version of the Java Runtime only recognizes class file versions up to 52.0

```

`java.lang.UnsupportedClassVersionError` extends `java.lang.Error` so it won’t get caught by an Exception handler.

* * *

The fix will be to make sure eclipse is compiling against Java 8.
