java.lang.IllegalArgumentException: Path for project must have only one segment.

Spring JIRA | Imported | 1 decade ago
  1. 0

    I get a popup containing: {code} Errors during build. Errors running builder "Spring Project Builder" on project bbt.liquidityarbitrage. An error occurred while traversing resources. {code} The entry in the log contains: {code} java.lang.IllegalArgumentException: Path for project must have only one segment. at org.eclipse.core.internal.utils.Assert.isLegal(Assert.java:60) at org.eclipse.core.internal.resources.WorkspaceRoot.getProject(WorkspaceRoot.java:134) at org.springframework.ide.eclipse.beans.core.internal.model.BeansModel.getProject(BeansModel.java:125) at org.springframework.ide.eclipse.beans.core.internal.model.BeansModelUtils.getConfig(BeansModelUtils.java:55) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfigValidator.validate(BeansConfigValidator.java:96) at org.springframework.ide.eclipse.beans.core.internal.project.BeansProjectValidator.build(BeansProjectValidator.java:69) at org.springframework.ide.eclipse.core.internal.project.SpringProjectBuilder.build(SpringProjectBuilder.java:154) at org.springframework.ide.eclipse.core.internal.project.SpringProjectBuilder.access####0(SpringProjectBuilder.java:150) at org.springframework.ide.eclipse.core.internal.project.SpringProjectBuilder####Visitor.visit(SpringProjectBuilder.java:109) at org.eclipse.core.internal.resources.Resource####2.visit(Resource.java:103) at org.eclipse.core.internal.resources.Resource####1.visitElement(Resource.java:50) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:81) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) at org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java:126) at org.eclipse.core.internal.resources.Resource.accept(Resource.java:60) at org.eclipse.core.internal.resources.Resource.accept(Resource.java:101) at org.eclipse.core.internal.resources.Resource.accept(Resource.java:80) at org.springframework.ide.eclipse.core.internal.project.SpringProjectBuilder.build(SpringProjectBuilder.java:91) at org.eclipse.core.internal.events.BuildManager####2.run(BuildManager.java:585) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1029) at org.eclipse.core.runtime.Platform.run(Platform.java:775) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:168) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:202) at org.eclipse.core.internal.events.BuildManager####1.run(BuildManager.java:231) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1029) at org.eclipse.core.runtime.Platform.run(Platform.java:775) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:234) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:253) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:282) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:139) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:200) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:67) {code} The error only occurs with spring-nature enabled -- remove the spring-nature and the error is not issued. Barry Kaplan

    Spring JIRA | 1 decade ago | Imported
    java.lang.IllegalArgumentException: Path for project must have only one segment.
  2. 0

    I get a popup containing: {code} Errors during build. Errors running builder "Spring Project Builder" on project bbt.liquidityarbitrage. An error occurred while traversing resources. {code} The entry in the log contains: {code} java.lang.IllegalArgumentException: Path for project must have only one segment. at org.eclipse.core.internal.utils.Assert.isLegal(Assert.java:60) at org.eclipse.core.internal.resources.WorkspaceRoot.getProject(WorkspaceRoot.java:134) at org.springframework.ide.eclipse.beans.core.internal.model.BeansModel.getProject(BeansModel.java:125) at org.springframework.ide.eclipse.beans.core.internal.model.BeansModelUtils.getConfig(BeansModelUtils.java:55) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfigValidator.validate(BeansConfigValidator.java:96) at org.springframework.ide.eclipse.beans.core.internal.project.BeansProjectValidator.build(BeansProjectValidator.java:69) at org.springframework.ide.eclipse.core.internal.project.SpringProjectBuilder.build(SpringProjectBuilder.java:154) at org.springframework.ide.eclipse.core.internal.project.SpringProjectBuilder.access####0(SpringProjectBuilder.java:150) at org.springframework.ide.eclipse.core.internal.project.SpringProjectBuilder####Visitor.visit(SpringProjectBuilder.java:109) at org.eclipse.core.internal.resources.Resource####2.visit(Resource.java:103) at org.eclipse.core.internal.resources.Resource####1.visitElement(Resource.java:50) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:81) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) at org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java:126) at org.eclipse.core.internal.resources.Resource.accept(Resource.java:60) at org.eclipse.core.internal.resources.Resource.accept(Resource.java:101) at org.eclipse.core.internal.resources.Resource.accept(Resource.java:80) at org.springframework.ide.eclipse.core.internal.project.SpringProjectBuilder.build(SpringProjectBuilder.java:91) at org.eclipse.core.internal.events.BuildManager####2.run(BuildManager.java:585) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1029) at org.eclipse.core.runtime.Platform.run(Platform.java:775) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:168) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:202) at org.eclipse.core.internal.events.BuildManager####1.run(BuildManager.java:231) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1029) at org.eclipse.core.runtime.Platform.run(Platform.java:775) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:234) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:253) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:282) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:139) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:200) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:67) {code} The error only occurs with spring-nature enabled -- remove the spring-nature and the error is not issued. Barry Kaplan

    Spring JIRA | 1 decade ago | Imported
    java.lang.IllegalArgumentException: Path for project must have only one segment.
  3. 0

    Canceling the ear project wizard launched from the ear selection panel throws exception

    Eclipse Bugzilla | 1 decade ago | konstantin.komissarchik
    java.lang.IllegalArgumentException: Path for project must have only one segment.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    IllegalArgumentException when deleting ear name

    Eclipse Bugzilla | 1 decade ago | tbashor
    java.lang.IllegalArgumentException: Path for project must have only one segment.
  6. 0

    新建antx项目的问题 - EarlyWind的专栏 - 博客频道 - CSDN.NET

    csdn.net | 4 months ago
    java.lang.IllegalArgumentException: Path for project must have only one segment.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Path for project must have only one segment.

      at org.eclipse.core.internal.utils.Assert.isLegal()
    2. Core Resource Management
      WorkspaceRoot.getProject
      1. org.eclipse.core.internal.utils.Assert.isLegal(Assert.java:60)
      2. org.eclipse.core.internal.resources.WorkspaceRoot.getProject(WorkspaceRoot.java:134)
      2 frames
    3. org.springframework.ide
      SpringProjectBuilder.build
      1. org.springframework.ide.eclipse.beans.core.internal.model.BeansModel.getProject(BeansModel.java:125)
      2. org.springframework.ide.eclipse.beans.core.internal.model.BeansModelUtils.getConfig(BeansModelUtils.java:55)
      3. org.springframework.ide.eclipse.beans.core.internal.model.BeansConfigValidator.validate(BeansConfigValidator.java:96)
      4. org.springframework.ide.eclipse.beans.core.internal.project.BeansProjectValidator.build(BeansProjectValidator.java:69)
      5. org.springframework.ide.eclipse.core.internal.project.SpringProjectBuilder.build(SpringProjectBuilder.java:154)
      5 frames