Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

加密tomcat #9

Open
lunxian8 opened this issue May 18, 2023 · 0 comments
Open

加密tomcat #9

lunxian8 opened this issue May 18, 2023 · 0 comments

Comments

@lunxian8
Copy link

加密tomcat配置后启动 org.apache.catalina.startup.ContextConfig.processAnnotationsWebResource 不能处理注释的Web资源[/WEB-INF/classes/com/xx/acidsulfur/dao/AcidSulfurDao.class]
org.apache.tomcat.util.bcel.classfile.ClassFormatException: It is not a Java .class file
at org.apache.tomcat.util.bcel.classfile.ClassParser.readID(ClassParser.java:216)
at org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.java:81)
at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2009)
at org.apache.catalina.startup.ContextConfig.processAnnotationsWebResource(ContextConfig.java:1917)
at org.apache.catalina.startup.ContextConfig.processAnnotationsWebResource(ContextConfig.java:1911)
at org.apache.catalina.startup.ContextConfig.processAnnotationsWebResource(ContextConfig.java:1911)
at org.apache.catalina.startup.ContextConfig.processAnnotationsWebResource(ContextConfig.java:1911)
at org.apache.catalina.startup.ContextConfig.processAnnotationsWebResource(ContextConfig.java:1911)
at org.apache.catalina.startup.ContextConfig.processAnnotationsWebResource(ContextConfig.java:1911)
at org.apache.catalina.startup.ContextConfig.processClasses(ContextConfig.java:1176)
at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1093)
at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:779)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:299)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5130)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:753)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:727)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:695)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1177)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1925)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

是比较老的工程,需要war包来使用,新的工程jar解密正常

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant