First, in Eclipse, right-click on the project name that needs to be packaged, and then point the mouse cursor to "run as" in the Popup box:Second, you will see a floating window appears on the right side of the popup box, as follows:Third, on the top of the second hover window mouse click "Maven clean", MAVEN will erase the previous package information on the project, after execution in the Eclipse console console will see the following information:Four, then repeat one or two steps, select "Mav
Make the server SSH-free before running.The configuration file does not have much change to overwrite the previous configurationProfile configuration fileBak=/home/wsm/bakWebapps=/home/wsm/webapps/wsmmeasurearry=192.168.68.29 192.168.10.147Newwar=1.warDeplypath=/home/wsm/deploySCP.SH Copy related war and script to remote servicescp.sh#!/bin/bash# copy war|deploy.sh|profile#scp 1.
Springboot with a built-in Tomcat server, you can package the project directly into a jar, but what if you need to make the project a war package. Here are some steps to deploying a Springboot project as a war project
1, first in Pom.xml package form jar modified to war
2. To remove the Springboot built-in Tomcat dependencies, it should be noted that when usi
Recently good busy good busy, sorting out the mood for everyone to share under their work encountered a little skill, hope to meet the same trouble students a little help.
We know that the Java Project War package can be automatically packaged in the Eclipse and MyEclipse tools, right, and then export the war package, but I found that one of my projects was a little bit of a hassle during the
Hits: 739Three types of projects in Maven:1.pom Engineering: Used in parent engineering or aggregation engineering. The version control used to make the jar package.2.war Engineering: A project that will be packaged into a war and published on a server. such as websites or services.3.jar Engineering: It will be packaged as a jar for use as a jar package.Take Amoy Mall as an example:I. POM ENGINEERING1. Taot
The usual development is that we deploy the project through the IDE, but sometimes we have to deploy it manually (for example, on the server).Manual deployment is divided into the following steps:1th Step: use Maven to fight the war package (if the resulting war package is named: Appkit-web.war)MVN PackageIf you want to skip the test during the packaging process, use the following command:MVN package-dmaven
This document documents the process of using idea to export a war package and the solution to the problem.
Although we are now using idea for development, I still use eclipse to fight the war package ....This is not the way to go.So try to pack it today with idea.The project uses the SSH framework and is not managed with Maven.
The first step is to configure the Web application:exploded
War package: After a Web application is done, it is usually a Web site that is packed into a container
Jar packages: Commonly used as a generic class to be referenced at development time, packed for easy storage management.
Ear Packs: Enterprise applications are usually EJB-typed ear packs
Various packs of the play:
Turn:
Brother, are you crazy about Java, or for your own livelihood, welcome you into the wonderful Java world, welcome. Maybe you just s
"The National Aircraft War Second strategy"
1, in the game to move the hand to stabilize the front of the enemy and bullets to come not afraid, to calm down to control the direction of the aircraft to avoid. If this time is not calm, it is easy to move a little bit more position will lead to death.
2, in your sight of the enemy aircraft to try to destroy, do not hesitate what. Only when the enemy has just entered the screen to destroy them, this wil
The opening of the Beijing Olympics will begin with a visual feast. And the Beijing Olympics also for the domestic booming network video industry brought opportunities, portals, network television sites, video sharing sites are all gearing up.
Now, around the Olympic Games video rights of the qualification war has been settled, real thing of the fighting also with the advent of the Olympic Games laid out. But how many winners will there be in this Ol
Film poster production is very complex, first of all, to the content of the film has a deep understanding of the background of the story, the time, the protagonist and so on. When the production of the content of the plot, the protagonist, such as integration into the vivid picture, the theme can be highlighted.Final effect
1, always want to do a war on the subject of a composite work, just the material
Docker's container operation is no problem, and the next step is to integrate with our Tomcat app to deliver the actual service.According to the official web, two ways of packaging and publishing .One is to build maven Dockerdirectly and then package it directly by placing the war package under the corresponding build file.The other is to manually add the war package , pack it into the container, and then s
---restore content starts---Play "Little war" friends know that the small war is actually a feature of the game Chess hand tour, today want to share with you is a small war novice skills.Small war mainly through the control of a soldier to the landing-type amphibious combat, the game map scene is a variety of, the key
A dependency reference between two Web projects. The Web project is referenced by the way the war package is used. For example, there are two projects, Puzzle-web and Puzzle-web-demo, and two are Web projects, and Puzzle-web-demo depends on Puzzle-web, which is configured as follows.(1) Puzzle-web Configuration of package in Project Pom.xmlA, compile the plug-in version to use 2.4, otherwise, you can appear in the
Java packaging is an issue. It is inevitable to create a war package or jar package. In general, there are two methods to directly use the JDK command and ant. Let's sort out these two methods today.
1.1 million war packages
1.1 Use commands
> Jar CVF project_name.war // expand jar xvf project_name.war
1.2 ant
View code
1
XML version = "1.0" encoding = "UTF-8"
?>
2
Projec
The hero of World War II is a game I like very much. Although it was a bit old in years, I always took it out for a long time.
There is no repair box in the reward task "tank attack". It is a pity to watch the damaged tanks. some people say that they want to use mod, but they haven't found the legendary tank repair mod for a long time and finally found a method to modify the archive. share it! Although programmers do not like this, I recommend that yo
dispatching troops.
Qi zhenggong said to Guan Zhong, "the two countries have farmland and rich grass (a cash crop used for dyes). What should they do if they have a strong national strength ?" Guan Zhong has been opposed to solving the problem by force for a long time. This time, he suggested a commercial war with Qi Gong. He said, "The two countries are rich in grass, while China is rich in copper, the Lord, you can send people to make a lot of copp
1. First of all, tools like eclipse are handy.2. With tools such as WinRAR, the Web-info directory, as well as all the directories and files with it, packaged into a zip file, and then change the extension to war!3 jar Command:Suppose you have a Web application: C:/myhomemyhome/web-inf/...Myhome/files/...myhome/image/...myhome/src/...myhome/index.jspUnder the Command Line window, execute the following command:C:/GT;CD MyHomeC:/myhome/>jar CVF Myhome.w
preparation before using ant script
1, download an ant installation package. such as: Apache-ant-1.8.4-bin.zip. Extract to E disk.
2, configure environment variables. Added Ant_home:e:\apache-ant-1.8.4;path added: E:\apache-ant-1.8.4\bin.
3, check ant is configured to complete. Run->cmd input: ant-version. See if you want to print an ant version number. the essence of packing build the essence of a jar package
1, compile the Project src folder under the Java file, generate the corresponding cla
Structures and differences of ear, war, and jar files
Q: What are the differences between the new applications deployed in weblogic8. the application EJB module and the web application module connector module?
If an application contains EJB, JSP, and Servlet, the deployment steps are as follows:(1) generate the ejb jar file. The best JAR file corresponds to an EJB(2) generate a war file for the web appl
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.