Giter Club home page Giter Club logo

Comments (22)

core-lib avatar core-lib commented on August 22, 2024

你用的版本是多少

from xjar.

dulishijie avatar dulishijie commented on August 22, 2024

克隆源码,打成jar包,是1.1.3

from xjar.

core-lib avatar core-lib commented on August 22, 2024

你这个是Spring-Boot 的jar包吗?

from xjar.

dulishijie avatar dulishijie commented on August 22, 2024

是的

from xjar.

dulishijie avatar dulishijie commented on August 22, 2024

image

from xjar.

core-lib avatar core-lib commented on August 22, 2024

你这个是测试项目吗? 方便放到github上吗?我clone下来调试下

from xjar.

dulishijie avatar dulishijie commented on August 22, 2024

这不是测试项目,抱歉不太方便

from xjar.

core-lib avatar core-lib commented on August 22, 2024

没事 你测试下 XBoot.encrypt(plaintext, encrypted, password); 就是不加过滤器的

from xjar.

dulishijie avatar dulishijie commented on August 22, 2024

好,我试试

from xjar.

dulishijie avatar dulishijie commented on August 22, 2024

不行,还是报一样的错。项目中不需要引入xjar吧,我加密是在单独的测试项目中对jar包进行加密的

from xjar.

core-lib avatar core-lib commented on August 22, 2024

截图 BOOT-INF/classes/ 目录 和 MANIFEST.MF文件的内容看下

from xjar.

dulishijie avatar dulishijie commented on August 22, 2024

image
image

from xjar.

core-lib avatar core-lib commented on August 22, 2024

Enumeration<Resource> resources = Loaders.ant().load("io/xjar/**"); while (resources.hasMoreElements()) { Resource resource = resources.nextElement(); System.out.println(resource); }

你在那个main 方法 执行下这段代码 看怎么输出

from xjar.

dulishijie avatar dulishijie commented on August 22, 2024

没有输出,resources.hasMoreElements()是false
image

from xjar.

core-lib avatar core-lib commented on August 22, 2024

那我知道原因了 你是在clone下来的项目里面写的这个main方法吧

from xjar.

dulishijie avatar dulishijie commented on August 22, 2024

不是,我自己新建了一个项目txjar,图片中xjar是clone的
image

from xjar.

core-lib avatar core-lib commented on August 22, 2024

用 依赖的方式就可以了
<repositories> <repository> <id>jitpack.io</id> <url>https://jitpack.io</url> </repository> </repositories>

<dependency> <groupId>com.github.core-lib</groupId> <artifactId>xjar</artifactId> <version>v1.1.3</version> </dependency>

from xjar.

core-lib avatar core-lib commented on August 22, 2024

或者用 插件的形式 配置在你要加密的 Spring-Boot 项目里面 更方便 你看README.MD 里面有比较详细的介绍

from xjar.

dulishijie avatar dulishijie commented on August 22, 2024

用依赖包方式加密后报错,找不到启动类
image
使用插件形势加密后,生成cn.com.zll.app.xjar包,启动时同样报找不到启动类错误

from xjar.

core-lib avatar core-lib commented on August 22, 2024

密码输错了吧

from xjar.

dulishijie avatar dulishijie commented on August 22, 2024

尴尬呀,密码输错了,现在起来了。非常感谢!!!

from xjar.

core-lib avatar core-lib commented on August 22, 2024

哈哈哈

from xjar.

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.