search

Home  >  Q&A  >  body text

java - IntelliJ IDEA 2016.2 <import resource="" /> 没有提示

在spring-context.xml文件中,输入<import resource="">没有提示,显示Cannot resolve file,而之前的<import resource="xxx.xml">仍正常显示

PHP中文网PHP中文网2810 days ago251

reply all(2)I'll reply

  • 天蓬老师

    天蓬老师2017-04-18 09:46:31

    No surprise, the location of your applicationContent-invoker-client.xml file is wrong. Generally, if the location is correct, hold down the Ctrl key and move the mouse to the file name, IDEA will prompt you with the location of the file:

    reply
    0
  • PHP中文网

    PHP中文网2017-04-18 09:46:31

    If the project can run normally, then you should leave it alone. If it looks uncomfortable, you can configure a suppress comment and IDEA will not prompt in red.

    In general, in your case, IDEA did not search for this configuration file. For example, this configuration file is in another module, and this module is not configured to depend on another module.

    reply
    0
  • Cancelreply