“cannot find symbol” error in maven

前端 未结 5 1813
情话喂你
情话喂你 2020-12-31 06:15

I see a lot of questions on stackoverflow on this. But still I\'m not able to know what is the issue in my way of building projects.

I\'ve two spring boot projects:

5条回答
  •  时光取名叫无心
    2020-12-31 06:34

    I got the same error "cannot find symbol" .

    I got 2 maven modules front and back and the front module could not access to the back module despite the dependency.

    The problem was on the pom.xml in the back module. I remove these lines :

        
            org.springframework.boot
            spring-boot-maven-plugin
        
    

    and I just got these lines in the front pom module.

提交回复
热议问题