spring asm with custom classloader
Q:
Our app is over SSH,we add a custom classloader to keep class safe, but after encrypted the class file , the app can't startup. It seems spring use asm to load the class file ,and as of the file was encryted , it can't load it successfully. Is there any way to make it? Or how can i use spring without asm?
A:
Spring asm do not load class but read it. does your app have any scan settings like <context:scan> – farmer1992 Oct 17 '12 at 18:04
A:
Thank you ,I've resolved it.Spring asm read the class file, and if you want to encrypt you class,you need to decrypt in asm class – husanhong Dec 24 '12 at 5:19
来自于:
http://stackoverflow.com/questions/12310839/spring-asm-with-custom-classloader
相关推荐
这是spring-asm-3.1.0.RELEASE.jar,为了使用方便传上来.
编译完spring3.2.18源码发现缺少spring-asm-repack-5.0.4.jar,spring-cglib-repack-3.1.jar 两个jar,网上找了很久都没找到能用的,这是我下载发行版,自己打的JAR,可以正常使用
spring 3.2.5版本源码使用的,构建的时候使用如下描述 因为英文不太好,大概意思可能是什么asm4.0版本使用的spring 在spring4中已经重新包装了asm在spring-core的核心包里,当然我这解释不标准 看下满原文构建的描述...
《深入解析Spring ASM库:org.springframework.asm-3.0.5.RELEASE.jar》 Spring框架是Java开发领域中不可或缺的一部分,而org.springframework.asm-3.0.5.RELEASE.jar是Spring框架中的一个关键组件,主要涉及到字节...
在本案例中,标题和描述提到的"Spring源码导入Eclipse缺失Jar包spring-asm-repack-5.0.4+spring-cglib-repack-3.1",意味着在进行Spring源码研究时,Eclipse缺少了这两个关键的库文件。 首先,我们需要了解ASM...
spring相关的jar我这边全都有,要什么版本的可以留言,我上传,这次上传spring-asm-3.1.4.RELEASE.jar
org.springframework.asm-sources-3.0.5.release.jar
《Spring框架中的ASM库解析》 在Java开发领域,Spring框架是不可或缺的一部分,它以其强大的功能和灵活性赢得了广大开发者喜爱。而"spring-asm-3.0.6.release.jar.zip"这个压缩包,包含了Spring框架中一个重要的...
为了防止产品代码泄漏或授权等被破解,想到对源码加密,说是对源码加密,实际是需要对class文件进行加密。如果对class文件加密了,那类加载器如何能解析呢?本文讲解的就是SpringWeb项目...3、Spring-asm类加载修改;
org.springframework.asm-3.1.1.RELEASE.jar
在Java开发中,ASM库允许我们直接操作字节码,这对于理解和实践AOP(面向切面编程)的概念尤其有用,就像Spring框架中的AOP实现。 面向切面编程(AOP)是一种编程范式,它允许程序员定义“切面”,这些切面封装了...
rg.springframework.asm-3.0.1.RELEASE-A.jar
本文档详细描述了活跃形状模型(Active Shape Model,ASM)算法在JAVA和MATLAB上的实现过程,并包含了相关的代码实现。ASM是一种用于检测和建模图像中形状的技术,尤其是在人脸检测和分析领域内得到了广泛的应用。本...
标题中提到的"3.2版本Spring源码需要源码所需要的jar:spring-asm-repack-5.0.4.jar, spring-cglib-repack-3.1.jar",这两部分是Spring源码构建过程中不可或缺的依赖。Spring-asm-repack和Spring-cglib-repack是...
org.springframework.asm-3.1.0.M2
org.springframework.asm-3.0.0.M4.jar
org.springframework.asm-3.0.0.M3.jar
spring-core-4.2.1.RELEASE.jar
导入、编译spring-3.2.x源码时需要用到的jar spring-asm-repack-5.0.4.jar。