Intellij IDEA project into eclipse

HoJe
a rep program will ape

. Thank 2019


Time flies, a blink of an eye 2019 joining us to say goodbye.
We cherish too many expectations it will inevitably lead to disappointment and frustration.
We had difficulty often than not, find ways to solve, but complained about the unfairness of fate.
If life can I wait until everyone else, maybe I would not have met so-called setbacks, right?

As I look at the vibrato of a small video, something born there, there. Something is not born, this life will not have again.
Why is he was born north of Guangzhou's account, and I was an unknown small town.
Why doorstep because he printed a "demolition", will be able to get rich?
Why ... too much of what ....
is this the fate of injustice?
have you ever wanted too, what you need to worry? Why kids over the hill even enough to eat?
I'm sorry, I do not believe in fate.
thanks to those extraordinary experience, let me grow.
thank 2019, so I will not go to complain about life, begin to enjoy life.
thank 2019, so I will not escape their own mistakes, the courage to face setbacks encountered.
thank 2019, I met a lot of people.
thank 2019, I embarked on a program of ape road.


2020, let us continue to fuel the code change the world!

. Preface

My cause is the entry of that company, are some of the old staff, they are used in the development of eclipse.
Are now using Intellij IDEA development, and online statistics Intellij IDEA development efficiency is faster than eclipse.
Eclipse is free, but now the internet is full of ways to break the idea.
so I suggest you try to use the idea to develop.

Recently silly thing, with the eclipse period of time is really not used to.
So today toss the afternoon Intellij IDEA project into eclipse.

Write a summary, forget the fear of the future.
After all, old people Well, memory is not very good.

. First import project

  • The first step to import
  • The second step to select the item you want to import
  • The third step is to select eclipse



Then no brain directly next

Do not think so imported, not so simple!

. Configuration dependent (jar package)

1. Select File -> Project Structure, selection modules, the imported selection module



2. Delete all of the error

3. Add rely on their own projects, click the plus sign to the right, select jars or directories ... to select the next eclipse lib all jar
IDEA does not automatically import the jar to help you add a new package, if you need to add a jar package needs to Dependencies re-import dependence.

Has not finished yet, read on.

. Configuration web

Click Moduls, the right to add web-based configuration in your project.


Note: The Web is more important this option, if you want to develop Web projects must include this on our Web root directory Web.xml and do a configuration

Observant students may find the "Web" Facet resources map at the bottom of the are not included in an artifact
here that some students do not know the artifact is what, in fact, as long as you understand it to "generate something," the main thing is your project in the configuration generates a "product" for use Tomcat release.




After the import is successful (no error, no wavy lines on the right side there is no jar), then look at the structure of our artifact and is not released in exactly the same Tomcat, so that you can add to the Tomcat up and running.

. Configuring tomcat




Finally started to get away

Note: it is possible to start compiling error

Because Eclipse intelligently to UTF-8 + BOM file into a common file UTF-8, IDEA does not have this intelligent conversion.
Conversion with IDEA, is first converted to GBK, UTF-8 and back to

Article reprint https://www.cnblogs.com/diffx/p/10000123.html
article reprint (https://www.cnblogs.com/lindp/p/4484390.html)

886

Well, here today 886!

Guess you like

Origin www.cnblogs.com/xbei-HoJe/p/12158910.html