The pit is so deep that I can't breathe.
as the friends said, I removed springboot embedded tomcat, and then rely on SERVLET-API, modify the start class to inherit Springbootservletinitializer, fight into a war into Tomcat
but .....
Visit newspaper 404
this could be a split line . One, the war package released to Tomcat (this step has been completed, skipped) 1. Pom.xml
Remove inline Tomcat
'
Ma
One: Hit Jar bagAdd the following dependencies in the Pom.xml of the project Our current project is using the packaging method of the jar package command, jar package. we went into this directory to open this jar package with compression software , where we found a folder called lib , open Lib Folder Discovery This folder is full of project-dependent jar packages, and even Tomcat. This jar package contains a jar package , which we call the Fatjar ( fat jar Package )since Fatjar itself
Preparation before using Ant script1, 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 c
4668: Cold War time
limit:10 Sec Memory limit:256 MBSubmit:37 solved:24[Submit] [Status] [Discuss]
Description1946 March 5, the former British prime Minister Winston Churchill in the United States, Fulton published "Iron Curtain Speech" formally opened the Cold War prologue. The United States and the Soviet Union were the world's "superpowers", and the two countries and their allies fought for deca
Core tip: Large-scale major wars may require a wide range of ground-space synergy between drones, helicopters and ground vehicles, infantry and armoured vehicles.Reference Message Network May 4 reported the United States "national interests" bimonthly website May 2 published the "United States Army is preparing for the Great Power War (think of Russia or China)," the author of the article, Chris Osborne, compiled as follows:The U.S. Army is now develo
Deploy applications in wasProgramUsually, an empty war package is deployed first, and then the program is overwritten under the application directory. Otherwise, war Packages containing various programs will always encounter war package exceptions during deployment, because was will strictly verify the content format of the w
of all said, people's cecum is too difficult to find-the middle of them are a few troops mules, attended to military horse surgery, Horse's cecum is very big, mule of the cecum is not small, which the cecum is larger than the human, is to consider the person small in the inside, his cecum is too small. Idle chat, I said to them: you are not familiar with the water of people, do not give people an axe. What do you think they said? "The more you are not familiar, the more you move--Learn
First myeclipse the package project as the war file, select "Target runtime" and tick "Export source files". Package it into the war file we need, Emample.war.Use terminal ssh to connect to our servers remotely, such as: Command line off Tomcat, Cd/usr/local/tomcat-7/bin./shutdown.shThen you can choose to rename the files inside and then move them back to the other place.Cd/usr/local/tomcat-7/webappsLsView
The difference between a jar package and a war package:The war is a Web module that needs to include Web-inf, which is a Web module that can be run directly.The jar typically includes only some class files that can be run with the Java command after declaring the Main_class. They are all compressed packages, with Tomcat, to put the war file package in its \webapp
(Image Source: www.cnblogs.com)
Source:OpenGL 3 DirectX 11: The war is over
CurrentlyDirectXAndOpenGLIn an age that has been quite popular, we gradually seem to have forgotten the grievances of the two. On the famous hardware websiteTom's HardwareIn this column, the author leads us to review the ups and downs in the "Drawing API war" and the future prospects of OpenGL 3 and DirectX 11. It is a good article
The normal boot project is packaged as a jar package, and the boot project has built-in tomcat. The general package is MVN clean install-dmaven. Test. Skip.
Clean remove all files generated by the previous build
Install install the package to the local repository to make other projects dependent
Maven. Test. Skip skip Test
Run the following command: Java-jar XXX. Jar
For some external reasons, we need to package the project into a war package. At this
Assume there is a Web application: C:/myhome
Myhome/WEB-INF /......Myhome/files /......Myhome/image /......Myhome/src /......Myhome/index. jsp
Run the following command in the command line window:
C:/> Cd myhome
C:/myhome/> jar CVF myhome. War */.
Explanation:Jar CVF[A= War package name].War[B= "Resource files and folders] [C= "Target folder of the
Jetty embedded web war Release MethodI. Launch method of direct war:1) the content of the Runner class is as follows: note that it must be in the root directory, but I personally think it is not necessarily ImportJava. io. File;ImportJava.net. URL;ImportJava. security. ProtectionDomain;ImportOrg. eclipse. jetty. server. Server;ImportOrg. eclipse. jetty. server. nio. NetworkTrafficSelectChannelConnector;Impo
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
Guangfu recently recommended "West Point Military Academy leadership" on his company. He recommended this book and "Business war" on Weibo some time ago, saying that it has a great influence on him. I recently read it together.
The West Point military leadership is a collection written by many authors. The editor tries his best to make these collections systematic. These authors have their own management experience, experience, and experience. Theref
said, MediaTek is currently studying 8-core mobile phone chip solutions, the future is likely to upgrade to 10 or even 12 cores, and even this year release! What's the matter with MediaTek, why detonate the nth "nuclear war"?12 cores? MediaTek or have toWe might as well start by looking at a set of data: MediaTek's sales revenue reached NT $213.06 billion in 2014, a new record. Meanwhile, the combined income reached NT $55.45 billion in the fourth qu
the difference between a jar package and a war package is that a jar package is a class that someone else has already written, and then they are packaged, and you can bring the jar packages into your project, and then you can directly use the classes and attributes in those jar packages, which are typically placed in the Lib directory. The war is a Web module that needs to include Web-INF, which is a Web mo
Spring Boot war package instance tutorial, springwar
In addition to executable jar packages, Spring Boot also supports traditional war packages. This article describes how to use Spring Boot to build a traditional war package.
Follow these steps to create a war package for Spring Boot:
1. Define the packaging type in p
I recently learned to use Jenkins+svn+ant to automatically deploy an ear file. So here's a note on how to automatically deploy an ear file to WebLogic via Ant.Usually we can publish the application directly via WebLogic, that is, by logging into the WebLogic Web console and uploading the Ear/war file to the server.Below, we will use ant to implement similar upload ear file functions.This assumes that the ear file is ready. Focus on how to deploy the e
I 've been so busy recently. I want to share some tips I 've encountered at work with you, and hope to help my colleagues who have encountered the same troubles.
We know that the war package for the Java project can be automatically packaged in Eclipse and MyEclipse tools, that is, right-click and export the war package, however, I found that a war package in one
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.