最近在使用allatori混淆web项目时经常发现一些带有内部类的混淆之后,
具体运行的时候就会出现:
java.lang.NoClassDefFoundError: com/*/*/*/controller/MainClass$g
所以遇到这种类我一般都是在配置文件中直接忽略该类的混淆:
<ignore-classes>
<class template="class com.*.*.controller.ScheduleController" />
</ignore-classes>
但是总感觉这种方法并不好,这样这个类就会直接暴露出来,不知道有其他什么方法吗,既可以混淆这种带内部类的又能保证程序正常运行。
Class 'org.springframework.security.web.authentication.AuthenticationSuccessHandler' cannot be found. 兄弟我报这个错误
可以加个qq吗,我qq1757060912
https://blog.csdn.net/chunluozi1278/article/details/100899717
在配置文件中加入下面一行:
<property name="inner-classes" value="keep"/>