Home  >  Q&A  >  body text

java - 用IntellijIDEA build tomcat8.0.30老提示找不到Package 找不到symbol

天蓬老师天蓬老师2764 days ago424

reply all(1)I'll reply

  • 黄舟

    黄舟2017-04-17 16:59:57

    Troubleshooting method:

    1. Is it possible to directly execute compile using the maven command in Maven Projects? If it succeeds, it is a problem with the IDEA environment, continue

    2. Confirm whether there is the jar package you imported in External Libraris

    3. If not, right-click on pom.xml, there is a reimport in maven, and reintroduce it. If not, check whether the jar is available in the warehouse you are using, or there may be network problems

    4. If you have it, use ctrl-alt-shift-s to open the project panel. Under modules, see if there is a jar you need in the dependencies of your corresponding module? Theoretically, it should be automatically introduced by maven. If not, introduce it manually.

    reply
    0
  • Cancelreply