“cannot find symbol” error in maven

前端 未结 5 1821
情话喂你
情话喂你 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:51

    In pom.xml, Add depedency

    
        javax.inject
        javax.inject
        1
    
    

    and class where you are using @Inject Import javax.inject.Inject import javax.inject.Inject;

提交回复
热议问题