# Running OpenELIS Global2 using docker compose With locally compiled/built Artifacts

**URL:** <https://talk.openelis-global.org/t/running-openelis-global2-using-docker-compose-with-locally-compiled-built-artifacts/1267>\
**Category:** Development\
**Created:** [March 6, 2025, 11:03am UTC](https://talk.openelis-global.org/t/running-openelis-global2-using-docker-compose-with-locally-compiled-built-artifacts/1267 "2025-03-06T11:03:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kriti\_Mandal](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/kriti_mandal/32/787_2.png) [@Kriti\_Mandal](https://talk.openelis-global.org/u/Kriti_Mandal)\
**Post date:** [March 6, 2025, 11:03am UTC](https://talk.openelis-global.org/t/running-openelis-global2-using-docker-compose-with-locally-compiled-built-artifacts/1267/1 "2025-03-06T11:03:38Z")

</div>

I made some changes in the backend code and followed the following process.

```auto
cd OpenELIS-Global-2
git submodule update --init --recursive
cd dataexport
mvn clean install -DskipTests

```

I get the error here Compiling 12 source files to /home/docker/OpenELIS-Global-2/dataexport/dataexport-core/target/classes  
[INFO] -------------------------------------------------------------  
[ERROR] COMPILATION ERROR :  
[INFO] -------------------------------------------------------------  
[ERROR] /home/docker/OpenELIS-Global-2/dataexport/dataexport-core/src/main/java/org/itech/fhir/dataexport/core/dao/DataExportTaskDAO.java:[6,47] cannot access org.springframework.data.jpa.repository.Query  
bad class file: /home/docker/.m2/repository/org/springframework/data/spring-data-jpa/3.4.2/spring-data-jpa-3.4.2.jar(/org/springframework/data/jpa/repository/Query.class)  
class file has wrong version 61.0, should be 55.0  
Please remove or make sure it appears in the correct subdirectory of the classpath.

---

<div class="post-metadata">

**Author:** ![tasksolver](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/tasksolver/32/1067_2.png) [@tasksolver](https://talk.openelis-global.org/u/tasksolver)\
**Post date:** [March 6, 2025, 12:32pm UTC](https://talk.openelis-global.org/t/running-openelis-global2-using-docker-compose-with-locally-compiled-built-artifacts/1267/2 "2025-03-06T12:32:17Z")

</div>

thanks @Kriti_Mandal , after making changes to backend, run `mvn spotless:apply`, you need to be on the project directory according to this [here](https://github.com/DIGI-UW/OpenELIS-Global-2)
