Giter Site home page Giter Site logo

wb02125055 / spring-framework-source Goto Github PK

View Code? Open in Web Editor NEW
23.0 23.0 37.0 13.81 MB

这是一个注释版的Spring源码分析工程,版本为5.1.x,大部分核心源码都已经添加中文注释,学习Spring源码可以参考,注释会慢慢进一步完善!

spring-framework-source's People

Stargazers

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

Watchers

 avatar

spring-framework-source's Issues

编译的时候会出现Cause: assert shortName != key的错误提示。提示http://www.592xuexi.com/schema/xxx错误

1、原因:项目中有一个示例模块,里面包含了一个自定义标签的实例程序,这个程序中使用到了http://www.592xuexi.com的域名,这个域名非spring的默认命名空间,在编译的时候被校验住了。
2、解决办法:
方法一:删除项目中spring-source-study模块中的com.wb.spring.beandefinitionparser包,spring-source-study中的resources文件夹下面的mytag文件夹,resources文件夹下面的mytag.xml配置文件,META-INF文件夹下的spring.handlers配置文件及spring.schemas配置文件,然后重新编译。
方法二:修改项目根目录下gradle文件夹下的docs.gradle配置文件
将第152行的'it.path.endsWith("META-INF/spring.schemas")' 改为 'it.path.endsWith("META-INF\spring.schemas")'
将第159行的'it.path.endsWith(schemas.get(key))'改为'it.path.endsWith(schemas.get(key).replaceAll('\/','\\'))',然后重新编译。

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.