我正在IntelliJ中建立一个新项目,但是当我使用Grails在IntelliJ中运行该项目时,出现一个错误,提示"Failed to resolve dependencies" Set log level to 'warn' in BuildConfig.groovy for more information.
,我不知道下一步该怎么做才能解决问题。 。
"C:\Program Files\Java\jdk1.8.0_201\bin\java" -Dgrails.home=C:\Grails\grails-2.5.3 -Dbase.dir=C:\Users\601279\IdeaProjects "-Dtools.jar=C:\Program Files\Java\jdk1.8.0_201\lib\tools.jar" -Dgroovy.starter.conf=C:\Grails\grails-2.5.3/conf/groovy-starter.conf -Xmx768M -Xms768M -XX:MaxPermSize=256m -XX:PermSize=256m -Djline.WindowsTerminal.directConsole=false -Dfile.encoding=windows-1252 -classpath C:\Grails\grails-2.5.3\lib\org.codehaus.groovy\groovy-all\jars\groovy-all-2.4.4.jar;C:\Grails\grails-2.5.3\dist\grails-bootstrap-2.5.3.jar org.codehaus.groovy.grails.cli.support.GrailsStarter --main org.codehaus.groovy.grails.cli.GrailsScriptRunner --conf C:\Grails\grails-2.5.3/conf/groovy-starter.conf "create-app gret -plain-output"|Loading Grails 2.5.3
|Configuring classpath
:: problems summary ::
:::: WARNINGS
module not found: org.aspectj#aspectjweaver;1.8.5
==== grailsPlugins: tried
-- artifact org.aspectj#aspectjweaver;1.8.5!aspectjweaver.jar:
C:\Users\601279\IdeaProjects\lib\aspectjweaver-1.8.5.jar
==== grailsHome: tried
C:\Grails\grails-2.5.3\lib\org.aspectj\aspectjweaver\ivy-1.8.5.xml
-- artifact org.aspectj#aspectjweaver;1.8.5!aspectjweaver.jar:
C:\Grails\grails-2.5.3\lib\org.aspectj\aspectjweaver\jars\aspectjweaver-1.8.5.jar
C:\Grails\grails-2.5.3\lib\org.aspectj\aspectjweaver\bundles\aspectjweaver-1.8.5.jar
==== grailsHome: tried
C:\Grails\grails-2.5.3\dist\aspectjweaver-1.8.5.pom
-- artifact org.aspectj#aspectjweaver;1.8.5!aspectjweaver.jar:
C:\Grails\grails-2.5.3\dist\aspectjweaver-1.8.5.jar
==== grailsHome: tried
C:\Users\601279\.grails\2.5.3\cached-installed-plugins\aspectjweaver-1.8.5.xml
-- artifact org.aspectj#aspectjweaver;1.8.5!aspectjweaver.jar:
C:\Users\601279\.grails\2.5.3\cached-installed-plugins\aspectjweaver-1.8.5.jar
==== grailsHome: tried
C:\Grails\grails-2.5.3\plugins\aspectjweaver-1.8.5.pom
-- artifact org.aspectj#aspectjweaver;1.8.5!aspectjweaver.jar:
C:\Grails\grails-2.5.3\plugins\aspectjweaver-1.8.5.jar
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: org.aspectj#aspectjweaver;1.8.5: not found
::::::::::::::::::::::::::::::::::::::::::::::
Error |
Resolve error obtaining dependencies: Failed to resolve dependencies (Set log level to 'warn' in BuildConfig.groovy for more information):
- org.aspectj:aspectjweaver:1.8.5
(Use --stacktrace to see the full trace)
:: problems summary ::
:::: WARNINGS
module not found: org.aspectj#aspectjweaver;1.8.5
==== grailsPlugins: tried
-- artifact org.aspectj#aspectjweaver;1.8.5!aspectjweaver.jar:
C:\Users\601279\IdeaProjects\lib\aspectjweaver-1.8.5.jar
==== grailsHome: tried
C:\Grails\grails-2.5.3\lib\org.aspectj\aspectjweaver\ivy-1.8.5.xml
-- artifact org.aspectj#aspectjweaver;1.8.5!aspectjweaver.jar:
C:\Grails\grails-2.5.3\lib\org.aspectj\aspectjweaver\jars\aspectjweaver-1.8.5.jar
C:\Grails\grails-2.5.3\lib\org.aspectj\aspectjweaver\bundles\aspectjweaver-1.8.5.jar
==== grailsHome: tried
C:\Grails\grails-2.5.3\dist\aspectjweaver-1.8.5.pom
-- artifact org.aspectj#aspectjweaver;1.8.5!aspectjweaver.jar:
C:\Grails\grails-2.5.3\dist\aspectjweaver-1.8.5.jar
==== grailsHome: tried
C:\Users\601279\.grails\2.5.3\cached-installed-plugins\aspectjweaver-1.8.5.xml
-- artifact org.aspectj#aspectjweaver;1.8.5!aspectjweaver.jar:
C:\Users\601279\.grails\2.5.3\cached-installed-plugins\aspectjweaver-1.8.5.jar
==== grailsHome: tried
C:\Grails\grails-2.5.3\plugins\aspectjweaver-1.8.5.pom
-- artifact org.aspectj#aspectjweaver;1.8.5!aspectjweaver.jar:
C:\Grails\grails-2.5.3\plugins\aspectjweaver-1.8.5.jar
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: org.aspectj#aspectjweaver;1.8.5: not found
::::::::::::::::::::::::::::::::::::::::::::::
Error |
Resolve error obtaining dependencies: Failed to resolve dependencies (Set log level to 'warn' in BuildConfig.groovy for more information):
- org.aspectj:aspectjweaver:1.8.5
(Use --stacktrace to see the full trace)
:: problems summary ::
:::: WARNINGS
module not found: org.aspectj#aspectjweaver;1.8.5
==== grailsPlugins: tried
-- artifact org.aspectj#aspectjweaver;1.8.5!aspectjweaver.jar:
C:\Users\601279\IdeaProjects\lib\aspectjweaver-1.8.5.jar
==== grailsHome: tried
C:\Grails\grails-2.5.3\lib\org.aspectj\aspectjweaver\ivy-1.8.5.xml
-- artifact org.aspectj#aspectjweaver;1.8.5!aspectjweaver.jar:
C:\Grails\grails-2.5.3\lib\org.aspectj\aspectjweaver\jars\aspectjweaver-1.8.5.jar
C:\Grails\grails-2.5.3\lib\org.aspectj\aspectjweaver\bundles\aspectjweaver-1.8.5.jar
==== grailsHome: tried
C:\Grails\grails-2.5.3\dist\aspectjweaver-1.8.5.pom
-- artifact org.aspectj#aspectjweaver;1.8.5!aspectjweaver.jar:
C:\Grails\grails-2.5.3\dist\aspectjweaver-1.8.5.jar
==== grailsHome: tried
C:\Users\601279\.grails\2.5.3\cached-installed-plugins\aspectjweaver-1.8.5.xml
-- artifact org.aspectj#aspectjweaver;1.8.5!aspectjweaver.jar:
C:\Users\601279\.grails\2.5.3\cached-installed-plugins\aspectjweaver-1.8.5.jar
==== grailsHome: tried
C:\Grails\grails-2.5.3\plugins\aspectjweaver-1.8.5.pom
-- artifact org.aspectj#aspectjweaver;1.8.5!aspectjweaver.jar:
C:\Grails\grails-2.5.3\plugins\aspectjweaver-1.8.5.jar
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: org.aspectj#aspectjweaver;1.8.5: not found
::::::::::::::::::::::::::::::::::::::::::::::
Error |
Resolve error obtaining dependencies: Failed to resolve dependencies (Set log level to 'warn' in BuildConfig.groovy for more information):
- org.aspectj:aspectjweaver:1.8.5
(Use --stacktrace to see the full trace)
:: problems summary ::
:::: WARNINGS
module not found: org.aspectj#aspectjweaver;1.8.5
==== grailsPlugins: tried
-- artifact org.aspectj#aspectjweaver;1.8.5!aspectjweaver.jar:
C:\Users\601279\IdeaProjects\lib\aspectjweaver-1.8.5.jar
==== grailsHome: tried
C:\Grails\grails-2.5.3\lib\org.aspectj\aspectjweaver\ivy-1.8.5.xml
-- artifact org.aspectj#aspectjweaver;1.8.5!aspectjweaver.jar:
C:\Grails\grails-2.5.3\lib\org.aspectj\aspectjweaver\jars\aspectjweaver-1.8.5.jar
C:\Grails\grails-2.5.3\lib\org.aspectj\aspectjweaver\bundles\aspectjweaver-1.8.5.jar
==== grailsHome: tried
C:\Grails\grails-2.5.3\dist\aspectjweaver-1.8.5.pom
-- artifact org.aspectj#aspectjweaver;1.8.5!aspectjweaver.jar:
C:\Grails\grails-2.5.3\dist\aspectjweaver-1.8.5.jar
==== grailsHome: tried
C:\Users\601279\.grails\2.5.3\cached-installed-plugins\aspectjweaver-1.8.5.xml
-- artifact org.aspectj#aspectjweaver;1.8.5!aspectjweaver.jar:
C:\Users\601279\.grails\2.5.3\cached-installed-plugins\aspectjweaver-1.8.5.jar
==== grailsHome: tried
C:\Grails\grails-2.5.3\plugins\aspectjweaver-1.8.5.pom
-- artifact org.aspectj#aspectjweaver;1.8.5!aspectjweaver.jar:
C:\Grails\grails-2.5.3\plugins\aspectjweaver-1.8.5.jar
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: org.aspectj#aspectjweaver;1.8.5: not found
::::::::::::::::::::::::::::::::::::::::::::::
Error |
Resolve error obtaining dependencies: Failed to resolve dependencies (Set log level to 'warn' in BuildConfig.groovy for more information):
- org.aspectj:aspectjweaver:1.8.5
(Use --stacktrace to see the full trace)
Error |
Failed to resolve dependencies (Set log level to 'warn' in BuildConfig.groovy for more information):
- org.aspectj:aspectjweaver:1.8.5
|Run 'grails dependency-report' for further information.
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=256m; support was removed in 8.0