美文网首页
web.xml中包路径检索报错

web.xml中包路径检索报错

作者: acybDM | 来源:发表于2018-04-28 15:00 被阅读0次

现象:
使用Intellij Idea导入eclipse项目后发现web.xml文件中很多listener类找不到,表现为类的包路径变红色字体,报错。

解决方法:
选中项目中src目录右键选择mark directory as sources root,如下图:


image.png

相关文章

网友评论

      本文标题:web.xml中包路径检索报错

      本文链接:https://www.haomeiwen.com/subject/pruglftx.html