今天用到Cookie时,写了一个Cookie数组,发现报错“Type mismatch: cannot convert from javax.servlet.http.Cookie[] to org.apache.tomcat.util.http.parser.Cookie[]”,后来看导入的包,发现按提示直接导入的是“ import org.apache.tomcat.util.http.parser.Cookie ” ,将这个删除,改成 “import javax.servlet.http.Cookie; ” 就可以了。

相关文章:

  • 2021-09-24
  • 2021-10-15
  • 2021-12-23
  • 2021-10-27
  • 2021-06-20
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-04-02
  • 2021-05-10
  • 2021-07-15
  • 2022-12-23
  • 2021-06-26
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案