Code Monkey home page Code Monkey logo

hsweb-demo's Introduction

hsweb 演示

演示如何在新项目中使用hsweb 基于hsweb-frameworkhsweb-platform

环境

运行唯一需要的环境: java8

运行

直接运行

    $ ./mvnw spring-boot:run    #linux
    $ mvnw.cmd spring-boot:run  #windows

IDE 导入ide后等待maven依赖下载完成后执行org.hsweb.demo.Run

目录说明

----------src/main/java
---------------org.hsweb.demo
--------------------bean,controller,dao,service #不做过多说明,都懂
--------------------Run.java                    #项目启动类,直接运行启动项目
----------resources
---------------config                           #配置目录(logback和mybatis配置文件)
---------------mappers                          #mybatis mapper配置文件
---------------scripts.initialize               #系统初始化脚本
---------------templates                        #模板文件(freemarker)
---------------static                           #静态文件目录
---------------application.yml                  #应用主配置,数据源啥的都在这里

访问

启动成功登录后,用浏览器打开 http://localhost:8080/ 帐号:admin 密码:admin 上报问题

注意

启动日志提示sigar-amd64-winnt.dll相关错误,这是系统监控需要的库,不引入不影响程序运行. 要使用系统监控功能,请自行将 sigar-amd64-winnt.dll 放入system32 目录或者libsigar-amd64-linux.so /usr/lib 目录. 下载地址

hsweb-demo's People

Contributors

zhou-hao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hsweb-demo's Issues

hsweb-demo

登录用户和密码不对 进不去

执行 ./mvnw spring-boot:run 后报错 Could not resolve dependencies

下载依赖包失败

Failed to transfer file: http://nexus.hsweb.me/content/groups/public/org/hsweb/hsweb-expands-request/1.0/hsweb-expands-request-1.0.jar. Return code is: 520 

详细信息:

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.609 s
[INFO] Finished at: 2017-06-30T10:21:28+08:00
[INFO] Final Memory: 19M/300M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project hsweb-demo: Could not resolve dependencies for project org.hsweb:hsweb-demo:jar:1.0-SNAPSHOT: The following artifacts could not be resolved: org.hsweb:hsweb-expands-request:jar:1.0, org.hsweb:hsweb-commons:jar:1.0.3, org.hsweb:hsweb-platform-ui-miniui:jar:2.2-SNAPSHOT, org.hsweb:hsweb-web-service-api:jar:2.2.2-SNAPSHOT, org.hsweb:hsweb-web-dao-api:jar:2.2.2-SNAPSHOT, org.hsweb:hsweb-web-core:jar:2.2.2-SNAPSHOT, org.hsweb:hsweb-easy-orm-rdb:jar:1.2-SNAPSHOT, org.hsweb:hsweb-easy-orm-core:jar:1.2-SNAPSHOT, org.hsweb:hsweb-expands-script:jar:1.0, org.hsweb:hsweb-expands-compress:jar:1.0, org.hsweb:hsweb-platform-generator:jar:2.2-SNAPSHOT, org.hsweb:hsweb-expands-template:jar:1.0, org.hsweb:hsweb-web-starter:jar:2.2.2-SNAPSHOT, org.hsweb:hsweb-web-service-simple:jar:2.2.2-SNAPSHOT, org.hsweb:hsweb-web-concurrent-cache:jar:2.2.2-SNAPSHOT, org.hsweb:hsweb-web-controller:jar:2.2.2-SNAPSHOT, org.hsweb:hsweb-web-dao-mybatis:jar:2.2.2-SNAPSHOT, org.hsweb:hsweb-web-oauth2-simple:jar:2.2.2-SNAPSHOT, org.hsweb:hsweb-web-oauth2-controller:jar:2.2.2-SNAPSHOT, org.hsweb:hsweb-web-websocket:jar:2.2.2-SNAPSHOT, org.hsweb:hsweb-web-concurrent-lock:jar:2.2.2-SNAPSHOT: Could not transfer artifact org.hsweb:hsweb-expands-request:jar:1.0 from/to hsweb-nexus (http://nexus.hsweb.me/content/groups/public/): Failed to transfer file: http://nexus.hsweb.me/content/groups/public/org/hsweb/hsweb-expands-request/1.0/hsweb-expands-request-1.0.jar. Return code is: 520 , ReasonPhrase:Origin Error. -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.