Spring boot issue main class gives compilation error [duplicate]












1















This question already has an answer here:




  • The type org.springframework.context.ConfigurableApplicationContext cannot be resolved. It is indirectly referenced from required .class files

    7 answers




While running main class SpringBoot2RestServiceApplication i got the following exception:



cannot access org.springframework.context.ConfigurableApplicationContext


It shows compilation error:



compilation error



Any help would be greatly appreciated. Thank you.










share|improve this question















marked as duplicate by Community Nov 20 '18 at 10:44


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.




















    1















    This question already has an answer here:




    • The type org.springframework.context.ConfigurableApplicationContext cannot be resolved. It is indirectly referenced from required .class files

      7 answers




    While running main class SpringBoot2RestServiceApplication i got the following exception:



    cannot access org.springframework.context.ConfigurableApplicationContext


    It shows compilation error:



    compilation error



    Any help would be greatly appreciated. Thank you.










    share|improve this question















    marked as duplicate by Community Nov 20 '18 at 10:44


    This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


















      1












      1








      1


      1






      This question already has an answer here:




      • The type org.springframework.context.ConfigurableApplicationContext cannot be resolved. It is indirectly referenced from required .class files

        7 answers




      While running main class SpringBoot2RestServiceApplication i got the following exception:



      cannot access org.springframework.context.ConfigurableApplicationContext


      It shows compilation error:



      compilation error



      Any help would be greatly appreciated. Thank you.










      share|improve this question
















      This question already has an answer here:




      • The type org.springframework.context.ConfigurableApplicationContext cannot be resolved. It is indirectly referenced from required .class files

        7 answers




      While running main class SpringBoot2RestServiceApplication i got the following exception:



      cannot access org.springframework.context.ConfigurableApplicationContext


      It shows compilation error:



      compilation error



      Any help would be greatly appreciated. Thank you.





      This question already has an answer here:




      • The type org.springframework.context.ConfigurableApplicationContext cannot be resolved. It is indirectly referenced from required .class files

        7 answers








      java spring-boot compiler-errors






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 20 '18 at 12:21









      Shuai Junlan

      57110




      57110










      asked Nov 20 '18 at 10:30









      Sagar P. Ghagare

      523314




      523314




      marked as duplicate by Community Nov 20 '18 at 10:44


      This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.






      marked as duplicate by Community Nov 20 '18 at 10:44


      This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


























          1 Answer
          1






          active

          oldest

          votes


















          0














          Try to remove(delete) your local repo (~/.m2/repository/) and run mvn clean install again.






          share|improve this answer




























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Try to remove(delete) your local repo (~/.m2/repository/) and run mvn clean install again.






            share|improve this answer


























              0














              Try to remove(delete) your local repo (~/.m2/repository/) and run mvn clean install again.






              share|improve this answer
























                0












                0








                0






                Try to remove(delete) your local repo (~/.m2/repository/) and run mvn clean install again.






                share|improve this answer












                Try to remove(delete) your local repo (~/.m2/repository/) and run mvn clean install again.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 20 '18 at 10:44









                Alien

                4,82331026




                4,82331026















                    Popular posts from this blog

                    "Incorrect syntax near the keyword 'ON'. (on update cascade, on delete cascade,)

                    Alcedinidae

                    Origin of the phrase “under your belt”?