Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Eclipse creates Maven scala project installation and solves the problem of slow loading project types

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

Build a maven scala project using Eclipse

1. Install Scala IDE first, Help-- > Eclipse Marketplace--- > enter scala-- > Install.

2. Select the following 4 items that need to be installed

3. Continue to install until the installation is complete.

Second, in addition to installing Scala IDE, you cannot create a Maven scala project. After installation, you can only create Scala Project. Next, you need to install the Maven scala plugin plug-in.

1. Select Help-- > Install New Software.. in the Eclipse tool. Plug-in address:

Http://alchim31.free.fr/m2e-scala/update-site

2. After the installation, you can create a Maven scala project. New Project-- > maven project-- > All Catalogs-- > search scala- has no results, but there are actually some operations. Look at the three steps.

Third, it is still not possible to create a maven scala project on the above steps. One more place needs to be added because each time you need to go to the specified file to get information about the project type in the Maven. There are two solutions to this situation.

1. It takes a long time to get the project type information from the http://repo1.maven.org/maven2/archetype-catalog.xml address and remotely. The method of adding is as follows:

2. Next, try to create a Maven scala project, which takes about 2 minutes to display through a scala search.

Fourth, after completing the above steps, you can create a Maven scala, but the speed of creating the project is too slow because it is to remotely connect the file. You can download the archetype-catalog.xml file locally and try it.

1. Add archetype-catalog.xml to Maven archetype.

2. Re-create the project and search with scala, and the result will be found in seconds. After the above steps, the last Local catalog method is recommended.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report