添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
深沉的莴苣  ·  K8S PVC删除恢复-CSDN博客·  4 月前    · 
失恋的茶壶  ·  python - Error: ...·  2 年前    · 
  • Download
  • Getting Started
  • Members
  • Projects
  • Bugzilla – Bug 558286 org.eclipse.buildship.core.internal.GradlePluginsRuntimeException: Can’t read root project location for project located at -- Last modified: 2019-12-17 08:14:18 EST
    we updated eclipse version to 4.13 and gradle version 3.x . while creating project in our application , we are getting org.eclipse.buildship.core.internal.GradlePluginsRuntimeException: Can’t read root project location for project located at —(workspace)-----
    !MESSAGE SynchronizingBuildScriptUpdateListener failed
    anybody having idea regarding this ?
    I'm assuming you used an older Buildship version before. I remember we changed the project properties stored in the `${projectDir}/.settings/org.eclipse.buildship.core.prefs` files and new Buildship version complains about missing entries. You can fix this problem by using the `Import Gradle project` wizard to reimport your project into the Eclipse workspace.  I'd even delete the `.prefs` file, just to be sure you have clean preferences stored.
    (In reply to Donat Csikos from comment #1)
    > I'm assuming you used an older Buildship version before. I remember we
    > changed the project properties stored in the
    > `${projectDir}/.settings/org.eclipse.buildship.core.prefs` files and new
    > Buildship version complains about missing entries. You can fix this problem
    > by using the `Import Gradle project` wizard to reimport your project into
    > the Eclipse workspace.  I'd even delete the `.prefs` file, just to be sure
    > you have clean preferences stored.
    There are no new projects. I have cleaned workspace . While creating new project, i am getting like that
    we are using update site for gradle buildship in target platform is below
    http://download.eclipse.org/buildship/updates/e411/releases/3.x"
    and eclipse version :
    Eclipse IDE for Enterprise Java Developers.
    Version: 2019-09 R (4.13.0)
    Build id: 20190917-1200
    strack trace:
    !ENTRY org.eclipse.buildship.core 2 0 2019-12-16 14:40:49.807!ENTRY org.eclipse.buildship.core 2 0 2019-12-16 14:40:49.807!MESSAGE Failed to detect project changes!STACK 1org.eclipse.core.runtime.CoreException: SynchronizingBuildScriptUpdateListener failed at org.eclipse.buildship.core.internal.workspace.SynchronizingBuildScriptUpdateListener$1.visit(SynchronizingBuildScriptUpdateListener.java:74) at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:67) at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:77) at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:51) at org.eclipse.buildship.core.internal.workspace.SynchronizingBuildScriptUpdateListener.visitDelta(SynchronizingBuildScriptUpdateListener.java:67) at org.eclipse.buildship.core.internal.workspace.SynchronizingBuildScriptUpdateListener.resourceChanged(SynchronizingBuildScriptUpdateListener.java:54) at org.eclipse.core.internal.events.NotificationManager$1.run(NotificationManager.java:305) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45) at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:295) at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:158) at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:379) at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1502) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2308) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2322) at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:5838) at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:108) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)Caused by: 
    org.eclipse.buildship.core.internal.GradlePluginsRuntimeException: Can't read root project location for project located at D:\runtime-com.spacetimeinsight.sistudio.product2\tttt at org.eclipse.buildship.core.internal.configuration.BuildConfigurationPersistence.readPathToRoot(BuildConfigurationPersistence.java:89) at org.eclipse.buildship.core.internal.configuration.DefaultConfigurationManager.loadProjectConfiguration(DefaultConfigurationManager.java:113) at org.eclipse.buildship.core.internal.workspace.SynchronizingBuildScriptUpdateListener.isEnabledInPreferences(SynchronizingBuildScriptUpdateListener.java:62) at org.eclipse.buildship.core.internal.workspace.SynchronizingBuildScriptUpdateListener.doVisitDelta(SynchronizingBuildScriptUpdateListener.java:84) at org.eclipse.buildship.core.internal.workspace.SynchronizingBuildScriptUpdateListener.access$000(SynchronizingBuildScriptUpdateListener.java:43) at org.eclipse.buildship.core.internal.workspace.SynchronizingBuildScriptUpdateListener$1.visit(SynchronizingBuildScriptUpdateListener.java:72) ... 16 more!SUBENTRY 1 org.eclipse.buildship.core 2 0 2019-12-16 14:40:49.808!MESSAGE SynchronizingBuildScriptUpdateListener failed!STACK 0org.eclipse.buildship.core.internal.GradlePluginsRuntimeException: Can't read root project location for project located at D:\runtime-com.spacetimeinsight.sistudio.product2\tttt at org.eclipse.buildship.core.internal.configuration.BuildConfigurationPersistence.readPathToRoot(BuildConfigurationPersistence.java:89) at org.eclipse.buildship.core.internal.configuration.DefaultConfigurationManager.loadProjectConfiguration(DefaultConfigurationManager.java:113) at org.eclipse.buildship.core.internal.workspace.SynchronizingBuildScriptUpdateListener.isEnabledInPreferences(SynchronizingBuildScriptUpdateListener.java:62) at org.eclipse.buildship.core.internal.workspace.SynchronizingBuildScriptUpdateListener.doVisitDelta(SynchronizingBuildScriptUpdateListener.java:84) at org.eclipse.buildship.core.internal.workspace.SynchronizingBuildScriptUpdateListener.access$000(SynchronizingBuildScriptUpdateListener.java:43) at org.eclipse.buildship.core.internal.workspace.SynchronizingBuildScriptUpdateListener$1.visit(SynchronizingBuildScriptUpdateListener.java:72) at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:67) at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:77) at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:51) at org.eclipse.buildship.core.internal.workspace.SynchronizingBuildScriptUpdateListener.visitDelta(SynchronizingBuildScriptUpdateListener.java:67) at org.eclipse.buildship.core.internal.workspace.SynchronizingBuildScriptUpdateListener.resourceChanged(SynchronizingBuildScriptUpdateListener.java:54) at org.eclipse.core.internal.events.NotificationManager$1.run(NotificationManager.java:305) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45) at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:295) at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:158) at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:379) at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1502) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2308) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2322) at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:5838) at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:108) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
    Buildship complains that the `D:\runtime-com.spacetimeinsight.sistudio.product2\tttt\.settings\org.eclipse.buildship.core.prefs` does not exist. How did you create it? With the following steps it should work:
    - delete D:\runtime-com.spacetimeinsight.sistudio.product2\tttt from the disk
    - define `tttt` in your settings file
    - create a the tttt diretory
    - Right-click on the root project then select  Gradle > Refresh Gradle Project
    After the sync finishes the new project should appear in the workspace.
    (In reply to Donat Csikos from comment #5)
    > Buildship complains that the
    > `D:\runtime-com.spacetimeinsight.sistudio.product2\tttt\.settings\org.
    > eclipse.buildship.core.prefs` does not exist. How did you create it? With
    > the following steps it should work:
    > - delete D:\runtime-com.spacetimeinsight.sistudio.product2\tttt from the disk
    > - define `tttt` in your settings file
    > - create a the tttt diretory
    > - Right-click on the root project then select  Gradle > Refresh Gradle
    > Project
    > After the sync finishes the new project should appear in the workspace.
    What we are doing is , we are setting target platform for our product with the above configurations. while creating our new component/project at runtime, we are adding gradle nature automatically. The exception is coming at runtime, while creating project in my product/Application. 
    D:\runtime-com.spacetimeinsight.sistudio.product2\tttt   
    this tttt  is created at runtime . It is created in my product but in the console that buildship exception is coming. My observations is that the gradle is not adding to the created one.
    we are not doing here anything manually to delete . so anyother workaround for this