在把jforum-2.1.8-src解压放到eclipse的工作空间导入到eclipse中时,提示invalid project description
查看jforum-2.1.8-src下的.project文件
- xml version="1.0" encoding="UTF-8"?>
- <projectDescription>
- <SPAN style="BACKGROUND-COLOR: #888888; COLOR: #ff0000"><name>JForumname>SPAN>
- <comment>comment>
- <projects>
- projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuildername>
- <arguments>
- arguments>
- buildCommand>
- buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanaturenature>
- <nature>com.sysdeo.eclipse.tomcat.tomcatnaturenature>
- natures>
- projectDescription>
JForum
org.eclipse.jdt.core.javabuilder
org.eclipse.jdt.core.javanature
com.sysdeo.eclipse.tomcat.tomcatnature
项目描述名称是JForum, 把jforum-2.1.8-src文件夹名称改成JForum,再次导入项目则成功了