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

How to build a Java web project from scratch

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

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

This article to share with you is about how to build Java web projects from scratch, Xiaobian feel quite practical, so share to everyone to learn, I hope you can gain something after reading this article, not much to say, follow Xiaobian to see it.

So today from the most basic development tools to write, development Javaweb is currently commonly used Eclipse and Intellij idea(hereinafter referred to as idea), two tools are very powerful, I introduced here, is also my recommended tool idea.

1. Download and install: https://www.jetbrains.com/idea/download/#section=windows, click on the next step until the installation is complete. (crack: http://idea.lanyus.com)

2. Plugins installation: File->Settings->Plugins. Select Browse repositories on the right.

Please search for and install the following common plugins, and then proceed to the next step: Plugins will be used later. Don't worry if you don't know.

If you used eclipse before, the next section describes how to smooth the transition to IDEA.

Find the code formatting template in eclipse, export it as an xml file, and place it in the IDEA installation directory.

Disrelish troublesome children's shoes, you can copy the following link to download my formatting template:(ctrl+shift+f formatting code)

java: http://oqdpapa6l.bkt.clouddn.com/javaFormatter.xml

_javascript: http://oqdpapa6l.bkt.clouddn.com/JsFormatter.xml

Configure formatting plugins: File->Settings->Other Settings->Eclipse Code Formatter

Follow the configuration below, please note: Path Select your corresponding format file

To configure eclipse shortcut keys: Settings->Keymap, select Eclipse Copy on the right. Since idea will automatically save code, for convenience, bind ctrl+s to a build project and search for Build Project.

Configure the jrebel plugin: request a twitter or facebook account. Then go to my.jrebel.com to link your account and set up your profile. You'll get an activation code. Enter it in the IDEA Settings Jrebel field.

OK,IDEA basic configuration is complete, next start creating web project.

The above is how to build Java web projects from scratch, Xiaobian believes that some of the knowledge points may be what we see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.

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