My pom.xml dependency:
<repository>
<id>dynmap-repo</id>
<url>https://repo.mikeprimm.com/</url>
</repository>
<dependency>
<groupId>us.dynmap</groupId>
<artifactId>dynmap-api</artifactId>
<version>3.6</version>
<scope>provided</scope>
</dependency>
How i am trying to get the API
Plugin dynmap = pm.getPlugin("dynmap");
if (dynmap != null && dynmap.isEnabled()) {
DynmapAPI dynmapAPI = (DynmapAPI) dynmap;
//more operations
}
Some days a go it complied just fine however now I am getting a build error: cannot access org.dynmap.DynmapCommonAPI. What can I do to fix the problem? It looks like DynmapAPI extends that class, however said class maybe isn't in the dependency.