# Error with nexus-staging-maven-plugin

**URL:** https://community.sonatype.com/t/error-with-nexus-staging-maven-plugin/11297
**Category:** Central Repository
**Created:** [September 13, 2023, 6:09pm UTC](https://community.sonatype.com/t/error-with-nexus-staging-maven-plugin/11297 "2023-09-13T18:09:26Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ryber](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/ryber/32/2823_2.png) [@ryber](https://community.sonatype.com/u/ryber)
#### Post date: [September 13, 2023, 6:09pm UTC](https://community.sonatype.com/t/error-with-nexus-staging-maven-plugin/11297/1 "2023-09-13T18:09:26Z")

</div>

Hello, I am trying to deploy to Maven central with the nexus-staging-maven-plugin and I am getting this error

Java version: 11.0.18  
Maven: 3.9.2

```auto
[INFO] [ERROR] Failed to execute goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.13:deploy (injected-nexus-deploy) on project unirest-java-bom: Execution injected-nexus-deploy of goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.13:deploy failed: A message body reader for Java class com.sonatype.nexus.staging.api.dto.StagingProfileRepositoryDTO, and Java type class com.sonatype.nexus.staging.api.dto.StagingProfileRepositoryDTO, and MIME media type text/html was not found -> [Help 1]

```
