Giter Site home page Giter Site logo

Comments (6)

phodal avatar phodal commented on July 1, 2024

看不到图啊,是不是下载不到 Scanner,参照一下:https://archguard.org/faq

from archguard.

boomshakalakawoo avatar boomshakalakawoo commented on July 1, 2024

D9E0FC1E-6C21-46D2-A21C-86A299D2E873

from archguard.

phodal avatar phodal commented on July 1, 2024

理解了,这个好像是 MyBatis 解析时候的 bug,应该是解析 DOCTYPE 的时候出错了。

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">

理论上可能是上面的 http://mybatis.org/dtd/mybatis-3-mapper.dtd 在内网的时候报错。能确认一下,是不是和上面的 DOCTYPE 一致吗?

from archguard.

phodal avatar phodal commented on July 1, 2024

archguard/scanner@1aaef98 修复了,预计下个版本发布

1.6.1 版本的 scanner(如果在Docker Compose 里,可以参考一下 FAQ:https://archguard.org/faq 来更新 Scanner)也可以在离线版本下使用

from archguard.

boomshakalakawoo avatar boomshakalakawoo commented on July 1, 2024

截屏2022-04-19 上午10 28 44
理论上可能是上面的 http://mybatis.org/dtd/mybatis-3-mapper.dtd 在内网的时候报错。能确认一下,是不是和上面的 DOCTYPE 一致吗?——一致,scanner1.6.1 已经修复了是吗?

from archguard.

phodal avatar phodal commented on July 1, 2024

对,1.6.1 做了个全局的 try-catch。

你们线上不用 MyBatis 吗?一般不是会改为 classpath,还是只在本地用?

from archguard.

Related Issues (20)

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.