起因:maven编译的时候报import的某个包不存在,所以导致编译错误

解决方法: 如果import的那个包没有使用的话就把import这个语句注释掉,如果有用的话就倒入import的包

下面是报错截图:

COMPILATION ERROR :  package jdk.nashorn.internal.parser does not exist

 

相关文章:

  • 2021-07-14
  • 2021-12-13
  • 2021-08-26
  • 2022-01-07
  • 2022-12-23
  • 2021-10-09
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-21
  • 2021-10-30
  • 2021-04-29
相关资源
相似解决方案