Установка с Grails и IntelliJ - PullRequest
       1

Установка с Grails и IntelliJ

0 голосов
/ 14 февраля 2019

Я настраиваю новый проект в IntelliJ, но когда я запускаю проект в IntelliJ с Grails, я получаю сообщение об ошибке "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

1 Ответ

0 голосов
/ 14 февраля 2019

Это ошибка с Grails v2.5.3, о которой уже сообщалось.

Эта ошибка уже включена и исправлена ​​в ветви 2.5.x.

Пожалуйста, отметьте this и это

Так что вам нужно обновить версию Grails

Надеюсь, это поможет вам

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...