Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Java integrated development environment common set of operations     - Oracle 11g manually create a database (Database)

- HTTP and FTP TCP-FLOOD CC Attacks Analysis and Prevention solutions under CentOS 6.5 (Linux)

- Oracle Linux 5.9 configuration Xmanager (Linux)

- Nginx Beginner Guide (Server)

- Recent Consolidation Using Linux security module (Linux)

- To compile and install OpenCV-2.3.1 FFmpeg-2.1.2 under CentOS (Linux)

- Linux bash: scp: command not found the problem (Linux)

- Based on OpenSSL for HTTPS service configuration (Server)

- Linux five security TIPS (Linux)

- CentOS 7 source code to compile and install PHP5.6 Nginx1.7.9 and MySQL (LNMP build environment) (Server)

- To share Internet access through NAT mode under Virtual Linux VMware Workstation (Linux)

- Iptables use examples (Linux)

- Linux package management (Linux)

- JavaScript in this usage (Programming)

- High-performance Linux system firewall detailed analysis of double-effect (Linux)

- The most commonly used Linux commands (Linux)

- OpenSSL to generate public and private key (Linux)

- Use SocketServer write a sockets program (Programming)

- Let Markdown code syntax highlighting and support Django1.6 (Linux)

- To achieve a two-way static NAT stateless available modules on Linux (Linux)

 
         
  Java integrated development environment common set of operations
     
  Add Date : 2018-11-21      
         
         
         
  1, a simple maven build integrated development environment

One, Jetty installation

Download (bear with Windows and Linux versions, Jetty9 need JDK7): http: //download.eclipse.org/jetty/

Jetty installation is very simple, just need to extract the installation package to start the Jetty service.

JETTY_VERSION = xxx

wget http://download.eclipse.org/jetty/$JETTY_VERSION/dist/jetty-distribution-$JETTY_VERSION.tar.gz

tarxfz jetty-distribution- $ JETTY_VERSION.tar.gz

cd jetty-distribution- $ JETTY_VERSION

java-jar start.jar
Jetty simple tests (we used Jetty8):

test.war module which has a dump of Servlet, which lets you view Request / Session / Cookie information about the current request. http: // c909511: 8080 / dump / info information inside this return is very rich, follow-up can use this method to debug the current request information:

Two, Jetty and Eclipse Integration

1, download the Eclipse Tools:

http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/luna/SR1/eclipse-jee-luna-SR1-win32-x86_64.zip

2. Install Jetty assembly

3, configure Jetty

4 After the configuration start Jetty service

Three, Maven and Eclipse Integration

1, download Maven tools http://maven.apache.org/download.html

2, install Maven Integration for Eclipse plug-ins

3. Install Maven;

a) unpacked Maven to the local directory, set the environment variable;

-I MAVEN_HOME is: D: /tools/apache-maven-3.2.1, the bin is set to PATH, add at the end of the PATH:;% MAVEN_HOME% / bin;

-II successful test MAVEN is set in the Windows Terminal enter: mvn -v

 
b) Set Maven local repository

-I in D: \ tools \ apache-maven-3.2.1 \ conf \ settings.xml file modification localRepository node is D: \ study \ maven \ jar, to develop the local address of the warehouse;

-II. Configuring local repository nexus (optional)

Just unzip the installation configuration to run Nexus

Configuring Nexus Service

Start Nexus service (if running tips deny access, right - "Run as Administrator)

Log in Nexus

Configure Nexus central warehouse

Nexus + Maven configuration

< Mirrors>
     < Mirror>
           < Id> nexus < / id>
           < MirrorOf> * < / mirrorOf>
           < Name> Nexus Mirror < / name>
           < Url> http://maven.oschina.net/content/groups/public < / url>
       < / Mirror>

  < / Mirrors>
  
 
  < Profiles>
        < Profile>
      < Id> nexus < / id>
      < Repositories>
        < Repository>
          < Id> nexus < / id>
          < Name> Nexus < / name>
          < Url> http: // localhost: 8082 / nexus / content / groups / public < / url>
          < Releases> < enabled> true < / enabled> < / releases>
          < Snapshots> < enabled> true < / enabled> < / snapshots>
        < / Repository>
      < / Repositories>
      < PluginRepositories>
        < PluginRepository>
          < Id> nexus < / id>
          < Name> Nexus < / name>
          < Url> http: // localhost: 8082 / nexus / content / groups / public < / url>
          < Releases> < enabled> true < / enabled> < / releases>
          < Snapshots> < enabled> true < / enabled> < / snapshots>
        < / PluginRepository>
      < / PluginRepositories>
    < / Profile>
  < / Profiles>

  < -! ActiveProfiles
   | List of profiles that are active for all builds.
   |
  < ActiveProfiles>
    < ActiveProfile> alwaysActiveProfile < / activeProfile>
    < ActiveProfile> anotherAlwaysActiveProfile < / activeProfile>
  < / ActiveProfiles>
  ->
  < ! - Activate Configuration ->
    < ActiveProfiles>
        < ActiveProfile> nexus < / activeProfile>
    < / ActiveProfiles>
4, eclipse configuration Maven;

a) Setting the Maven Installations

b) Set the Maven User Settings

5. Import Project

a) Select the import in Myeclipse in ... and then click Import Project;

b) set the start of each project Maven build

c) complete environment to build, start to see results

-------- Development environment ready end ------------------------------

 2, maven Common Operations

a, introducing the project jar package (introduced in this way will not be packaged with the JAR package during packaging, so the package can not find the JAR package)

< Dependency>
    < GroupId> org.postgresql < / groupId>
    < ArtifactId> postgresql < / artifactId>
    < Version> 0.3 < / version>
    < Scope> system < / scope>
    < SystemPath> $ {project.basedir} /lib/test.jar < / systemPath>
< / Dependency>
Packing reference packet processing method

< Dependency>
< GroupId> org.postgresql < / groupId>
< ArtifactId> postgresql < / artifactId>
< Version> 0.3 < / version>
< Scope> system < / scope>
< SystemPath> $ {project.basedir} /src/main/resources/lib/test.jar < / systemPath>
< / Dependency>
     
         
         
         
  More:      
 
- Fatal NI connect error 12170 error in Alert Log (Database)
- Restore database fault encountered ORA-0600 (Database)
- Create the container and run the application Docker (Server)
- Spark read more HBase tables a RDD (Server)
- CentOS7 installed VMware 10 (Linux)
- xCAT Installation Kit (Linux)
- Database Blob data type conversion String (Programming)
- Java heap (Heap) and stack difference (Programming)
- Why you can have JavaScript string method (Programming)
- CentOS 6.5 installation VNCServer implement graphical access (Server)
- Setting Wetty do not need an account login command line operations (Linux)
- Ubuntu and derivatives installation Atom 0.104.0 (Linux)
- How to deploy Python Web application: Heroku deployment process complete records (Server)
- Linux shell in back quotes (`) Application (Linux)
- Linux Man Page Installation (Linux)
- Linux operating system security management skills notes (Linux)
- CentOS 7 source code to compile and install PHP5.6 Nginx1.7.9 and MySQL (LNMP build environment) (Server)
- Spark parquet merge metadata problem (Server)
- Experts teach you how to identify the actual functional differences between the firewall (Linux)
- Linux and Unix systems really do network more secure (Linux)
     
           
     
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.