Xianyunyehe of Time, talk about the idea maven integration
Step one: Open idea-> File-> New-> Project
Step two: idea in jdk version 1.8 recommended above are picked out after the next point
The third step: Fill Well, the point next.
GroupId project name
ArtifactId module name
Version current project version (snapshot snapshot version, release the official version)
Step Four: Attention, this interface is the default! ! ! We have to adapt
maven home directory is the installation location maven
User settings file is settings.xml file in the conf maven, that is where you configure local storage and remote repository
Local repository is the location of your local repository
Step five: This is the path after the changes, click next.
Step Six: point finish.
Step Seven: If BUILD SUCCESS appears Congratulations maven project to create success.
Step eight: Check if there are local warehouse jar package
1, after being given the IDEA import Maven project can not resolve symbol solution
https://www.cnblogs.com/kellyshang/archive/2019/09/28/11603975.html
2, IDEA Maven project after importing error Unable to import maven project: See logs for details.
The reason: idea maven and compatibility issues
to resolve: Anyway, my version is idea2019.1.3 and maven3.3.9 of.
3, IDEA import Maven project directory structure appears incomplete
https://blog.csdn.net/xintonghanchuang/article/details/90584211
5, the local repository program IDEA Maven introduced deletion jar package, where people can start a normal copy of the local repository; link or reference to the following
https://blog.csdn.net/qq_29410905/article/details/80084510
4, IDEA import the project can be more refreshed and more and more clean install.
Step Nine: idea publish maven project
jsp written content.
Tap install packaged, appears target folder.
点edit configurations…
Under tomcat with probably say, probably tell at what position.
Click to configure.
Find your local tomcat in the corresponding path, into the herd, point ok.
This interface came to be labeled as war package, point ok
If it does not appear, it will manually add, point ok, go back to the page to add deployment.
The last point run on the line
These problems are my pro-test passes, we hope to be useful Oh.
If you feel good, little praise.
If you feel good, to give evaluation.