java.lang.IllegalArgumentException: Could not find a grails install for 'P/site'Please configure an install from the Grails preferences page.

SpringSource Issue Tracker | Andy Clement | 5 years ago
  1. 0

    When doing this I did get told to go and configure one (but the formatting wasnt great, no newline after the project name and the P/ is a bit confusing for those not intimate with eclipse). java.lang.IllegalArgumentException: Could not find a grails install for 'P/site'Please configure an install from the Grails preferences page. at com.springsource.sts.grails.commands.GrailsCommandUtils.deleteOutOfSynchPlugins(GrailsCommandUtils.java:392) at com.springsource.sts.grails.commands.GrailsCommandUtils.refreshDependencies(GrailsCommandUtils.java:324) at com.springsource.sts.grails.core.internal.classpath.GrailsClasspathContainerUpdateJob.runInWorkspace(GrailsClasspathContainerUpdateJob.java:77) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) but this also appeared in the log: java.lang.NullPointerException at com.springsource.sts.grails.core.model.GrailsVersion.compareNoQualifier(GrailsVersion.java:116) at com.springsource.sts.grails.core.model.GrailsVersion.compareTo(GrailsVersion.java:89) at com.springsource.sts.grails.ui.internal.importfixes.GrailsProjectVersionFixer$ProjectChangeHandler.handleMismatchingVersions(GrailsProjectVersionFixer.java:329) at com.springsource.sts.grails.ui.internal.importfixes.GrailsProjectVersionFixer$ProjectChangeHandler.handleUnknownEclipseVersion(GrailsProjectVersionFixer.java:354) at com.springsource.sts.grails.ui.internal.importfixes.GrailsProjectVersionFixer$ProjectChangeHandler.fix(GrailsProjectVersionFixer.java:271) at com.springsource.sts.grails.ui.internal.importfixes.GrailsProjectVersionFixer$ProjectChangeHandler.projectsChanged(GrailsProjectVersionFixer.java:244) at com.springsource.sts.grails.ui.internal.importfixes.GrailsProjectVersionFixer$ProjectChangeHandler.access$1(GrailsProjectVersionFixer.java:230) at com.springsource.sts.grails.ui.internal.importfixes.GrailsProjectVersionFixer$1.resourceChanged(GrailsProjectVersionFixer.java:99) at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:291) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285) at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149) at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:327) at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1181) at org.eclipse.core.internal.resources.Resource.refreshLocal(Resource.java:1676) at org.eclipse.core.internal.refresh.RefreshJob.runInWorkspace(RefreshJob.java:166) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

    SpringSource Issue Tracker | 5 years ago | Andy Clement
    java.lang.IllegalArgumentException: Could not find a grails install for 'P/site'Please configure an install from the Grails preferences page.
  2. 0

    When doing this I did get told to go and configure one (but the formatting wasnt great, no newline after the project name and the P/ is a bit confusing for those not intimate with eclipse). java.lang.IllegalArgumentException: Could not find a grails install for 'P/site'Please configure an install from the Grails preferences page. at com.springsource.sts.grails.commands.GrailsCommandUtils.deleteOutOfSynchPlugins(GrailsCommandUtils.java:392) at com.springsource.sts.grails.commands.GrailsCommandUtils.refreshDependencies(GrailsCommandUtils.java:324) at com.springsource.sts.grails.core.internal.classpath.GrailsClasspathContainerUpdateJob.runInWorkspace(GrailsClasspathContainerUpdateJob.java:77) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) but this also appeared in the log: java.lang.NullPointerException at com.springsource.sts.grails.core.model.GrailsVersion.compareNoQualifier(GrailsVersion.java:116) at com.springsource.sts.grails.core.model.GrailsVersion.compareTo(GrailsVersion.java:89) at com.springsource.sts.grails.ui.internal.importfixes.GrailsProjectVersionFixer$ProjectChangeHandler.handleMismatchingVersions(GrailsProjectVersionFixer.java:329) at com.springsource.sts.grails.ui.internal.importfixes.GrailsProjectVersionFixer$ProjectChangeHandler.handleUnknownEclipseVersion(GrailsProjectVersionFixer.java:354) at com.springsource.sts.grails.ui.internal.importfixes.GrailsProjectVersionFixer$ProjectChangeHandler.fix(GrailsProjectVersionFixer.java:271) at com.springsource.sts.grails.ui.internal.importfixes.GrailsProjectVersionFixer$ProjectChangeHandler.projectsChanged(GrailsProjectVersionFixer.java:244) at com.springsource.sts.grails.ui.internal.importfixes.GrailsProjectVersionFixer$ProjectChangeHandler.access$1(GrailsProjectVersionFixer.java:230) at com.springsource.sts.grails.ui.internal.importfixes.GrailsProjectVersionFixer$1.resourceChanged(GrailsProjectVersionFixer.java:99) at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:291) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285) at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149) at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:327) at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1181) at org.eclipse.core.internal.resources.Resource.refreshLocal(Resource.java:1676) at org.eclipse.core.internal.refresh.RefreshJob.runInWorkspace(RefreshJob.java:166) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

    SpringSource Issue Tracker | 5 years ago | Andy Clement
    java.lang.IllegalArgumentException: Could not find a grails install for 'P/site'Please configure an install from the Grails preferences page.
  3. 0

    Error deploying Grails Portlet on Tomcat7 - Forums | Liferay

    liferay.com | 1 year ago
    java.lang.IllegalArgumentException: Grails requires a parent ApplicationContext, is the /WEB-INF/applicationContext.xml file missing?
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error deploying Grails Portlet on Tomcat7

    Stack Overflow | 3 years ago | Feras Odeh
    java.lang.IllegalArgumentException: Grails requires a parent ApplicationContext, is the /WEB-INF/applicationContext.xml file missing?
  6. 0

    while doing the initial build of a maven2 project that is located in a local svn repository (file:///....) I encountered following error: started Checking out a fresh workspace because /home/devel/hudson_home/jobs/XXX/workspace/trunk doesn't exist Checking out file:///scm/svn/products/XXX/trunk <snip svn output> U At revision 281 no revision recorded for file:///scm/svn/products/XXX/trunk in the previous build Parsing POMs ERROR: Processing failed due to a bug in the code. Please report thus to users@hudson.dev.java.net java.lang.IllegalArgumentException: When not aligning with a user install you must specify a local repository location using the setLocalRepositoryDirectory( File ) method. at hudson.maven.MavenEmbedder.createMavenSettings(MavenEmbedder.java:708) at hudson.maven.MavenEmbedder.start(MavenEmbedder.java:637) at hudson.maven.MavenUtil.createEmbedder(MavenUtil.java:36) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:206) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:175) at hudson.FilePath.act(FilePath.java:232) at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:118) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:119) at hudson.model.Run.run(Run.java:544) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:107) at hudson.model.Executor.run(Executor.java:61) FATAL: When not aligning with a user install you must specify a local repository location using the setLocalRepositoryDirectory( File ) method. java.lang.IllegalArgumentException: When not aligning with a user install you must specify a local repository location using the setLocalRepositoryDirectory( File ) method. at hudson.maven.MavenEmbedder.createMavenSettings(MavenEmbedder.java:708) at hudson.maven.MavenEmbedder.start(MavenEmbedder.java:637) at hudson.maven.MavenUtil.createEmbedder(MavenUtil.java:36) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:206) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:175) at hudson.FilePath.act(FilePath.java:232) at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:118) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:119) at hudson.model.Run.run(Run.java:544) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:107) at hudson.model.Executor.run(Executor.java:61)

    Jenkins JIRA | 10 years ago | dhouthoo
    java.lang.IllegalArgumentException: When not aligning with a user install you must specify a local repository location using the setLocalRepositoryDirectory( File ) method.

    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

      Could not find a grails install for 'P/site'Please configure an install from the Grails preferences page.

      at com.springsource.sts.grails.commands.GrailsCommandUtils.deleteOutOfSynchPlugins()
    2. com.springsource.sts
      GrailsClasspathContainerUpdateJob.runInWorkspace
      1. com.springsource.sts.grails.commands.GrailsCommandUtils.deleteOutOfSynchPlugins(GrailsCommandUtils.java:392)
      2. com.springsource.sts.grails.commands.GrailsCommandUtils.refreshDependencies(GrailsCommandUtils.java:324)
      3. com.springsource.sts.grails.core.internal.classpath.GrailsClasspathContainerUpdateJob.runInWorkspace(GrailsClasspathContainerUpdateJob.java:77)
      3 frames
    3. Core Resource Management
      InternalWorkspaceJob.run
      1. org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
      1 frame
    4. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      1 frame