readstory

因为JavaWeb项目中的根目录少了一个.classpath文件,导致MyEclipse不能识别目录。

参考:http://zhidao.baidu.com/question/418308062

.classpath内容如下:

<?xml version="1.0" encoding="UTF-8"?>
<classpath>
 <classpathentry kind="src" path="src"/>
 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
 <classpathentry kind="con" path="com.genuitec.eclipse.j2eedt.core.J2EE14_CONTAINER"/>
 <classpathentry kind="output" path="WebRoot/WEB-INF/classes"/>
</classpath>

 

 

解决方案,随便新建一个web项目,在项目中找到.classpath文件,复制到你的项目即可。

分类:

技术点:

相关文章:

  • 2021-08-15
  • 2022-12-23
  • 2021-05-05
  • 2021-04-06
  • 2022-01-17
  • 2022-12-23
  • 2021-12-03
  • 2021-09-01
猜你喜欢
  • 2022-12-23
  • 2021-12-12
  • 2021-05-02
  • 2022-12-23
  • 2021-04-17
  • 2021-04-22
  • 2022-12-23
相关资源
相似解决方案