<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                使用該組件后,工程將完全變為springboot工程 本地開發工程加入BootRun類,執行main方法即可啟動工程。 ~~~ apply plugin: "$release_mode" apply plugin: "eclipse" apply plugin: "org.springframework.boot" //編譯器選項 [compileJava, compileTestJava]*.options*.encoding = "UTF-8" //工程相關配置 ext { build = "build" webapp = "src/main/webapp" classes = "$webapp/WEB-INF/classes" releasepath = "../release" } //發布版本號 version="$release_version" //spring boot插件 buildscript { repositories { maven {url "$repoUrl"} } dependencies { //spring boot插件 classpath ("org.walkframework:walk-boot-plugin:${walk_version}"){ exclude module : "spring-boot-maven-plugin" } } } //將webapp目錄下jsp及其他文件拷貝到META-INF/resources下 bootJar.into("META-INF/resources") { from("$webapp") exclude "WEB-INF" } //maven遠程倉庫 repositories { //私服設置 maven {url "$repoUrl"} } //依賴管理 dependencies { //加載maven庫依賴。格式:groupId:artifactId:version //walk框架相關 compile "org.walkframework:walk-base:${walk_version}" runtime "org.walkframework:walk-base:${walk_version}:walk-webapp@jar" //項目公用jar包 compile ("com.asiainfo.walk.common:biz-common:${biz_common_version}"){transitive = false} //如果使用spring boot compile "org.walkframework:walk-boot:${walk_version}" //打war包時注意:tomcat使用9以下版本需改成compileOnly,9版本不影響 compile "org.apache.tomcat.embed:tomcat-embed-jasper:${tomcat_version}" //jstl runtime "javax.servlet:jstl:${jstl_version}" //logstash日志收集 compile "net.logstash.logback:logstash-logback-encoder:${logstash_version}" //數據庫相關 //runtime "com.oracle:ojdbc6:${ojdbc_version}" runtime "mysql:mysql-connector-java:${mysql_connector_java_version}" //測試 testCompile "org.springframework.boot:spring-boot-starter-test:${spring_boot_version}" //walk管理控制臺相關 runtime "org.walkframework:walk-console:${walk_version}" //activiti相關,如首次使用需將application.properties文件中spring.activiti.database-schema-update設為true,以便初始化表 compile "org.walkframework:walk-activiti:${walk_version}" //springcloud相關 // compile "com.alibaba.cloud:spring-cloud-starter-alibaba-nacos-config:${alibaba_cloud_version}" // compile "com.alibaba.cloud:spring-cloud-starter-alibaba-nacos-discovery:${alibaba_cloud_version}" // compile "org.springframework.boot:spring-boot-starter-actuator:${spring_boot_version}" } //springcloud相關 //dependencyManagement { // imports { // mavenBom "org.springframework.cloud:spring-cloud-dependencies:${spring_cloud_version}" // } //} //清理目錄 task cleanfiles { doFirst { println project.name + " cleanfiles..." delete "bin" delete "logs" delete ".settings" delete ".tmp" } } //類加強 task enhance(type: JavaExec) { println project.name + " enhance..." classpath = sourceSets.main.runtimeClasspath main = "org.walkframework.base.system.translate.enhance.TranslatorEnhancerStarter" } ~~~ 在安裝jdk的主機上執行命令即可啟動 ~~~ java -jar web-demo.jar ~~~ 其他參數可額外指定。 ~~~ java -jar web-demo.jar --server.port=16101 --walkbatis.isHotDeploy=false --cache.cacheDriver=rediscache ~~~
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看