# Jar conflict at Engine startup due to Google FireStore Dependency in Custom Module

**URL:** https://community.wowza.com/t/jar-conflict-at-engine-startup-due-to-google-firestore-dependency-in-custom-module/51349
**Category:** Wowza Streaming Engine
**Created:** [May 18, 2018, 11:30am UTC](https://community.wowza.com/t/jar-conflict-at-engine-startup-due-to-google-firestore-dependency-in-custom-module/51349 "2018-05-18T11:30:44Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Julen\_Sanchez](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@Julen\_Sanchez](https://community.wowza.com/u/Julen_Sanchez)
#### Post date: [May 18, 2018, 11:30am UTC](https://community.wowza.com/t/jar-conflict-at-engine-startup-due-to-google-firestore-dependency-in-custom-module/51349/1 "2018-05-18T11:30:44Z")

</div>

Hi,

I’m trying to develop a custom module that would write certain data into Google’s Firestore noSQL DB, but my local server won’t start because it looks like there is a conflict between 2 jars:

- wms-server.jar

- protobuf-java-3.5.1.jar

I’ve done this following instructions in these posts:

[http://stancalau.ro/building-wowza-gradle/](http://stancalau.ro/building-wowza-gradle/)

[https://firebase.google.com/docs/firestore/quickstart](https://firebase.google.com/docs/firestore/quickstart)

I managed to test an example in my 4.7.1 installation, but soon after it got corrupted and after uninstalling it, I started with a fresh 4.7.5 installation in a different location.

Anytime I load the dependency, and I’ve even tried putting it in a different subfolder and making a jar jar, this error is shown in the command line

```auto
D:\Wowza Media Systems\Wowza Streaming Engine 4.7.5\bin>startup.bat
Picked up _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true
Picked up _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true
Listening for transport dt_socket at address: 2882
Exception in thread "main" java.lang.IllegalAccessError: tried to access class com.google.protobuf.CodedInputStream$1 from class com.wowza.wms.server.Server
        at com.wowza.wms.server.Server.<clinit>(Server.java:849)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at com.wowza.wms.bootstrap.Bootstrap.startServer(Bootstrap.java:653)
        at com.wowza.wms.bootstrap.Bootstrap.main(Bootstrap.java:70)

```

This is the closest post I’ve found about this topic, but I’m understanding that the problem is not in my jar…  
[http://community.wowza.com/community/questions/2052/how-to-use-newer-external-libraries-in-wowza-proje.html](http://community.wowza.com/community/questions/2052/how-to-use-newer-external-libraries-in-wowza-proje.html)

These are my settings:

Windows 10

WME 4.7.5

Java 1.8.0\_171

Do you have any suggestions? Any help would be appreciated.

Thanks in advance.

---

<div class="post-metadata">

### Author: ![artem\_sh](https://avatars.discourse-cdn.com/v4/letter/a/8dc957/32.png) [@artem\_sh](https://community.wowza.com/u/artem_sh)
#### Post date: [August 19, 2019, 11:03am UTC](https://community.wowza.com/t/jar-conflict-at-engine-startup-due-to-google-firestore-dependency-in-custom-module/51349/2 "2019-08-19T11:03:35Z")

</div>

Do you have a solution or an alternative?

I have the same error, only with a different library
