Package doesn't exist error in intelliJ

后端 未结 25 1255
心在旅途
心在旅途 2020-11-28 20:07

I\'m trying to use the barbecue barcode printing library. I have successfully added the library to IntelliJ through project structure add library. Then I imported the packa

25条回答
  •  情深已故
    2020-11-28 20:57

    I tried

    1. "Maven > Reimport"
    2. Deleting the .idea directory, and reopening the project.
    3. File -> Invalidate Caches/Restart then Build -> Rebuild Project
    4. Deleting what is inside local .m2 folder, and downloading dependencies again.
    5. Running mvn idea:idea in Maven console (Though this command is obsolete, I had to try.)

    in different combinations.

    But going from Intellij 2020 version to 2019 solved my issue.

提交回复
热议问题