我正在尝试在我的grails应用程序中安装spring-security-core插件。我正在使用32位Windows应用程序。但是我无法安装相同的。我已经尝试了以下链接中指定的所有变通办法,但无济于事。
Grails. spring security core. Install problem
在尝试解决方法时,我一直收到“未解决的Jar依赖项”错误。
思想??
编辑:
C:\MyProjects\Twitter>grails install-plugin spring-security-core-1.2.1
Welcome to Grails 1.3.7 - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: C:\Softwares\grails-1.3.7
Base Directory: C:\MyProjects\Twitter
Resolving dependencies...
Dependencies resolved in 1765ms.
Running script C:\Softwares\grails-1.3.7\scripts\InstallPlugin.groovy
Environment set to development
Resolving plugin spring-security-core-1.2.1. Please wait...
:: problems summary ::
:::: WARNINGS
module not found: org.grails.plugins#spring-security-core-1.2.1;
latest.integration
==== grailsPlugins: tried
-- artifact org.grails.plugins#spring-security-core-1.2.1;latest.integ
ration!spring-security-core-1.2.1.zip:
C:\MyProjects\Twitter/lib/spring-security-core-1.2.1-[revision].zip
D:\Documents and Settings\alex\.grails\1.3.7\projects\Twit
ter\plugins\hibernate-1.3.7/lib/spring-security-core-1.2.1-[revision].zip
D:\Documents and Settings\alex\.grails\1.3.7\projects\Twit
ter\plugins\tomcat-1.3.7/lib/spring-security-core-1.2.1-[revision].zip
==== grailsHome: tried
C:\Softwares\grails-1.3.7\lib/spring-security-core-1.2.1-[revision].xm
l
-- artifact org.grails.plugins#spring-security-core-1.2.1;latest.integ
ration!spring-security-core-1.2.1.zip:
C:\Softwares\grails-1.3.7\lib/spring-security-core-1.2.1-[revision].zi
p
==== grailsHome: tried
C:\Softwares\grails-1.3.7\dist/spring-security-core-1.2.1-[revision].x
ml
-- artifact org.grails.plugins#spring-security-core-1.2.1;latest.integ
ration!spring-security-core-1.2.1.zip:
C:\Softwares\grails-1.3.7\dist/spring-security-core-1.2.1-[revision].z
ip
==== grailsHome: tried
-- artifact org.grails.plugins#spring-security-core-1.2.1;latest.integ
ration!spring-security-core-1.2.1.zip:
C:\Softwares\grails-1.3.7/plugins/grails-spring-security-core-1.2.1-[r
evision].zip
==== grailsCentral: tried
-- artifact org.grails.plugins#spring-security-core-1.2.1;latest.integ
ration!spring-security-core-1.2.1.zip:
http://svn.codehaus.org/grails-plugins/grails-spring-security-core-1.2
.1/tags/LATEST_RELEASE/grails-spring-security-core-1.2.1-[revision].zip
==== grailsCore: tried
-- artifact org.grails.plugins#spring-security-core-1.2.1;latest.integ
ration!spring-security-core-1.2.1.zip:
http://svn.codehaus.org/grails/trunk/grails-plugins/grails-spring-secu
rity-core-1.2.1/tags/LATEST_RELEASE/grails-spring-security-core-1.2.1-[revision]
.zip
==== mavenCentral: tried
http://repo1.maven.org/maven2/org/grails/plugins/spring-security-core-
1.2.1/[revision]/spring-security-core-1.2.1-[revision].pom
-- artifact org.grails.plugins#spring-security-core-1.2.1;latest.integ
ration!spring-security-core-1.2.1.zip:
http://repo1.maven.org/maven2/org/grails/plugins/spring-security-core-
1.2.1/[revision]/spring-security-core-1.2.1-[revision].zip
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: org.grails.plugins#spring-security-core-1.2.1;latest.integrat
ion: not found
::::::::::::::::::::::::::::::::::::::::::::::
:::: ERRORS
Server access Error: Connection timed out: connect url=http://repo1.mave
n.org/maven2/org/grails/plugins/spring-security-core-1.2.1/maven-metadata.xml
Error resolving plugin [name:spring-security-core-1.2.1, group:org.grails.plugin
s, version:latest.integration].
Plugin not found for name [spring-security-core-1.2.1] and version [not specifie
d]
谢谢!
答案 0 :(得分:0)
这是我的互联网连接问题。我使用家用电脑完成了安装。