當我在GGTS 3.1.0版本中導入項目時,我得到了以下警告,任何人都可以爲我提供此警告的解決方案。Spring Security 3.0.3.RELEASE
::問題總結:: ::::警告 模塊未找到:org.springframework.security#org.springframework.security.core; 3.0.3.RELEASE
==== grailsPlugins: tried
-- artifact org.springframework.security#org.springframework.security.core;3.0.3.RELEASE!org.springframework.security.core.jar:
C:\GrailsWs\hubbub/lib/org.springframework.security.core-3.0.3.RELEASE.jar
C:\Users\ard004\.grails\2.1.1\projects\hubbub\plugins\hibernate-2.1.1/lib/org.springframework.security.core-3.0.3.RELEASE.jar
C:\Users\ard004\.grails\2.1.1\projects\hubbub\plugins\spring-security-core-1.2.7.3/lib/org.springframework.security.core-3.0.3.RELEASE.jar
C:\Users\ard004\.grails\2.1.1\projects\hubbub\plugins\tomcat-2.1.1/lib/org.springframework.security.core-3.0.3.RELEASE.jar
C:\Users\ard004\.grails\2.1.1\projects\hubbub\plugins\webxml-1.4.1/lib/org.springframework.security.core-3.0.3.RELEASE.jar
==== grailsHome: tried
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1/lib/org.springframework.security/org.springframework.security.core/ivy-3.0.3.RELEASE.xml
-- artifact org.springframework.security#org.springframework.security.core;3.0.3.RELEASE!org.springframework.security.core.jar:
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1/lib/org.springframework.security/org.springframework.security.core/jars/org.springframework.security.core-3.0.3.RELEASE.jar
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1/lib/org.springframework.security/org.springframework.security.core/bundles/org.springframework.security.core-3.0.3.RELEASE.jar
==== grailsHome: tried
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1\src\libs/org.springframework.security.core-3.0.3.RELEASE.xml
-- artifact org.springframework.security#org.springframework.security.core;3.0.3.RELEASE!org.springframework.security.core.jar:
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1\src\libs/org.springframework.security.core-3.0.3.RELEASE.jar
==== grailsHome: tried
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1\dist/org.springframework.security.core-3.0.3.RELEASE.xml
-- artifact org.springframework.security#org.springframework.security.core;3.0.3.RELEASE!org.springframework.security.core.jar:
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1\dist/org.springframework.security.core-3.0.3.RELEASE.jar
==== grailsHome: tried
C:\Users\ard004\.grails\2.1.1\cached-installed-plugins/org.springframework.security.core-3.0.3.RELEASE.xml
-- artifact org.springframework.security#org.springframework.security.core;3.0.3.RELEASE!org.springframework.security.core.jar:
C:\Users\ard004\.grails\2.1.1\cached-installed-plugins/org.springframework.security.core-3.0.3.RELEASE.jar
==== grailsHome: tried
-- artifact org.springframework.security#org.springframework.security.core;3.0.3.RELEASE!org.springframework.security.core.jar:
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1/plugins/org.springframework.security.core-3.0.3.RELEASE.jar
==== grailsCentral: tried
http://grails.org/plugins/grails-org.springframework.security.core/tags/RELEASE_3.0.3.RELEASE/org.springframework.security.core-3.0.3.RELEASE.pom
-- artifact org.springframework.security#org.springframework.security.core;3.0.3.RELEASE!org.springframework.security.core.jar:
http://grails.org/plugins/grails-org.springframework.security.core/tags/RELEASE_3.0.3.RELEASE/grails-org.springframework.security.core-3.0.3.RELEASE.jar
==== http://repo.grails.org/grails/core: tried
http://repo.grails.org/grails/core/org/springframework/security/org.springframework.security.core/3.0.3.RELEASE/org.springframework.security.core-3.0.3.RELEASE.pom
-- artifact org.springframework.security#org.springframework.security.core;3.0.3.RELEASE!org.springframework.security.core.jar:
http://repo.grails.org/grails/core/org/springframework/security/org.springframework.security.core/3.0.3.RELEASE/org.springframework.security.core-3.0.3.RELEASE.jar
==== mavenCentral: tried
http://repo1.maven.org/maven2/org/springframework/security/org.springframework.security.core/3.0.3.RELEASE/org.springframework.security.core-3.0.3.RELEASE.pom
-- artifact org.springframework.security#org.springframework.security.core;3.0.3.RELEASE!org.springframework.security.core.jar:
http://repo1.maven.org/maven2/org/springframework/security/org.springframework.security.core/3.0.3.RELEASE/org.springframework.security.core-3.0.3.RELEASE.jar
module not found: org.springframework.security#org.springframework.security.web;3.0.3.RELEASE
==== grailsPlugins: tried
-- artifact org.springframework.security#org.springframework.security.web;3.0.3.RELEASE!org.springframework.security.web.jar:
C:\GrailsWs\hubbub/lib/org.springframework.security.web-3.0.3.RELEASE.jar
C:\Users\ard004\.grails\2.1.1\projects\hubbub\plugins\hibernate-2.1.1/lib/org.springframework.security.web-3.0.3.RELEASE.jar
C:\Users\ard004\.grails\2.1.1\projects\hubbub\plugins\spring-security-core-1.2.7.3/lib/org.springframework.security.web-3.0.3.RELEASE.jar
C:\Users\ard004\.grails\2.1.1\projects\hubbub\plugins\tomcat-2.1.1/lib/org.springframework.security.web-3.0.3.RELEASE.jar
C:\Users\ard004\.grails\2.1.1\projects\hubbub\plugins\webxml-1.4.1/lib/org.springframework.security.web-3.0.3.RELEASE.jar
==== grailsHome: tried
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1/lib/org.springframework.security/org.springframework.security.web/ivy-3.0.3.RELEASE.xml
-- artifact org.springframework.security#org.springframework.security.web;3.0.3.RELEASE!org.springframework.security.web.jar:
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1/lib/org.springframework.security/org.springframework.security.web/jars/org.springframework.security.web-3.0.3.RELEASE.jar
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1/lib/org.springframework.security/org.springframework.security.web/bundles/org.springframework.security.web-3.0.3.RELEASE.jar
==== grailsHome: tried
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1\src\libs/org.springframework.security.web-3.0.3.RELEASE.xml
-- artifact org.springframework.security#org.springframework.security.web;3.0.3.RELEASE!org.springframework.security.web.jar:
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1\src\libs/org.springframework.security.web-3.0.3.RELEASE.jar
==== grailsHome: tried
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1\dist/org.springframework.security.web-3.0.3.RELEASE.xml
-- artifact org.springframework.security#org.springframework.security.web;3.0.3.RELEASE!org.springframework.security.web.jar:
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1\dist/org.springframework.security.web-3.0.3.RELEASE.jar
==== grailsHome: tried
C:\Users\ard004\.grails\2.1.1\cached-installed-plugins/org.springframework.security.web-3.0.3.RELEASE.xml
-- artifact org.springframework.security#org.springframework.security.web;3.0.3.RELEASE!org.springframework.security.web.jar:
C:\Users\ard004\.grails\2.1.1\cached-installed-plugins/org.springframework.security.web-3.0.3.RELEASE.jar
==== grailsHome: tried
-- artifact org.springframework.security#org.springframework.security.web;3.0.3.RELEASE!org.springframework.security.web.jar:
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1/plugins/org.springframework.security.web-3.0.3.RELEASE.jar
==== grailsCentral: tried
http://grails.org/plugins/grails-org.springframework.security.web/tags/RELEASE_3.0.3.RELEASE/org.springframework.security.web-3.0.3.RELEASE.pom
-- artifact org.springframework.security#org.springframework.security.web;3.0.3.RELEASE!org.springframework.security.web.jar:
http://grails.org/plugins/grails-org.springframework.security.web/tags/RELEASE_3.0.3.RELEASE/grails-org.springframework.security.web-3.0.3.RELEASE.jar
==== http://repo.grails.org/grails/core: tried
http://repo.grails.org/grails/core/org/springframework/security/org.springframework.security.web/3.0.3.RELEASE/org.springframework.security.web-3.0.3.RELEASE.pom
-- artifact org.springframework.security#org.springframework.security.web;3.0.3.RELEASE!org.springframework.security.web.jar:
http://repo.grails.org/grails/core/org/springframework/security/org.springframework.security.web/3.0.3.RELEASE/org.springframework.security.web-3.0.3.RELEASE.jar
==== mavenCentral: tried
http://repo1.maven.org/maven2/org/springframework/security/org.springframework.security.web/3.0.3.RELEASE/org.springframework.security.web-3.0.3.RELEASE.pom
-- artifact org.springframework.security#org.springframework.security.web;3.0.3.RELEASE!org.springframework.security.web.jar:
http://repo1.maven.org/maven2/org/springframework/security/org.springframework.security.web/3.0.3.RELEASE/org.springframework.security.web-3.0.3.RELEASE.jar
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: org.springframework.security#org.springframework.security.core;3.0.3.RELEASE: not found
:: org.springframework.security#org.springframework.security.web;3.0.3.RELEASE: not found
::::::::::::::::::::::::::::::::::::::::::::::
::問題摘要:: ::::警告 模塊未找到:org.springframework.security#org.springframework.security.core; 3.0.3.RELEASE
==== grailsPlugins: tried
-- artifact org.springframework.security#org.springframework.security.core;3.0.3.RELEASE!org.springframework.security.core.jar:
C:\GrailsWs\hubbub/lib/org.springframework.security.core-3.0.3.RELEASE.jar
C:\Users\ard004\.grails\2.1.1\projects\hubbub\plugins\hibernate-2.1.1/lib/org.springframework.security.core-3.0.3.RELEASE.jar
C:\Users\ard004\.grails\2.1.1\projects\hubbub\plugins\spring-security-core-1.2.7.3/lib/org.springframework.security.core-3.0.3.RELEASE.jar
C:\Users\ard004\.grails\2.1.1\projects\hubbub\plugins\tomcat-2.1.1/lib/org.springframework.security.core-3.0.3.RELEASE.jar
C:\Users\ard004\.grails\2.1.1\projects\hubbub\plugins\webxml-1.4.1/lib/org.springframework.security.core-3.0.3.RELEASE.jar
==== grailsHome: tried
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1/lib/org.springframework.security/org.springframework.security.core/ivy-3.0.3.RELEASE.xml
-- artifact org.springframework.security#org.springframework.security.core;3.0.3.RELEASE!org.springframework.security.core.jar:
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1/lib/org.springframework.security/org.springframework.security.core/jars/org.springframework.security.core-3.0.3.RELEASE.jar
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1/lib/org.springframework.security/org.springframework.security.core/bundles/org.springframework.security.core-3.0.3.RELEASE.jar
==== grailsHome: tried
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1\src\libs/org.springframework.security.core-3.0.3.RELEASE.xml
-- artifact org.springframework.security#org.springframework.security.core;3.0.3.RELEASE!org.springframework.security.core.jar:
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1\src\libs/org.springframework.security.core-3.0.3.RELEASE.jar
==== grailsHome: tried
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1\dist/org.springframework.security.core-3.0.3.RELEASE.xml
-- artifact org.springframework.security#org.springframework.security.core;3.0.3.RELEASE!org.springframework.security.core.jar:
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1\dist/org.springframework.security.core-3.0.3.RELEASE.jar
==== grailsHome: tried
C:\Users\ard004\.grails\2.1.1\cached-installed-plugins/org.springframework.security.core-3.0.3.RELEASE.xml
-- artifact org.springframework.security#org.springframework.security.core;3.0.3.RELEASE!org.springframework.security.core.jar:
C:\Users\ard004\.grails\2.1.1\cached-installed-plugins/org.springframework.security.core-3.0.3.RELEASE.jar
==== grailsHome: tried
-- artifact org.springframework.security#org.springframework.security.core;3.0.3.RELEASE!org.springframework.security.core.jar:
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1/plugins/org.springframework.security.core-3.0.3.RELEASE.jar
==== grailsCentral: tried
http://grails.org/plugins/grails-org.springframework.security.core/tags/RELEASE_3.0.3.RELEASE/org.springframework.security.core-3.0.3.RELEASE.pom
-- artifact org.springframework.security#org.springframework.security.core;3.0.3.RELEASE!org.springframework.security.core.jar:
http://grails.org/plugins/grails-org.springframework.security.core/tags/RELEASE_3.0.3.RELEASE/grails-org.springframework.security.core-3.0.3.RELEASE.jar
==== http://repo.grails.org/grails/core: tried
http://repo.grails.org/grails/core/org/springframework/security/org.springframework.security.core/3.0.3.RELEASE/org.springframework.security.core-3.0.3.RELEASE.pom
-- artifact org.springframework.security#org.springframework.security.core;3.0.3.RELEASE!org.springframework.security.core.jar:
http://repo.grails.org/grails/core/org/springframework/security/org.springframework.security.core/3.0.3.RELEASE/org.springframework.security.core-3.0.3.RELEASE.jar
==== mavenCentral: tried
http://repo1.maven.org/maven2/org/springframework/security/org.springframework.security.core/3.0.3.RELEASE/org.springframework.security.core-3.0.3.RELEASE.pom
-- artifact org.springframework.security#org.springframework.security.core;3.0.3.RELEASE!org.springframework.security.core.jar:
http://repo1.maven.org/maven2/org/springframework/security/org.springframework.security.core/3.0.3.RELEASE/org.springframework.security.core-3.0.3.RELEASE.jar
module not found: org.springframework.security#org.springframework.security.web;3.0.3.RELEASE
==== grailsPlugins: tried
-- artifact org.springframework.security#org.springframework.security.web;3.0.3.RELEASE!org.springframework.security.web.jar:
C:\GrailsWs\hubbub/lib/org.springframework.security.web-3.0.3.RELEASE.jar
C:\Users\ard004\.grails\2.1.1\projects\hubbub\plugins\hibernate-2.1.1/lib/org.springframework.security.web-3.0.3.RELEASE.jar
C:\Users\ard004\.grails\2.1.1\projects\hubbub\plugins\spring-security-core-1.2.7.3/lib/org.springframework.security.web-3.0.3.RELEASE.jar
C:\Users\ard004\.grails\2.1.1\projects\hubbub\plugins\tomcat-2.1.1/lib/org.springframework.security.web-3.0.3.RELEASE.jar
C:\Users\ard004\.grails\2.1.1\projects\hubbub\plugins\webxml-1.4.1/lib/org.springframework.security.web-3.0.3.RELEASE.jar
==== grailsHome: tried
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1/lib/org.springframework.security/org.springframework.security.web/ivy-3.0.3.RELEASE.xml
-- artifact org.springframework.security#org.springframework.security.web;3.0.3.RELEASE!org.springframework.security.web.jar:
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1/lib/org.springframework.security/org.springframework.security.web/jars/org.springframework.security.web-3.0.3.RELEASE.jar
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1/lib/org.springframework.security/org.springframework.security.web/bundles/org.springframework.security.web-3.0.3.RELEASE.jar
==== grailsHome: tried
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1\src\libs/org.springframework.security.web-3.0.3.RELEASE.xml
-- artifact org.springframework.security#org.springframework.security.web;3.0.3.RELEASE!org.springframework.security.web.jar:
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1\src\libs/org.springframework.security.web-3.0.3.RELEASE.jar
==== grailsHome: tried
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1\dist/org.springframework.security.web-3.0.3.RELEASE.xml
-- artifact org.springframework.security#org.springframework.security.web;3.0.3.RELEASE!org.springframework.security.web.jar:
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1\dist/org.springframework.security.web-3.0.3.RELEASE.jar
==== grailsHome: tried
C:\Users\ard004\.grails\2.1.1\cached-installed-plugins/org.springframework.security.web-3.0.3.RELEASE.xml
-- artifact org.springframework.security#org.springframework.security.web;3.0.3.RELEASE!org.springframework.security.web.jar:
C:\Users\ard004\.grails\2.1.1\cached-installed-plugins/org.springframework.security.web-3.0.3.RELEASE.jar
==== grailsHome: tried
-- artifact org.springframework.security#org.springframework.security.web;3.0.3.RELEASE!org.springframework.security.web.jar:
C:\Softwares\groovy-grails-tool-suite-3.1.0.RELEASE-e3.8-win32\springsource\grails-2.1.1/plugins/org.springframework.security.web-3.0.3.RELEASE.jar
==== grailsCentral: tried
http://grails.org/plugins/grails-org.springframework.security.web/tags/RELEASE_3.0.3.RELEASE/org.springframework.security.web-3.0.3.RELEASE.pom
-- artifact org.springframework.security#org.springframework.security.web;3.0.3.RELEASE!org.springframework.security.web.jar:
http://grails.org/plugins/grails-org.springframework.security.web/tags/RELEASE_3.0.3.RELEASE/grails-org.springframework.security.web-3.0.3.RELEASE.jar
==== http://repo.grails.org/grails/core: tried
http://repo.grails.org/grails/core/org/springframework/security/org.springframework.security.web/3.0.3.RELEASE/org.springframework.security.web-3.0.3.RELEASE.pom
-- artifact org.springframework.security#org.springframework.security.web;3.0.3.RELEASE!org.springframework.security.web.jar:
http://repo.grails.org/grails/core/org/springframework/security/org.springframework.security.web/3.0.3.RELEASE/org.springframework.security.web-3.0.3.RELEASE.jar
==== mavenCentral: tried
http://repo1.maven.org/maven2/org/springframework/security/org.springframework.security.web/3.0.3.RELEASE/org.springframework.security.web-3.0.3.RELEASE.pom
-- artifact org.springframework.security#org.springframework.security.web;3.0.3.RELEASE!org.springframework.security.web.jar:
http://repo1.maven.org/maven2/org/springframework/security/org.springframework.security.web/3.0.3.RELEASE/org.springframework.security.web-3.0.3.RELEASE.jar
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: org.springframework.security#org.springframework.security.core;3.0.3.RELEASE: not found
:: org.springframework.security#org.springframework.security.web;3.0.3.RELEASE: not found
::::::::::::::::::::::::::::::::::::::::::::::
|錯誤未能解決依賴關係(將日誌級別設置爲「警告」在BuildConfig.groovy瞭解更多信息):
- org.springframework.security:org.springframework.security.core:3.0.3.RELEASE
- org.springframework.security:org.springframework.security.web:3.0.3.RELEASE
感謝Ian,它的工作原理是安裝所有在application.properties中提供的插件,並使用maven central – John