Intellij的想法 - Spring Bean配置文件 [英] Intellij idea - Spring Bean Configuration File

查看:134
本文介绍了Intellij的想法 - Spring Bean配置文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

简介:
我有问题因为我在Intellij Idea中是绿色的。我在春天的框架中开始了我的jurney,但是我在途中找到了用于蚂蚁的大石头,我也只为日食游客绘制地图。

Introduction: I have problem coz I'm green in Intellij Idea. I started my jurney in spring framework but I found big stone for ant on my way also I have map only for eclipse tourists.

主要问题:
我喜欢创建xml文件(Spring Bean配置文件)。但我不知道如何。我正在尝试安装插件,如(来自Intellij Idea存储库):
Unitils插件,
XML Bean Generator,
IdeaSpring。
但是只有我得到它的错误。

Main problem: I like to create xml file (Spring Bean Configuration File). But i dont know how. I was trying install plugins like(From Intellij Idea repository): Unitils plugin, XML Bean Generator, IdeaSpring. But only what I get its errors.

我看到在eclipse中这样做的人看起来很神奇:
http://screenshooter.net/101973359/ycqhwbh
现在我不知道是否真的是Intellij Idea智能工具如果哑巴不可能。

I saw guy which did it in eclipse and this was looking so amazing: http://screenshooter.net/101973359/ycqhwbh Now I dont know is realy Intellij Idea inteligent tool if dumb cant understead.

你们也可以(如果可能的话)给我一些很好的建议,让我们成为宇宙中最好的程序员吗?或者我的眼睛错过了一些不错的步骤?

Can u guys also (if possible) give me some nice tips for future to be best programmer in the universe? Or my eye missed some nice treads?

推荐答案

在项目中启用Spring插件:

Enable Spring plugin in your project:

File-> Settings ->Plugins 

并检查Spring插件( Spring Support Spring MVC,等。)

And check Spring plugins (Spring Support, Spring MVC, etc).

然后选择要将Spring配置放入的目录,右键单击并选择

Then select directory you want to put your Spring configuration in, right click and select

 New -> XML Configuration File -> Spring Config

或者你可以做 File->新建文件,只需创建xml文件并输入命名空间定义。 IDEA应该将您的项目识别为Spring项目并自行配置插件...

Alternatively you can just do File-> New File and just create xml file and enter namespace definitions. IDEA should recognize your project as Spring project and configure plugins itself...

或者,正如Anvesh Vejandla所提到的,您可以创建一个新的Spring项目

Or, as Anvesh Vejandla mentioned, you can just create a new Spring project

这篇关于Intellij的想法 - Spring Bean配置文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆