-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
Affects Version/s: 3.3.1
-
Component/s: Core - Content REST APIs
When trying to build the REST API Documentation for Confluence 3.3.1 I received the following fun error messages.
error: Class has two properties of the same name "id"
this problem is related to the following location:
at com.atlassian.confluence.plugins.rest.entities.SearchResultEntity.getId(SearchResultEntity.java:18)
at com.atlassian.confluence.plugins.rest.entities.SearchResultEntity(SearchResultEntity.java:12)
at com.atlassian.confluence.plugins.rest.entities.ContentEntity(ContentEntity.java:21)
at com.atlassian.confluence.plugins.rest.entities.ContentEntityList.contents(ContentEntityList.java:26)
at com.atlassian.confluence.plugins.rest.entities.ContentEntityList(ContentEntityList.java:15)
at com.atlassian.confluence.plugins.rest.entities.SpaceEntity.rootPages(SpaceEntity.java:54)
at com.atlassian.confluence.plugins.rest.entities.SpaceEntity(SpaceEntity.java:21)
at com.atlassian.confluence.plugins.rest.entities.AttachmentEntity.space(AttachmentEntity.java:77)
at com.atlassian.confluence.plugins.rest.entities.AttachmentEntity(AttachmentEntity.java:16)
this problem is related to the following location:
at com.atlassian.confluence.plugins.rest.entities.SearchResultEntity.id(SearchResultEntity.java:16)
at com.atlassian.confluence.plugins.rest.entities.SearchResultEntity(SearchResultEntity.java:12)
at com.atlassian.confluence.plugins.rest.entities.ContentEntity(ContentEntity.java:21)
at com.atlassian.confluence.plugins.rest.entities.ContentEntityList.contents(ContentEntityList.java:26)
at com.atlassian.confluence.plugins.rest.entities.ContentEntityList(ContentEntityList.java:15)
at com.atlassian.confluence.plugins.rest.entities.SpaceEntity.rootPages(SpaceEntity.java:54)
at com.atlassian.confluence.plugins.rest.entities.SpaceEntity(SpaceEntity.java:21)
at com.atlassian.confluence.plugins.rest.entities.AttachmentEntity.space(AttachmentEntity.java:77)
at com.atlassian.confluence.plugins.rest.entities.AttachmentEntity(AttachmentEntity.java:16)
1 error
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] schema generation failed
[INFO] ------------------------------------------------------------------------
[INFO] Trace
schema generation failed
at com.sun.tools.jxc.AptBasedTask.compile(AptBasedTask.java:110)
at com.sun.tools.jxc.maven2.SchemaGenAdapter.execute(SchemaGenAdapter.java:111)
at com.sun.tools.jxc.maven2.SchemaGenMojo.execute(SchemaGenMojo.java:161)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)