Using Grails Command to uninstall plugin after having tried to uninstall via Plugin Manger 1.Ran the Grails command, uninstall-plugin db-util after having tried to remove it via Plugin Manager and got the following error in console:

tenuousdrunkshipInternet and Web Development

Nov 12, 2013 (3 years and 10 months ago)

80 views

Using Grails Command to uninstall plugin after having tried to uninstall via Plugin
Manger


1.

Ran the Grails command, uninstall
-
plugin db
-
util after having tried to remove it
via Plugin Manager and got the following error in console:


Welcome to Grails 1.3.6

-

http://grails.org/

Licensed under Apache Standard License 2.0

Grails home is set to: C:
\
springsource
\
grails
-
1.3.6
\


Base Directory: C:
\
STS252workspace
\
PluginTest

Resolving dependencies...

Dependencies resolved in 3078ms.

Running script C:
\
springsource
\
g
rails
-
1.3.6
\
scripts
\
UninstallPlugin.groovy

Cannot find plugin descriptor for path 'C:
\
Documents and Settings
\
Scott
Doyle
\
.grails
\
1.3.6
\
projects
\
PluginTest
\
plugins
\
db
-
util
-
0.4'.

Environment set to development


[delete] Deleting directory C:
\
STS252workspac
e
\
PluginTest
\
web
-
app
\
WEB
-
INF
\
classes


[delete] Deleting directory C:
\
Documents and Settings
\
Scott
Doyle
\
.grails
\
1.3.6
\
projects
\
PluginTest
\
resources

No plugin [db
-
util] installed, cannot uninstall



2.

Then when I try to run the application it will not start

up and has the following
error in the console:


Welcome to Grails 1.3.6
-

http://grails.org/

Licensed under Apache Standard License 2.0

Grails home is set to: C:
\
springsource
\
grails
-
1.3.6
\


Base Directory: C:
\
STS252workspace
\
PluginTest

Resolving dependenc
ies...

Dependencies resolved in 2797ms.

Error executing script RunApp: Cannot find plugin descriptor in plugin
directory 'C:
\
Documents and Settings
\
Scott
Doyle
\
.grails
\
1.3.6
\
projects
\
PluginTest
\
plugins
\
db
-
util
-
0.4'.

java.lang.RuntimeException
: Cannot find
plugin descriptor in plugin
directory 'C:
\
Documents and Settings
\
Scott
Doyle
\
.grails
\
1.3.6
\
projects
\
PluginTest
\
plugins
\
db
-
util
-
0.4'.


at
org.codehaus.groovy.grails.cli.GrailsScriptRunner.getPluginName(
GrailsS
criptRunner.java:1068
)


at
org.codehaus.groovy.g
rails.cli.GrailsScriptRunner.addPluginLibs(
GrailsS
criptRunner.java:934
)


at
org.codehaus.groovy.grails.cli.GrailsScriptRunner.getClassLoaderUrls(
Gr
ailsScriptRunner.java:870
)


at
org.codehaus.groovy.grails.cli.GrailsScriptRunner.callPluginOrGrailsScr
ipt(
Gra
ilsScriptRunner.java:416
)


at
org.codehaus.groovy.grails.cli.GrailsScriptRunner.executeCommand(
Grails
ScriptRunner.java:310
)


at
org.codehaus.groovy.grails.cli.GrailsScriptRunner.main(
GrailsScriptRunn
er.java:135
)


at sun.reflect.NativeMethodAccessorImpl.inv
oke0(
Native Method
)


at
sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.ja
va:39
)


at
sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccesso
rImpl.java:25
)


at java.lang.reflect.Method.invoke(
Method.java:597
)


at
org.cod
ehaus.groovy.grails.cli.support.GrailsStarter.rootLoader(
GrailsS
tarter.java:234
)


at
org.codehaus.groovy.grails.cli.support.GrailsStarter.main(
GrailsStarter
.java:262
)

Error executing script RunApp: Cannot find plugin descriptor in plugin
directory 'C:
\
Docu
ments and Settings
\
Scott
Doyle
\
.grails
\
1.3.6
\
projects
\
PluginTest
\
plugins
\
db
-
util
-
0.4'.


3.

The Plugin Manger still identifies the plugin as being installed and it is still
displayed in the STS Project Explorer.