idea怎么添加maven依赖

idea怎么添加maven依赖,第1张

dea有import功能,可以导入本地源码和类库。 点File-->Import Porject,选择你本地的源码路径,根据向导提示导入,idea兼容四种IDE的工程: 1、Eclipse .project .classpath file,也就是你的源码中有eclipse的工程文件.project .classpath

IDEA不会帮你去网上搜索依赖包,这是maven干的事情。你应该去搜索你需要的dependency,然后把描述加到pom.xml的dependencies里。 顺便说一句,目前还没有哪个IDE比IDEA对Maven的支持更好。

idea的用法1:idea的基本意思是“想法,主意”,用作可数名词。idea也可用于学术方面,指“思想”“概念”。idea还可作“知道,了解”解。用于后两项意思时,既可用作不可数名词,也可用作可数名词。

idea的用法2:dea后常接介词“of+名词、代词、动名词或疑问词从句”作定语,也可直接接that从句作定语。

idea的用法例句:

1. I have a fair idea of how difficult things can be.

我大致了解情况会有多困难。

2. They have only a vague idea of the amount of water available.

他们只是大概知道可用水的总量。

3. Professor Baker is unacquainted with the idea of representative democracy.

贝克教授并不熟悉“代议制民主”这一思想。

4. The police told me. It was a bombshell. I had no idea.

是警察告诉我的。我很震惊,完全没想到。

5. "I told you Preskel had no idea," remarked Kemp with some asperity.

“我告诉过你普雷斯克毫不知情的,”肯普颇为不耐烦地说道。

6. She persevered in her idea despite obvious objections raised by friends.

虽然朋友们明确反对,她还是坚持己见。

7. Ford had the bright idea of paying workers enough to buy cars.

福特公司想出了一绝妙的主意:付给工人足够的薪水去购买汽车。

8. She had a confused idea of life in general.

总的来说,她对生活非常困惑。

9. It sounds like a wonderful idea to me, does it really work?

听起来这个主意很不错,真的能行吗?

10. He made contact with someone with an idea for reconditioning laser copiers.

他联系了一个会修理激光复印机的人。

11. He toyed with the idea of going to China.

他动过去中国的念头,但并没当真。

12. I don't have the least idea of what you're talking about.

我一点儿都不知道你在说什么。

13. The idea is to get the jump on him.

想法是要胜过他。

14. I did not have the foggiest idea what he meant.

我根本不知道他是什么意思。

15. The idea is to encourage people to get to know their neighbours.

1、先创建一个叫test1的java项目,新建一个Person类 2、创建第2个项目test2 勾选Web Application 2、配置test2 Crtl+Shift+Alt+S 打开Project Structure,选择Modules ->点第2竖栏的加号 ->选择Module 选第3项,Import existing module


欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/bake/11179250.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-05-14
下一篇 2023-05-14

发表评论

登录后才能评论

评论列表(0条)

保存