Idea cannot recognize a symbol even it is present in external dependencies












3















Does somebody understands what is a problem? Why my IDE doesn't see classes from dependencies? Idea version: 17.2.2



The root build.gradle:



subprojects.each {
apply plugin: 'idea'
}


The root setting.gradle:



include 'client'
include 'api'

rootProject.name = 'app-1-akka-reactjs'


My build.gradle of api project:



apply plugin: 'play'

buildscript {
repositories {
jcenter()
}

dependencies {
classpath 'org.iatoki:gradle-play-idea:0.4.1'
}
}

apply plugin: 'org.iatoki.play-idea'

repositories {
jcenter()
ivy {
url "https://repo.typesafe.com/typesafe/ivy-releases/"
layout "pattern", {
ivy "[organisation]/[module]/[revision]/ivys/ivy.xml"
artifact "[organisation]/[module]/[revision]/jars/[artifact].[ext]"
}
}
}

model {
components {
play {
platform play: '2.5.8', scala: '2.11', java: '1.8'
injectedRoutesGenerator = true
}
}
}

dependencies {
play 'com.typesafe.play:play-slick_2.11:2.1.0'
play 'com.typesafe.play:play-slick-evolutions_2.11:2.1.0'

play 'org.postgresql:postgresql:9.4-1200-jdbc41'
}


The build.gradle of client is empty for now.



To generate idea's files I've used:



gradle cleanIdea idea


Here is how my project is look










share|improve this question























  • Here is project github link

    – slesh
    Sep 5 '17 at 15:27











  • I have the same problem, even more it reproduces for all my team members. Looks like IDEA has some major bug with gradle dependencies

    – Orest
    Sep 20 '17 at 13:01











  • Hi, @Orest Kyrylchuk. You're right. I've answered about it on the JetBrains support forum. It appears that such bug already is in their bug tracking system. Vote for that bug to track see any status updates.

    – slesh
    Sep 20 '17 at 13:09


















3















Does somebody understands what is a problem? Why my IDE doesn't see classes from dependencies? Idea version: 17.2.2



The root build.gradle:



subprojects.each {
apply plugin: 'idea'
}


The root setting.gradle:



include 'client'
include 'api'

rootProject.name = 'app-1-akka-reactjs'


My build.gradle of api project:



apply plugin: 'play'

buildscript {
repositories {
jcenter()
}

dependencies {
classpath 'org.iatoki:gradle-play-idea:0.4.1'
}
}

apply plugin: 'org.iatoki.play-idea'

repositories {
jcenter()
ivy {
url "https://repo.typesafe.com/typesafe/ivy-releases/"
layout "pattern", {
ivy "[organisation]/[module]/[revision]/ivys/ivy.xml"
artifact "[organisation]/[module]/[revision]/jars/[artifact].[ext]"
}
}
}

model {
components {
play {
platform play: '2.5.8', scala: '2.11', java: '1.8'
injectedRoutesGenerator = true
}
}
}

dependencies {
play 'com.typesafe.play:play-slick_2.11:2.1.0'
play 'com.typesafe.play:play-slick-evolutions_2.11:2.1.0'

play 'org.postgresql:postgresql:9.4-1200-jdbc41'
}


The build.gradle of client is empty for now.



To generate idea's files I've used:



gradle cleanIdea idea


Here is how my project is look










share|improve this question























  • Here is project github link

    – slesh
    Sep 5 '17 at 15:27











  • I have the same problem, even more it reproduces for all my team members. Looks like IDEA has some major bug with gradle dependencies

    – Orest
    Sep 20 '17 at 13:01











  • Hi, @Orest Kyrylchuk. You're right. I've answered about it on the JetBrains support forum. It appears that such bug already is in their bug tracking system. Vote for that bug to track see any status updates.

    – slesh
    Sep 20 '17 at 13:09
















3












3








3








Does somebody understands what is a problem? Why my IDE doesn't see classes from dependencies? Idea version: 17.2.2



The root build.gradle:



subprojects.each {
apply plugin: 'idea'
}


The root setting.gradle:



include 'client'
include 'api'

rootProject.name = 'app-1-akka-reactjs'


My build.gradle of api project:



apply plugin: 'play'

buildscript {
repositories {
jcenter()
}

dependencies {
classpath 'org.iatoki:gradle-play-idea:0.4.1'
}
}

apply plugin: 'org.iatoki.play-idea'

repositories {
jcenter()
ivy {
url "https://repo.typesafe.com/typesafe/ivy-releases/"
layout "pattern", {
ivy "[organisation]/[module]/[revision]/ivys/ivy.xml"
artifact "[organisation]/[module]/[revision]/jars/[artifact].[ext]"
}
}
}

model {
components {
play {
platform play: '2.5.8', scala: '2.11', java: '1.8'
injectedRoutesGenerator = true
}
}
}

dependencies {
play 'com.typesafe.play:play-slick_2.11:2.1.0'
play 'com.typesafe.play:play-slick-evolutions_2.11:2.1.0'

play 'org.postgresql:postgresql:9.4-1200-jdbc41'
}


The build.gradle of client is empty for now.



To generate idea's files I've used:



gradle cleanIdea idea


Here is how my project is look










share|improve this question














Does somebody understands what is a problem? Why my IDE doesn't see classes from dependencies? Idea version: 17.2.2



The root build.gradle:



subprojects.each {
apply plugin: 'idea'
}


The root setting.gradle:



include 'client'
include 'api'

rootProject.name = 'app-1-akka-reactjs'


My build.gradle of api project:



apply plugin: 'play'

buildscript {
repositories {
jcenter()
}

dependencies {
classpath 'org.iatoki:gradle-play-idea:0.4.1'
}
}

apply plugin: 'org.iatoki.play-idea'

repositories {
jcenter()
ivy {
url "https://repo.typesafe.com/typesafe/ivy-releases/"
layout "pattern", {
ivy "[organisation]/[module]/[revision]/ivys/ivy.xml"
artifact "[organisation]/[module]/[revision]/jars/[artifact].[ext]"
}
}
}

model {
components {
play {
platform play: '2.5.8', scala: '2.11', java: '1.8'
injectedRoutesGenerator = true
}
}
}

dependencies {
play 'com.typesafe.play:play-slick_2.11:2.1.0'
play 'com.typesafe.play:play-slick-evolutions_2.11:2.1.0'

play 'org.postgresql:postgresql:9.4-1200-jdbc41'
}


The build.gradle of client is empty for now.



To generate idea's files I've used:



gradle cleanIdea idea


Here is how my project is look







scala intellij-idea gradle playframework






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Sep 5 '17 at 13:19









sleshslesh

574315




574315













  • Here is project github link

    – slesh
    Sep 5 '17 at 15:27











  • I have the same problem, even more it reproduces for all my team members. Looks like IDEA has some major bug with gradle dependencies

    – Orest
    Sep 20 '17 at 13:01











  • Hi, @Orest Kyrylchuk. You're right. I've answered about it on the JetBrains support forum. It appears that such bug already is in their bug tracking system. Vote for that bug to track see any status updates.

    – slesh
    Sep 20 '17 at 13:09





















  • Here is project github link

    – slesh
    Sep 5 '17 at 15:27











  • I have the same problem, even more it reproduces for all my team members. Looks like IDEA has some major bug with gradle dependencies

    – Orest
    Sep 20 '17 at 13:01











  • Hi, @Orest Kyrylchuk. You're right. I've answered about it on the JetBrains support forum. It appears that such bug already is in their bug tracking system. Vote for that bug to track see any status updates.

    – slesh
    Sep 20 '17 at 13:09



















Here is project github link

– slesh
Sep 5 '17 at 15:27





Here is project github link

– slesh
Sep 5 '17 at 15:27













I have the same problem, even more it reproduces for all my team members. Looks like IDEA has some major bug with gradle dependencies

– Orest
Sep 20 '17 at 13:01





I have the same problem, even more it reproduces for all my team members. Looks like IDEA has some major bug with gradle dependencies

– Orest
Sep 20 '17 at 13:01













Hi, @Orest Kyrylchuk. You're right. I've answered about it on the JetBrains support forum. It appears that such bug already is in their bug tracking system. Vote for that bug to track see any status updates.

– slesh
Sep 20 '17 at 13:09







Hi, @Orest Kyrylchuk. You're right. I've answered about it on the JetBrains support forum. It appears that such bug already is in their bug tracking system. Vote for that bug to track see any status updates.

– slesh
Sep 20 '17 at 13:09














1 Answer
1






active

oldest

votes


















0














I faced a similar issue. I could resolve it by moving/copying the settings.xml file from $MVN_HOME/conf to ~/.m2 folder. As MVN_HOME was not detected by Idea it could not resolve the settings.xml from MVN_HOME.






share|improve this answer























    Your Answer






    StackExchange.ifUsing("editor", function () {
    StackExchange.using("externalEditor", function () {
    StackExchange.using("snippets", function () {
    StackExchange.snippets.init();
    });
    });
    }, "code-snippets");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "1"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f46056026%2fidea-cannot-recognize-a-symbol-even-it-is-present-in-external-dependencies%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    I faced a similar issue. I could resolve it by moving/copying the settings.xml file from $MVN_HOME/conf to ~/.m2 folder. As MVN_HOME was not detected by Idea it could not resolve the settings.xml from MVN_HOME.






    share|improve this answer




























      0














      I faced a similar issue. I could resolve it by moving/copying the settings.xml file from $MVN_HOME/conf to ~/.m2 folder. As MVN_HOME was not detected by Idea it could not resolve the settings.xml from MVN_HOME.






      share|improve this answer


























        0












        0








        0







        I faced a similar issue. I could resolve it by moving/copying the settings.xml file from $MVN_HOME/conf to ~/.m2 folder. As MVN_HOME was not detected by Idea it could not resolve the settings.xml from MVN_HOME.






        share|improve this answer













        I faced a similar issue. I could resolve it by moving/copying the settings.xml file from $MVN_HOME/conf to ~/.m2 folder. As MVN_HOME was not detected by Idea it could not resolve the settings.xml from MVN_HOME.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 19 '18 at 8:29









        Manju PrasadManju Prasad

        1




        1






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f46056026%2fidea-cannot-recognize-a-symbol-even-it-is-present-in-external-dependencies%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Guess what letter conforming each word

            Port of Spain

            Run scheduled task as local user group (not BUILTIN)