Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Compilation Error - class com.atlassian.confluence.api.model.content.id.ContentId not found

jaggayya_allamsetty
Contributor
June 24, 2019

Trying to compile the existing Plugin code using SDK 8.0.2 as part confluence version 6.15.2 upgrade. Getting below error not been able to find the api and could you please help on this.

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project AddDraftLabelAction: Compilation failure

[ERROR] /C:/Users/502075105/git/ExportWordPlugin/src/main/java/com/atlassian/plugins/tutorial/AddDraftLabelAction.java:[124,80] cannot access com.atlassian.confluence.api.model.content.id.ContentId

[ERROR]   class file for com.atlassian.confluence.api.model.content.id.ContentId not found

[ERROR]

[ERROR] -> [Help 1]

org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project AddDraftLabelAction: Compilation failure

/C:/Users/502075105/git/ExportWordPlugin/src/main/java/com/atlassian/plugins/tutorial/AddDraftLabelAction.java:[124,80] cannot access com.atlassian.confluence.api.model.content.id.ContentId

  class file for com.atlassian.confluence.api.model.content.id.ContentId not found

 

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213)

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)

    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events