Tag:maven

  • IDEA usage log: record the server problems and solutions caused by configuring the running project

    Time:2022-11-29

    When using Git to organize code, only check the files you have changed when committing. Do not check the rad.properties file and the .xml file. Note: At this point, the code is only submitted to the local library. To upload it to the Git library, you need to click Push to upload it to Git. […]

  • Can Gradle really kill Maven? Tried it out today, it’s cool!

    Time:2022-11-28

    As Java Web development, many friends are using Maven as a construction tool. As a build tool strongly supported by Google, Gradle has been widely used in Android development, and it has a tendency to replace Maven in Java Web. Is Gradle really that fragrant? Let’s experience it today, with my scaffolding projectmall-tinyAs an example, […]

  • IDEA configures the running environment of the maven project in Git

    Time:2022-11-27

    After importing the project on Git, close the project. Click Open to open the project from the pom.xml file. Configure the Git development role and rad.properties (under the development folder). In the Maven window on the right, click Reimport All Maven Projects. Configure Tomcat: Delete the original Deployment in the Deployment and add a new […]

  • Idea maven multi-model cannot refer to each other

    Time:2022-11-26

    Phenomenon: idea reports an error, and one model cannot find the dependencies of another model. After executing maven install, the dependencies can be found, but what is found is the jar package after the installation of other models, not the source code in the project.Analysis code reason:The model version number is controlled by the properties […]

  • Private book list of Ali technicians and developers

    Time:2022-11-25

    Introduction:In the context of fast-changing and uncertain times, embracing change has become the norm. How to deal with it, how to break the situation? Continuous learning and continuous improvement through reading may be the lowest cost and most efficient way. Author | Ali MeiSource | Ali Technology Official Account In the context of fast-changing and […]

  • META-INF/versions/9/module-info.class conflict resolution

    Time:2022-11-24

    I recently transformed the automation project and wanted to introduce a foreign automation framework: selenide.It was found that after the jar package was introduced, package conflicts were reported all the time.Look at the exception thrown by a conflict detection plug-in of maven <groupId>org.apache.maven.plugins</groupId> <artifactId >maven-enforcer-plugin</artifactId> <version>1.4.1</version> The specific error is as follows: NFO] Adding ignore: […]

  • If you quickly convert the maven project into a gradle project

    Time:2022-11-23

    Here is a quick operation, as follows: First open Terminal and switch to the folder where pom is located Execute the following commandgradle init –type pom The normal result is as follows H:\springcloudproject\springcloud\api-gateway>gradle init –type pom Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use –status for details > Task :init Maven […]

  • JavaEE tomcat10 stepping pit record

    Time:2022-11-22

    1. Tool introduction tomcat: stable 10.0.6 IDEA 2021.1.1 maven: stable 3.8.1 2. Process description Use idea to directly create projects and choose java enterprise The project automatically generates pom files and introduces the dependency of servlet-api <dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId> <version>4.0.1</version> <scope>provided</scope> There is no problem in writing the project, there is no problem in static […]

  • Ali P7 masters share the unknown skills of Spring Retry for the first time

    Time:2022-11-21

    Today’s sharing starts, please give me a lot of advice~ External services are generally unreliable for the caller, especially when the network environment is relatively poor, and network jitter can easily lead to abnormal conditions such as request timeouts. At this time, it is necessary to use the failure retry strategy to call the API […]

  • Docker installs Jenkins to automate the deployment of Maven projects

    Time:2022-11-20

    Jenkins version 2.277.4Docker version 20.10.5 Jenkins Chinese official website ->https://www.jenkins.io/zh/ Install Jenkins Everything is so simple to install docker, pay attention to check whether the 8080 is already occupied! docker run –name jenkins -u root –rm -d -p 8080:8080 -p 50000:50000 -v jenkins-data:/var/jenkins_home -v /var/run/docker.sock:/var/run/docker.sock jenkinsci/blueocean If the port number is not changedAfter the installation […]

  • JavaEE tomcat10 stepping pit record

    Time:2022-11-19

    1. Tool introduction tomcat: stable 10.0.6 IDEA 2021.1.1 maven: stable 3.8.1 2. Process description Use idea to directly create projects and choose java enterprise The project automatically generates pom files and introduces the dependency of servlet-api <dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId> <version>4.0.1</version> <scope>provided</scope> There is no problem in writing the project, there is no problem in static […]

  • Maven | Cannot resolve plugin…

    Time:2022-11-19

    Problem Description Use IDEA + Maven to manage the project and develop the spring project. When the jar package starts to be downloaded, the following exception occurs Cannot resolve plugin org.apache.maven.plugins:maven-war-plugin:2.2 After the console, the following information appears one after another: problem analysis For the analysis of the environment at that time, it is possible […]