Quantcast

Error Failed to install plugin [database-migration-1.1]. Plugin has missing JAR dependencies.

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Error Failed to install plugin [database-migration-1.1]. Plugin has missing JAR dependencies.

chopo
Hello,

I have recently started learning Grails on my work computer which is behind a proxy - this may be exasperating the problem

I have installed Grails 2.1.0.

If I run the following commands:
grails create-app test-app [this works]
cd test-app
grails run-app

I originally encountered the following error:
Failed to install plugin [hibernate 2.0.0]. Plugin has missing JAR dependencies.
For which I found a solution here:
http://jira.grails.org/browse/GRAILS-8506

The solution worked, but now I get the following similar error:
Failed to install plugin [databse-migration-1.1]. Plugin has missing JAR dependencies.

I can’t find anything on the web referring to this new error. I imagine the solution/workaround is similar to the hibernate error, but I can’t seem to figure out what the problematic dependencies are in this case.

Any suggestions

Thanks in advance,

Chopo


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Error Failed to install plugin [database-migration-1.1]. Plugin has missing JAR dependencies.

Ian Roberts
On 11/07/2012 16:42, chopo wrote:
> Hello,
>
> I have recently started learning Grails on my work computer which is behind
> a proxy - this may be exasperating the problem

Take a look at
http://grails.org/doc/latest/ref/Command%20Line/set-proxy.html - this
explains how to set Grails up to talk to the outside world through a proxy.

Ian

--
Ian Roberts               | Department of Computer Science
[hidden email]  | University of Sheffield, UK



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Error Failed to install plugin [database-migration-1.1]. Plugin has missing JAR dependencies.

chopo
Thank you Ian,

Unfortunately I've already tried that this morning, our proxy is set
up by a script, will different ips depending on context so I'd rather
solve this problem offline if posible.

On 11 July 2012 17:52, Ian Roberts [via Grails]
<[hidden email]> wrote:

> On 11/07/2012 16:42, chopo wrote:
>> Hello,
>>
>> I have recently started learning Grails on my work computer which is
>> behind
>> a proxy - this may be exasperating the problem
>
> Take a look at
> http://grails.org/doc/latest/ref/Command%20Line/set-proxy.html - this
> explains how to set Grails up to talk to the outside world through a proxy.
>
> Ian
>
> --
> Ian Roberts               | Department of Computer Science
> [hidden email]  | University of Sheffield, UK
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>
>
>
> ________________________________
> If you reply to this email, your message will be added to the discussion
> below:
> http://grails.1312388.n4.nabble.com/Error-Failed-to-install-plugin-database-migration-1-1-Plugin-has-missing-JAR-dependencies-tp4631411p4631413.html
> To unsubscribe from Error Failed to install plugin [database-migration-1.1].
> Plugin has missing JAR dependencies., click here.
> NAML



--
Aitzol CASADO
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Error Failed to install plugin [database-migration-1.1]. Plugin has missing JAR dependencies.

chopo
In reply to this post by Ian Roberts
Error message:

 Loading Grails 2.1.0
| Error WARNING: Error configuring proxy settings: No signature of
method: static java.lang.System.setProperty() is applicable for
argument types: (java.lang.String, java.lang.Boolean) values:
[http.proxyHost, true]
Possible solutions: setProperty(java.lang.String, java.lang.String),
getProperty(java.lang.String), getProperty(java.lang.String,
java.lang.String), hasProperty(java.lang.String), getProperties(),
getProperties() (Use --stacktrace to see the full trace)
| Configuring classpath
| Configuring classpath.
| Environment set to development
| Environment set to development.
| Environment set to development..
| Environment set to development...
| Environment set to development....

On 11 July 2012 18:15, Aitzol Casado <[hidden email]> wrote:

> Thank you Ian,
>
> Unfortunately I've already tried that this morning, our proxy is set
> up by a script, will different ips depending on context so I'd rather
> solve this problem offline if posible.
>
> On 11 July 2012 17:52, Ian Roberts [via Grails]
> <[hidden email]> wrote:
>> On 11/07/2012 16:42, chopo wrote:
>>> Hello,
>>>
>>> I have recently started learning Grails on my work computer which is
>>> behind
>>> a proxy - this may be exasperating the problem
>>
>> Take a look at
>> http://grails.org/doc/latest/ref/Command%20Line/set-proxy.html - this
>> explains how to set Grails up to talk to the outside world through a proxy.
>>
>> Ian
>>
>> --
>> Ian Roberts               | Department of Computer Science
>> [hidden email]  | University of Sheffield, UK
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>     http://xircles.codehaus.org/manage_email
>>
>>
>>
>>
>> ________________________________
>> If you reply to this email, your message will be added to the discussion
>> below:
>> http://grails.1312388.n4.nabble.com/Error-Failed-to-install-plugin-database-migration-1-1-Plugin-has-missing-JAR-dependencies-tp4631411p4631413.html
>> To unsubscribe from Error Failed to install plugin [database-migration-1.1].
>> Plugin has missing JAR dependencies., click here.
>> NAML
>
>
>
> --
> Aitzol CASADO



--
Aitzol CASADO
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Error Failed to install plugin [database-migration-1.1]. Plugin has missing JAR dependencies.

chopo
In reply to this post by Ian Roberts
Ok seemed to have solved problem,

For some reason when I use the grails add-proxy command, I end up with
a blank entry in:
C:\Users\<me>\.grails\ProxySettings.groovy

Best enter manually:
client1=['http.proxyHost':'XXX.XXX.XXX.XXX', 'http.proxyPort':'YYYY',
'http.proxyUser':'', 'http.proxyPassword':'', 'http.nonProxyHosts':'']
currentProxy='client1'

Hope this helps other people who encounter the same issue

On 11 July 2012 18:17, Aitzol Casado <[hidden email]> wrote:

> Error message:
>
>  Loading Grails 2.1.0
> | Error WARNING: Error configuring proxy settings: No signature of
> method: static java.lang.System.setProperty() is applicable for
> argument types: (java.lang.String, java.lang.Boolean) values:
> [http.proxyHost, true]
> Possible solutions: setProperty(java.lang.String, java.lang.String),
> getProperty(java.lang.String), getProperty(java.lang.String,
> java.lang.String), hasProperty(java.lang.String), getProperties(),
> getProperties() (Use --stacktrace to see the full trace)
> | Configuring classpath
> | Configuring classpath.
> | Environment set to development
> | Environment set to development.
> | Environment set to development..
> | Environment set to development...
> | Environment set to development....
>
> On 11 July 2012 18:15, Aitzol Casado <[hidden email]> wrote:
>> Thank you Ian,
>>
>> Unfortunately I've already tried that this morning, our proxy is set
>> up by a script, will different ips depending on context so I'd rather
>> solve this problem offline if posible.
>>
>> On 11 July 2012 17:52, Ian Roberts [via Grails]
>> <[hidden email]> wrote:
>>> On 11/07/2012 16:42, chopo wrote:
>>>> Hello,
>>>>
>>>> I have recently started learning Grails on my work computer which is
>>>> behind
>>>> a proxy - this may be exasperating the problem
>>>
>>> Take a look at
>>> http://grails.org/doc/latest/ref/Command%20Line/set-proxy.html - this
>>> explains how to set Grails up to talk to the outside world through a proxy.
>>>
>>> Ian
>>>
>>> --
>>> Ian Roberts               | Department of Computer Science
>>> [hidden email]  | University of Sheffield, UK
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe from this list, please visit:
>>>
>>>     http://xircles.codehaus.org/manage_email
>>>
>>>
>>>
>>>
>>> ________________________________
>>> If you reply to this email, your message will be added to the discussion
>>> below:
>>> http://grails.1312388.n4.nabble.com/Error-Failed-to-install-plugin-database-migration-1-1-Plugin-has-missing-JAR-dependencies-tp4631411p4631413.html
>>> To unsubscribe from Error Failed to install plugin [database-migration-1.1].
>>> Plugin has missing JAR dependencies., click here.
>>> NAML
>>
>>
>>
>> --
>> Aitzol CASADO
>
>
>
> --
> Aitzol CASADO



--
Aitzol CASADO
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Error Failed to install plugin [database-migration-1.1]. Plugin has missing JAR dependencies.

Ian Roberts
In reply to this post by chopo
On 11/07/2012 17:16, chopo wrote:
> Thank you Ian,
>
> Unfortunately I've already tried that this morning, our proxy is set
> up by a script, will different ips depending on context so I'd rather
> solve this problem offline if posible.

If you set the system property java.net.useSystemProxies=true this
should make java (and hence grails) inherit the proxy configuration from
your system settings.  You can do this by setting the environment
variable JAVA_OPTS=-Djava.net.useSystemProxies=true

While you can in theory manually download all the required dependencies
for each plugin - download the relevant .pom from
http://repo.grails.org/grails/plugins/org/grails/plugins/ to find the
direct dependencies, then use search.maven.org to look up each of those
to find its transitive dependencies, and repeat as many times as
necessary - you can see that this process will rapidly become very
unwieldy.  You should try and get grails talking to the internet if at
all possible.

Longer term, if there will be several developers in your organization
who will be using maven/grails/gradle/ivy it might be worth seeing if
you can get a local nexus or artifactory repository set up.  Initially
you can just use this to cache artifacts from the public repositories
but it really comes into its own when you want to start sharing internal
artifacts among developers.

Ian

--
Ian Roberts               | Department of Computer Science
[hidden email]  | University of Sheffield, UK



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Loading...