Catalogue [-]
Raw materials
Pre-conditions
Installing Docker
Practice
Download image
Start container
Install related software
Installing the JDK
Installing Tomcat
Setting environment variables
Writing Run scripts
Exit container
Create a Java Web image
Start the Java
Android server development 1-use Eclipse to build a Java Web server, androideclipse
This blog introduces how to use Eclipse to create a Java Web program, which lays the foundation for interaction between the Android client and the server. There are many programs available f
Eclipse is an open-source, Java-based, extensible development platform. For its part, it is just a framework and a set of services for building a development environment through plug-in components. Eclipse comes with a standard set of plugins, including Java development tools (Java Development kit,jdk), which is an essential
compilingTargetcompatibility: Generate Java version of classFour. Building a Web Project1) need to add Web plugin: Apply plugin: ' War '2) War task is primarily used to package a Web application as a war3) Consistent with MAVEN specification: Web related resources are locat
Docker is one of the hottest technologies of the 2014, and almost all programmers have heard about it. Docker is a "lightweight" container technology that almost shakes the status of traditional virtualization technology, and more and more companies are now starting to use Docker to replace existing virtualization platforms. As a Java programmer, it's time for us to learn Docker together! This article makes a comparison between virtualization technolo
lot more icons handyThird, Maven introduction and configurationMAVEN is a project building and management tool that provides methods to help manage builds, documentation, reporting, dependencies, SCMS, publishing, and distribution. It is easy to compile code, manage dependencies, manage binaries, and more.We use MAVEN to build the project, so in the future development without you manually to download the jar package, all the jar package warehouse man
Original http://www.importnew.com/21798.htmlDocker is one of the hottest technologies of the 2014, and almost all programmers have heard about it. Docker is a "lightweight" container technology that almost shakes the status of traditional virtualization technology, and more and more companies are now starting to use Docker to replace existing virtualization platforms. As a Java programmer, it's time for us to learn Docker together!This article makes a
The error message in index.jsp in the MAVEN Web project is as follows:The superclass "Javax.servlet.http.HttpServlet" is not found on the Java Build PathAs you can see from the error message, the class cannot be found, that is, the corresponding jar package cannot be found.So the solution is to refer to the corresponding JAR package.Premise:You need to set up ser
/docker.sock/v1.18/images/json:dial Unix/var/run/docker.sock:permission denied. is trying to connect to a tls-enabled daemon without TLS?Adding the current user execution permissions to the appropriate Docker user group will solve this problem.Add a new Docker user groupsudo groupadd Docker# Add current user to Docker user groupsudo gpasswd-a bingyue Docker# Restart the Docker background monitor processsudo service docker restart# After restarting, try it and whether it takes effectDocker versio
How to build a Java Web site's operating environment, taking the Windows operating system environment as an example:
First step: Download and install the JDK (JDK is the basic environment for Java programs to run, It's like. NET Framework, it should be noted that, depending on the type of server operating system select
OK5. Configure Tomcat:This configuration can only be configured once, not every project needs to be configuredEdit Tomcat directory under/conf/tomcat-users.xmlAfter adding the following code to the The user name and password here correspond to the configuration in maven above6. Deploy the Running project:Run the Tomcat directory first/bin/startup.bat clean install Tomcat7:redeployThen right-click on the project run As--maven build and enter in goals:
I am learning Linux recently, I want to build a Java Web development environment to consolidate the basic knowledge of learning.1. Clear the experimental environment and download related softwareBuild a Linux environment in a virtual machine. 1.1 is related software. Utomcat, 64-bit Linux under JDK, MySQL. Figure 1.1 Required Software2. Make the ISO file.You need
Recently I am working on a small project, using Maven corresponding to m2eclipse plug-in and spring MVC.
1. Create a Maven web project in eclipse
Http://limingnihao.iteye.com/blog/830409
1.1 create a Maven project and select Maven-Archetype-webapp.
1.2 configure the maven Project (I personally don't think it is necessary)
1.3 turn the project into a dynamic web project. Right-click the project, select
Docker is a "lightweight" container technology that almost shakes the status of traditional virtualization technology, and now more and more companies are starting to use Docker to replace existing virtualization platforms. As a Java programmer, it's time for us to learn Docker together!
This article will be a comparison of virtualization technology and Docker container technology, and then lead to some Docker terminology, such as: containers, mirror
It is common to build Word documents in Web projects, and there are many Java-based solutions, including the use of Jacob, Apache POI, Java2word, Itext, and so on, in fact, starting with Office 2003, You can convert an Office document to an XML file so that you can use a template engine like Freemarker to replace the placeholder with the real data as long as you
be able, and then run the script startup.sh in the extracted Bin folder to start the Tomcat serviceTest:HTTP://IP Address: 8080See if the browser can appear in the Tomcat Docs document, assuming it does, then it means that Tomcat is good.3. In accordance with MySQLsudo apt-get install Mysql-serverAfter the installation is complete. The MySQL environment variable is configured itself.Test:Input:Mysql-pInput passwordAssuming that you can connect to MySQL, it means MySQL is okay.Extension: Start a
sudoservice docker restart
# After restarting, try it and whether it takes effect?
1
docker version
#若还未生效, the system restarts, it takes effect?
1
sudoreboot
Docker Common Commands# download an Ubuntu image?
1
sudodocker pull ubuntu
# use Ubuntu to run an interactive shell?
1
sudodocker run -i -t ubuntu /bin/bash
#docker PS Command?
123
Today to build the environment eclipse, a simple JSP page appears with this error: The superclass Javax.servlet.http.HttpServlet is not found on theJava Build path
.The reason is that the Tomcat runtime related classes are not being added to the Javaweb engineering class.The solution is as follows:Error file---->>build path---->>config
Eclipse New Web project appears the superclass "Javax.servlet.http.HttpServlet" is not found on the Java Build PathAfter creating a new Web project, a "red" error message appears at the top of the JSP page:the superclass "Javax.servlet.http.HttpServlet" is not found on the Java
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.