Idea's project configuration release notes

Module level:

1,java  ->sources

2,resources->resourcfes

3. There are profiles packaged in different environments, and the paths of these proflles should also be set to resources

 

 

dependency

Depend on the jars of jdk, tomcat, maven, etc.

 

 

web level in modules

 

web resources

Set the publish directory of the webapp

 

sources

Set the java to be published, resources (profile can be checked or unchecked, because it has been automatically published to resources when complie, and this directory is already set to resources, and it is just overwritten) file directory

 

Others can be set in the project structur, setting maven, jdk

 

 

 

tomcat settings

1. Specify tomcat

2. Specify the release war:explored and access context

 

 When idea is opened, the project is not seen, only the project environment file is seen .

Idea has multiple projects in one interface. You can first create an empty project, and then import the project by importing the module module, and no longer import the project project.

1. It can be used, file--open rencent---managent project can be opened, all projects under management will be recorded here

2. Right-click on the project name.iml file--import 'project' moudel

 

When the configuration file is imported, it will report that it cannot be found, or the bean of ref cannot be found.

1,project structs

 

 

modules plus spring--join the configuration file

         set resource file

         Add web resources file

 

 

 

 

Note: It doesn't matter if the red report in the target does not increase the file's road strength, as long as the resource file does not report red.

 

 

 

 

 

 

 

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326182320&siteId=291194637