将项目导入 Netbeans
- 作者: 优衣库店长
- 来源: 51数据库
- 2023-01-29
问题描述
我的客户刚刚向我发送了用于开发目的的基础项目.我想他只是将项目文件夹压缩并发送给我.
My client just sent me the base project for development purposes. I think he just zipped the project folder and sent to me.
现在,当我转到 NetBeans 时,使用现有资源的新项目":首先我看到这个项目已经包含构建文件夹"的错误.我从项目中删除了构建文件夹,然后出现错误此项目已包含 netbeans 项目".
Now when I go to NetBeans, "New project with existing sources": First I see the error that "this project already contains build folder". I deleted the build folder from project and then I get the error "this project already contains a netbeans project".
知道我错过了什么.我习惯了 Eclipse 和 Netbeans 的新手.客户发给我的项目结构是:
Any idea what I am missing. I am used to Eclipse and new to Netbeans. The project structure sent to me by client is:
推荐答案
尝试将 src 和 web 文件夹复制到不同的文件夹位置并 创建新项目Netbeans 中的现有资源.这应该有效.或者在导入之前删除 nbproject 文件夹.
Try copying the src and web folder in different folder location and create New project with existing sources in Netbeans. This should work. Or remove the nbproject folder as well before importing.