As a rookie, I still want to improve myself. But now that it's a rookie, it's easy to break the wings halfway.
From just heard IntelliJ idea (hereinafter referred to as IDEA) to now, it should be more than one months, my computer installed three or four times (just changed a computer), each time is configured Java development environment
Idea as long as the configuration of Java can be used (just changed linux,windows need to install, install package, self-Baidu website download)
Just started to contact, but the configuration of Jdk,tomcat,maven is also relatively easy
The first thing was to get familiar with the project directly from GitHub, and then to bring in the Learning project, which was to learn, to learn the idea, to learn programming.
Then I had a tragedy, my project was Tomcat server, and of course it worked well in eclipse
Go to idea, every time it runs successfully, but the page is 404,not found
Last week, once I gave up idea, it was really annoying, I was a slag, with the eclipse of the people to go
Delete the project path inside the hard drive, idea file.
Hey, today at home, listening to the opposite square dance song, the morning to do keyboard mapping bored to death, just look at idea
The directory and the running files are new ...
Then I found this page, before because the run was unsuccessful, found a lot of pages.
"HTTP://WWW.TUICOOL.COM/ARTICLES/AZBRNRR"
According to this page, step by step to do, finally, hehe, success ...
I think that the previous problem may have been here
1.
Click Modules, select Item "Javaweb", Switch to Paths tab, tick "Use module compile output path", and "Output path" and "T EST output path is changed to the classes directory created earlier
2.
Configure Packaging Method Artifacts: Click on the Artifacts tab, idea will automatically create a package named "Javaweb:war exploded" for the project, which means that it is packaged into a war package and is file-expandable, and the output path is the out text under the current project folder, keep the default. Also tick "Build on Make", indicating that the compile time package deployment, tick "show content of elements", indicating the display of a detailed list of content.
Intellij idea Configuring and publishing the Tomcat project