-
大小: 2.48MB文件类型: .rar金币: 2下载: 0 次发布日期: 2023-09-10
- 语言: Java
- 标签: SpringBoot
资源简介
基于springboot开发的在线考试系统,是学校的一个Java课程设计,资源附加了数据库文件,应该可以下载导入就跑起来的,记录一下过程,上传方便各位有需要的朋友学习参考,多多支持!

代码片段和文件信息
/*
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-12-28 04:22 SpringBoot考试系统\online_exam\.gitignore
文件 7 2020-09-29 15:45 SpringBoot考试系统\online_exam\.idea\.name
文件 470 2020-09-29 15:45 SpringBoot考试系统\online_exam\.idea\artifacts\example_war.xm
文件 10361 2020-09-29 15:45 SpringBoot考试系统\online_exam\.idea\artifacts\example_war_exploded.xm
文件 812 2020-09-29 15:45 SpringBoot考试系统\online_exam\.idea\compiler.xm
文件 177 2020-09-29 15:45 SpringBoot考试系统\online_exam\.idea\encodings.xm
文件 568 2020-09-29 15:45 SpringBoot考试系统\online_exam\.idea\libraries\Maven__ch_qos_logback_logback_classic_1_2_3.xm
文件 547 2020-09-29 15:45 SpringBoot考试系统\online_exam\.idea\libraries\Maven__ch_qos_logback_logback_core_1_2_3.xm
文件 594 2020-09-29 15:45 SpringBoot考试系统\online_exam\.idea\libraries\Maven__commons_beanutils_commons_beanutils_1_9_3.xm
文件 543 2020-09-29 15:45 SpringBoot考试系统\online_exam\.idea\libraries\Maven__commons_codec_commons_codec_1_13.xm
文件 616 2020-09-29 15:45 SpringBoot考试系统\online_exam\.idea\libraries\Maven__commons_collections_commons_collections_3_2_2.xm
文件 522 2020-09-29 15:45 SpringBoot考试系统\online_exam\.idea\libraries\Maven__com_fasterxm
文件 644 2020-09-29 15:45 SpringBoot考试系统\online_exam\.idea\libraries\Maven__com_fasterxm
文件 595 2020-09-29 15:45 SpringBoot考试系统\online_exam\.idea\libraries\Maven__com_fasterxm
文件 623 2020-09-29 15:45 SpringBoot考试系统\online_exam\.idea\libraries\Maven__com_fasterxm
文件 681 2020-09-29 15:45 SpringBoot考试系统\online_exam\.idea\libraries\Maven__com_fasterxm
文件 695 2020-09-29 15:45 SpringBoot考试系统\online_exam\.idea\libraries\Maven__com_fasterxm
文件 736 2020-09-29 15:45 SpringBoot考试系统\online_exam\.idea\libraries\Maven__com_fasterxm
文件 547 2020-09-29 15:45 SpringBoot考试系统\online_exam\.idea\libraries\Maven__com_github_jsqlparser_jsqlparser_1_0.xm
文件 561 2020-09-29 15:45 SpringBoot考试系统\online_exam\.idea\libraries\Maven__com_github_pagehelper_pagehelper_5_1_2.xm
文件 673 2020-09-29 15:45 SpringBoot考试系统\online_exam\.idea\libraries\Maven__com_github_theborakompanioni_thymeleaf_extras_shiro_2_0_0.xm
文件 499 2020-09-29 15:45 SpringBoot考试系统\online_exam\.idea\libraries\Maven__com_google_guava_guava_20_0.xm
文件 546 2020-09-29 15:45 SpringBoot考试系统\online_exam\.idea\libraries\Maven__com_jayway_jsonpath_json_path_2_4_0.xm
文件 700 2020-09-29 15:45 SpringBoot考试系统\online_exam\.idea\libraries\Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xm
文件 503 2020-09-29 15:45 SpringBoot考试系统\online_exam\.idea\libraries\Maven__com_zaxxer_HikariCP_3_4_1.xm
文件 462 2020-09-29 15:45 SpringBoot考试系统\online_exam\.idea\libraries\Maven__dom4j_dom4j_1_6_1.xm
文件 553 2020-09-29 15:45 SpringBoot考试系统\online_exam\.idea\libraries\Maven__io_springfox_springfox_core_2_9_1.xm
文件 567 2020-09-29 15:45 SpringBoot考试系统\online_exam\.idea\libraries\Maven__io_springfox_springfox_schema_2_9_1.xm
文件 546 2020-09-29 15:45 SpringBoot考试系统\online_exam\.idea\libraries\Maven__io_springfox_springfox_spi_2_9_1.xm
文件 595 2020-09-29 15:45 SpringBoot考试系统\online_exam\.idea\libraries\Maven__io_springfox_springfox_spring_web_2_9_1.xm
............此处省略1353个文件信息
相关资源
- 简易教学管理系统(jsp spring struts h
- java用spring struts hibernate做的学生成绩
- springboot商城系统
- 基于springboot和vue 前后端分离后台管理
- springboot2.0+spring cloud+eureka(分布式项
- Vue + SpringBoot + MyBatis 音乐网站(源码
- spring boot+ios app+android app 即时通讯项目
- Spring4.2.9+mybatis3.4.4集成整合Jackson版支
- spring3.0 API 中文 CHM文档
- Spring+SpringMVC+Mybatis整合代码+所有Spr
- Spring3.1 MongoDB整合含jar包已测
- spring 整合 mongodb 需要的jar包
- springBoot项目的代码生成器
- 2018-尚硅谷最新全套视频打包(sprin
- Java SpringBoot 支付宝和微信支付整合
- Spring Boot技术栈博客企业前后端.txt
- 《Java EE企业级应用开发教程Spring+Sp
- spring+struts2+hibernate完整项目初学者进
- Spring实战第4版高清完整版PDF-
- 购物网站源码+数据库
- 毕设:基于javaweb的宿舍管理系统
- 基于Andriod Stdio大学生兼职招聘APP
- maven+ssm 实现java版视频上传预览
- jsp+springmvc+mysql实现的校园失物招领管
- java 商城系统
- Spring 开发指南
- Redis.jar包
- spring 整合activemq实现自定义动态消息
- SpringMVC+xfire1.2.6webService
- javassist-3.15.0-GA.jar
评论
共有 条评论