Giter VIP home page Giter VIP logo

boot-plus's Introduction

License Maven central

简介

Spring Boot虽然提供了方便地开发,但实际在项目开发中还是有太多的痛点需要我们手动处理,如:

  • 项目里的一些字典与字典值的转化都要手动处理
  • 跨域、校验、异常处理等
  • 权限复杂且不灵活,能不能用一个类就能实现权限的灵活扩展

为了解决项目里的痛点,让开发者更专注于业务,而不是分心解决很多与业务无关的事情,我们提供了boot-plus。

Boot-plus是基于Spring Boot构建的框架,提供了全套解决方案,使其开发更方便,更简单。但其不改变其原有功能,只做扩展。可单独引用各个子模块,而且对原来已有业务完全不影响。

🎉 欢迎右上角 Star,你的鼓励是我们不断更新代码的动力

mybatis-jpa 移至 https://github.com/zhouxx/mybatis-jpa-parent

链接

⚡️在线文档

特性

  • 解耦: 每个模块只对部分功能进行增强,可以任意搭配组合,不随意入侵不同层次模块的代码
  • 兼容: 兼容已经开发的项目,可以直接使用,不影响原来的功能
  • 配置化: 部分功能通过配置化就能解决项目里的痛点
  • 定制化: 提供了优雅的扩展接口和默认实现,若用户有定制化需求可自行定制

主要功能

  • 多数据源: 动态添加数据源,可实现配置或运行时加载新的数据源
  • web扩展:
    • 跨域配置化:通过配置即可实现跨域
    • jackson扩展: 通过注解或配置可实现字典、数字、空值自动转化
    • 统一校验、异常处理
  • 在线文档: 提供在线API,可通过配置实现全局参数,统一授权
  • Log: 提供Log UI,在线修改Log级别,为调试提供优雅的定制
  • 安全框架集成: 集成Spring Security,提供JWT和有状态Token实现,并支持多因素认证,更简单,更高效。

License

Boot Plus is under the Apache 2.0 license. See the Apache License 2.0 file for details.

boot-plus's People

Contributors

zhouxx 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

boot-plus's Issues

boot-plus-generator:1.2.0:generate 报错

image

[INFO] --- boot-plus-generator:1.2.0:generate (default-cli) @ boot-plus-mybatis-jpa-samples ---
Mon Nov 29 13:27:35 CST 2021 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
/com/alilitech/domain/Comment.java:3: 错误: 程序包javax.persistence不存在
import javax.persistence.Table;
^
/com/alilitech/domain/Comment.java:5: 错误: 找不到符号
@table(name = "jd_comment")
^
符号: 类 Table
2 个错误
java.lang.ClassNotFoundException: com.alilitech.domain.Comment
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at com.alilitech.generate.DynamicLoader$MemoryClassLoader.findClass(DynamicLoader.java:122)
at com.alilitech.generate.GeneratorUtils.loadClass(GeneratorUtils.java:273)
at com.alilitech.generate.GeneratorUtils.lambda$process$0(GeneratorUtils.java:154)
at java.util.ArrayList.forEach(ArrayList.java:1257)
at com.alilitech.generate.GeneratorUtils.process(GeneratorUtils.java:147)
at com.alilitech.generate.GeneratorMojo.execute(GeneratorMojo.java:82)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:957)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:193)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
at org.codehaus.classworlds.Launcher.main(Launcher.java:47)

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.