原因:项目buildpath不对

解决方案:

右键项目-------build path--------configuration build path

的选择libraries找到JRE(这个时候你会发现这个jre前面有!或者是红X)选中remove掉重新为该项目选择一个JRE选中项目

project----clean

 

The import org.apache cannot be resolved

What IDE are you using? If it's eclipse, right click on the project -> Build Path -> Configure Build Path -> Libraries -> Add External Jar's

相关文章:

  • 2021-10-28
  • 2021-08-08
  • 2021-05-06
  • 2021-12-16
  • 2021-12-17
猜你喜欢
  • 2021-08-27
  • 2021-05-23
  • 2021-04-17
  • 2021-08-28
  • 2022-12-23
  • 2021-11-14
  • 2022-12-23
相关资源
相似解决方案