资源简介
用springboot基于SSM写的在线投票系统,包含数据库和源码,采用Springboot技术,开发工具idea,下载后请配置运行环境。
![](http://www.nz998.com/pic/59488.jpg)
代码片段和文件信息
/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License Version 2.0 (the
“License“); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing
software distributed under the License is distributed on an
“AS IS“ BASIS WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.net.URL;
import java.nio.channels.Channels;
import java.nio.channels.ReadableByteChannel;
import java.util.Properties;
public class MavenWrapperDownloader {
/**
* Default URL to download the maven-wrapper.jar from if no ‘downloadUrl‘ is provided.
*/
private static final String DEFAULT_DOWNLOAD_URL =
“https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.4.2/maven-wrapper-0.4.2.jar“;
/**
* Path to the maven-wrapper.properties file which might contain a downloadUrl property to
* use instead of the default one.
*/
private static final String MAVEN_WRAPPER_PROPERTIES_PATH =
“.mvn/wrapper/maven-wrapper.properties“;
/**
* Path where the maven-wrapper.jar will be saved to.
*/
private static final String MAVEN_WRAPPER_JAR_PATH =
“.mvn/wrapper/maven-wrapper.jar“;
/**
* Name of the property which should be used to override the default download url for the wrapper.
*/
private static final String PROPERTY_NAME_WRAPPER_URL = “wrapperUrl“;
public static void main(String args[]) {
System.out.println(“- Downloader started“);
File baseDirectory = new File(args[0]);
System.out.println(“- Using base directory: “ + baseDirectory.getAbsolutePath());
// If the maven-wrapper.properties exists read it and check if it contains a custom
// wrapperUrl parameter.
File mavenWrapperPropertyFile = new File(baseDirectory MAVEN_WRAPPER_PROPERTIES_PATH);
String url = DEFAULT_DOWNLOAD_URL;
if (mavenWrapperPropertyFile.exists()) {
FileInputStream mavenWrapperPropertyFileInputStream = null;
try {
mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile);
Properties mavenWrapperProperties = new Properties();
mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream);
url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL url);
} catch (IOException e) {
Syst
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 333 2019-06-15 14:54 vote\.gitignore
文件 458 2019-06-25 14:14 vote\.idea\artifacts\vote_war.xm
文件 6584 2019-06-25 14:14 vote\.idea\artifacts\vote_war_exploded.xm
文件 772 2019-06-25 14:21 vote\.idea\compiler.xm
文件 251 2019-06-15 14:54 vote\.idea\encodings.xm
文件 533 2019-06-15 15:58 vote\.idea\inspectionProfiles\Project_Default.xm
文件 644 2019-06-25 14:14 vote\.idea\libraries\Maven__ch_qos_logback_logback_classic_1_1_11.xm
文件 623 2019-06-25 14:14 vote\.idea\libraries\Maven__ch_qos_logback_logback_core_1_1_11.xm
文件 562 2019-06-25 14:14 vote\.idea\libraries\Maven__com_alibaba_druid_1_1_10.xm
文件 591 2019-06-25 14:14 vote\.idea\libraries\Maven__com_fasterxm
文件 713 2019-06-25 14:14 vote\.idea\libraries\Maven__com_fasterxm
文件 671 2019-06-25 14:14 vote\.idea\libraries\Maven__com_fasterxm
文件 713 2019-06-25 14:14 vote\.idea\libraries\Maven__com_fasterxm
文件 615 2019-06-25 14:14 vote\.idea\libraries\Maven__com_jayway_jsonpath_json_path_2_2_0.xm
文件 769 2019-06-25 14:14 vote\.idea\libraries\Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xm
文件 635 2019-06-25 14:14 vote\.idea\libraries\Maven__javax_persistence_persistence_api_1_0.xm
文件 680 2019-06-25 14:14 vote\.idea\libraries\Maven__javax_validation_validation_api_1_1_0_Final.xm
文件 524 2019-06-25 14:14 vote\.idea\libraries\Maven__junit_junit_4_12.xm
文件 643 2019-06-25 14:14 vote\.idea\libraries\Maven__mysql_mysql_connector_java_5_1_47.xm
文件 611 2019-06-25 14:14 vote\.idea\libraries\Maven__net_minidev_accessors_smart_1_1.xm
文件 590 2019-06-25 14:14 vote\.idea\libraries\Maven__net_minidev_json_smart_2_2_1.xm
文件 736 2019-06-25 14:14 vote\.idea\libraries\Maven__nz_net_ultraq_thymeleaf_thymeleaf_layout_dialect_1_4_0.xm
文件 520 2019-06-25 14:14 vote\.idea\libraries\Maven__ognl_ognl_3_0_8.xm
文件 694 2019-06-25 14:14 vote\.idea\libraries\Maven__org_apache_tomcat_em
文件 680 2019-06-25 14:14 vote\.idea\libraries\Maven__org_apache_tomcat_em
文件 729 2019-06-25 14:14 vote\.idea\libraries\Maven__org_apache_tomcat_em
文件 705 2019-06-25 14:14 vote\.idea\libraries\Maven__org_apache_tomcat_tomcat_annotations_api_8_5_39.xm
文件 628 2019-06-25 14:14 vote\.idea\libraries\Maven__org_apache_tomcat_tomcat_jdbc_8_5_39.xm
文件 628 2019-06-25 14:14 vote\.idea\libraries\Maven__org_apache_tomcat_tomcat_juli_8_5_39.xm
文件 604 2019-06-25 14:14 vote\.idea\libraries\Maven__org_assertj_assertj_core_2_6_0.xm
............此处省略1236个文件信息
- 上一篇:黑苹果外接无线网卡必备驱动
- 下一篇:一个客户积分管理系统的设计与实现
相关资源
- SpringBoot+H2+mybatis-plus59130
- SSM+Shiro+redis实现单点登陆
-
简单的xm
l投票系统 - 基于SSM+CXF构建的RESTFul webservice
- ssm框架登录注册demo
- MSSM中双光子共振的增强速率
- springboot+rabbitmq项目demo(亲测可正常运
- springboot整合RabbitMQ实现延时队列的两
- 2017年-传智播客-张志君老师-SpringBoo
- 软件工程Roger S.Pressman
- springboot+mybatis整合实现注册登录
- springboot+webflux+mongodb+freemarker
- springboot整合activiti完整demo
- SpringBoot实战(第4版)清晰版.pdf.zip
- SpringBoot 中文文档
- springboot+jpa+thymeleaf实现增删改查分页
- es(elasticsearch)整合SpringCloudSpringBo
- Springboot日志开启SLF4J过程解析
- springboot全套教程2018年2.0版本
- 官网springboot项目
- 在质子-质子碰撞中搜索衰变为μM的
- SpringBoot+Mybatis+前后台隔离技术,完整
- Spring Boot技术栈博客企业前后端2018
- springboot从入门到精通视频教程课程源
- 字符串连接:来自字符串的类似于M
- ssm水果商城系统.zip
- SpringBoot +vue 框架项目.zip
- springBoot+security+oauth2 资源和认证分离
- maven+ssm框架视频上传预览.zip
- ssm框架租房管理系统
评论
共有 条评论