我收到以下警告,当我在GGTS 3.1.0版本中导入项目时,是否有人可以向我建议此警告的解决方案。
::问题摘要:: ::::警告 找不到模块: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中将日志级别设置为'warn'):
答案 0 :(得分:0)
公共Maven存储库中有两组不同的Spring相关JAR文件。 Maven Central中的工具使用spring-*
形式的工件ID,SpringSource EBR中的工件ID使用org.springframework.*
形式的工件ID。 Grails spring-security-core插件的旧版本(1.2之前)过去依赖于EBR工件,而后者又要求您在BuildConfig中启用EBR Maven存储库。更新版本(1.2及更高版本)使用Maven Central工件。