Use Eclipse Of Maven Plug ins create projects

If your Eclipse Installed Maven plug-in unit , establish Maven The project is quite convenient , The created project is like :

  • advantage : The library name referenced by the project is "Maven Dependencies", This is in Eclipse perform goal When It will update automatically Reference class library ;
  • problem : and "JRE System Library" yes J2SE-1.5( The old version ), This will call the police ;
  • solve :
    1. In your project “JRE System Library [J2SE 1.5]” Right click ;
    2. choice “Properties”;
    3. choice “Workspace default JRE”;

Use Maven Of Eclipse Plug in conversion project

Sometimes we use Maven The project created by the command line , Need to use Maven Of Eclipse Plug in to Eclipse Projects are easy to edit :

mvn eclipse:eclipse

And then use Eclipse Import this project into , Such as :

  • advantage :"JRE System Library" yes J2SE-1.7( And Eclipse identical ), They don't call the police ;
  • problem : The reference library name is “Referenced Libraries”, This is in Eclipse perform goal When It won't automatically update Reference class library ;
  • solve : Every time you do it again "eclipse:eclipse", Or use Eclipse Of Maven Plug in import project ;

PS: To sum up, I prefer to use Eclipse Of Maven Plug ins create projects , There's no need to go around .

Maven convert to Eclipse More related articles on post project dependency library update

  1. struts2.3.4.1 convert to eclipse The process of the project

    1. Install the configuration locally maven. 1.1. from maven Download from the official website , Official website address :http://maven.apache.org/download.cgi 1.2. To configure maven environment variable       for example , my ...

  2. Maven convert to Eclipse/Idea/MyEclipse engineering , As well as the configuration Web engineering

    Eclipse/MyEclipse: //Jar mvn eclipse:eclipse mvn eclipse:myeclipse //Web mvn eclipse:eclipse -Dwtpve ...

  3. 23333 Another water article ( Here are all kinds of copies of maven Turn into eclipse project )

    ( Reprint ) When we pass the template ( Like the simplest one maven-archetype-quikstart plug-in unit ) It generates a maven The project structure of , How to translate it into eclipse Supported by java project Well ? 1. set ...

  4. How to integrate android studio Project to eclipse

    to update : Although I stick to eclipse Very long , But now I don't recommend using it any more eclispe 了 , There's nothing wrong with using your own project , But if you want to use github Project on , use eclispe It's going to be harder and harder . If you're still interested , Keep looking down ...

  5. take Maven Project to Eclipse Supported by Java project

    When we pass the template ( Like the simplest one maven-archetype-quikstart plug-in unit ) It generates a maven The project structure of , How to translate it into eclipse Supported by java project Well ? 1. Locate the mav ...

  6. maven Project to dynamic project

    because maven The project cannot be run directly. Debugging needs to be converted to danamic web after , To facilitate debugging and testing . Here are maven The process of project transformation First step , choice project faces, Set up dynamic web edition . ...

  7. Use cmd Command to create maven(web) project + Project to IDEA project + Project package +Jetty function Web project

    3 Conditions : Configure the environment Configuration environment tutorial :https://www.cnblogs.com/weibanggang/p/9623705.html First step : View version information , stay cmd Input mvn –version, If ...

  8. take Eclipse Project to AndroidStudio Problems encountered in the process of the project and solutions

    take Eclipse Project to AndroidStudio The project is not the first time , I had a few problems when I turned around yesterday : First, import the project into androidstudio, Report an error after leading : Question 1 : Error:java.util.c ...

  9. Java Project to Web project

    This paper : Sometimes we are Eclipse Import a web project , It turns into a Java project , It's very painful . This article mainly talks about how to translate this into web Project Java Project change back , And some of the problems encountered in the import process ...

Random recommendation

  1. Drools Tag the log

    One . Define the log model public class Logger { // Log number private String id; // The goal is IP private String targetIp; // Target port p ...

  2. Good Bye 2013 A

    A. New Year Candles time limit per test 1 second memory limit per test 256 megabytes input standard ...

  3. poj1873 The Fortified Forest convex hull + enumeration Water problem

    /* poj1873 The Fortified Forest convex hull + enumeration Water problem Make a wall for the grove with the wood of the grove Every tree has value Seeking the lowest consumption value , Output the number of the cut tree and the remaining wood If the value of cutting is similar ...

  4. Some of the latest column changes sql( Have their own , Someone else's ), For record

    --case when Classic usage SELECT * FROM        (SELECT 1 NUM,              ' The amount of the award ',              SUM(CASE WHEN ...

  5. adb devices: no permissions

    The phenomenon : #sudo adb root Error:insufficient permissions for device #adb devices List of devices attached ? ...

  6. reaver How to use it

    reaver Very good , For us ceng The net belt has the greatest convenience , Easy to use , Let me talk about my own experience ! First step , If you use a virtual machine, use vmware Of , There will always be a mouse does not work, point to the place , another 6.0.2 build-598 ...

  7. php Yii2 The image url Automatic addition localhost

    resolvent : Add... Before the address http://, such url It's the absolute address , If not, it's the relative address , The viewer will automatically switch , The add localhost

  8. log4cplus stay Linux Next compile and use

    log4cplus For the first time in windows It's done very quickly when you use it , Recently Linux I encountered many problems when I tried to use it , The main reason is that Linux I'm not familiar with the compile connection for , The following is a record of the installation process , I hope it can help people in need . ...

  9. Educational Codeforces Round 58 A,B,C,D,E,G

    A. Minimum Integer link :http://codeforces.com/contest/1101/problem/A Code : #include<bits/stdc++.h> ...

  10. CAD One of the skills 002—— How to use Cass Interpolate or encrypt elevation points

    CAD One of the skills 002—— How to use Cass Interpolate or encrypt elevation points If a lot of comrades meet with wonderful flowers Cass Interpolate or encrypt elevation points , What do I do , Editor by editor ? If the workload is heavy , What shall I do? . Today nine days will teach you a good way ! Scrap ...