zoukankan      html  css  js  c++  java
  • 第26月第25天 ubuntu openjdk-8-jdk jretty

    1.ubuntu

    ============== 

    sudo apt-get install openjdk-8-jdk

    https://blog.csdn.net/zhaohaiyitian88/article/details/78885745

    =====================

    brew install tomcat

     

    brew search tomcat
    brew install tomcat
    catalina -h #查看帮助
    catalina run #运行服务

    https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

    https://blog.csdn.net/mbugatti/article/details/53781493

    2.

    Add the following to "build.gradle" of your web-app:

    apply plugin: 'war'
    apply from: 'https://raw.github.com/akhikhl/gretty/master/pluginScripts/gretty.plugin'

    That’s all! Now you can start your web-app with the command:

    gradle appRun

    you can also use other Gretty tasks for running and debugging your web-app or configure Gretty to your needs.

    Alternatively, you can download the script from https://raw.github.com/akhikhl/gretty/master/pluginScripts/gretty.plugin to the project folder and include it like this:

    apply from: 'gretty.plugin'

    or feel free inserting to your "build.gradle":

    buildscript {
      repositories {
        jcenter()
        // enable this to use snapshot versions of Gretty:
        // maven { url 'http://oss.jfrog.org/artifactory/oss-snapshot-local' }
      }
    
      dependencies {
        classpath 'org.akhikhl.gretty:gretty:+'
      }
    }
    
    repositories {
      jcenter()
      // enable this to use snapshot versions of Gretty:
      // maven { url 'http://oss.jfrog.org/artifactory/oss-snapshot-local' }
    }
    
    apply plugin: 'org.akhikhl.gretty'

    http://akhikhl.github.io/gretty-doc/Getting-started.html

    3.tomcat8

    ls /var/lib/tomcat8/webapps

    sudo service tomcat8 start

    https://jingyan.baidu.com/article/046a7b3e992ffff9c27fa92c.html

  • 相关阅读:
    [转]开发者最容易犯的13个JavaScript错误
    http状态码表
    RDLC报表部署到服务器的相关问题
    sharepoint权限集中管理工具
    依赖注入
    HttpModule & HttpHandle
    回滚事务
    HTTPMOUDLE 和httphandler 学习
    JavaScript操作Table
    .ne工具库
  • 原文地址:https://www.cnblogs.com/javastart/p/10016769.html
Copyright © 2011-2022 走看看