Tomcat outputs the following error when booting:
--may- - -: -:07.441SEVERE [localhost-startstop-1] Org. Apache. Catalina. Startup. Contextconfig. ProcessannotationsjarUnable to process Jar entry [com/auth/spring/listener/springloaderlistener. Class] from Jar [jar:file:/opt/apache-tomcat-8.0./webapps/root/web-inf/lib/xinghe-core-2.0. Jar!/] for annotations org. Apache. Tomcat. Util. Bcel. Classfile. Classformatexception: It is not a Java. ClassFile at org. Apache. Tomcat. Util. Bcel. Classfile. Classparser. Readid(Classparser. Java:203) at Org. Apache. Tomcat. Util. Bcel. Classfile. Classparser. Parse(Classparser. Java: the) at Org. Apache. Catalina. Startup. Contextconfig. Processannotationsstream(Contextconfig. Java: .) at Org. Apache. Catalina. Startup. Contextconfig. Processannotationsjar(Contextconfig. Java:1961) at Org. Apache. Catalina. Startup. Contextconfig. Processannotationsurl(Contextconfig. Java:1936) at Org. Apache. Catalina. Startup. Contextconfig. Processannotations(Contextconfig. Java:1897) at Org. Apache. Catalina. Startup. Contextconfig. Webconfig(Contextconfig. Java:1149) at Org. Apache. Catalina. Startup. Contextconfig. Configurestart(Contextconfig. Java:771) at Org. Apache. Catalina. Startup. Contextconfig. Lifecycleevent(Contextconfig. Java:305) at Org. Apache. Catalina. Util. Lifecyclesupport. Firelifecycleevent(Lifecyclesupport. Java:117) at Org. Apache. Catalina. Util. Lifecyclebase. Firelifecycleevent(Lifecyclebase. Java: -) at Org. Apache. Catalina. Core. Standardcontext. Startinternal(Standardcontext. Java:5066) at Org. Apache. Catalina. Util. Lifecyclebase. Start(Lifecyclebase. Java: Max) at Org. Apache. Catalina. Core. Containerbase. Addchildinternal(Containerbase. Java:725) at Org. Apache. Catalina. Core. Containerbase. AddChild(Containerbase. Java:701) at Org. Apache. Catalina. Core. Standardhost. AddChild(Standardhost. Java:717) at Org. Apache. Catalina. Startup. Hostconfig. Deploydirectory(Hostconfig. Java:1101) at Org. Apache. Catalina. Startup. Hostconfig$DeployDirectory. Run(Hostconfig. Java:1786) at Java. Util. Concurrent. Executors$RunnableAdapter. Call(Executors. Java:511) at Java. Util. Concurrent. Futuretask. Run(Futuretask. Java:266) at Java. Util. Concurrent. Threadpoolexecutor. Runworker(Threadpoolexecutor. Java:1142) at Java. Util. Concurrent. Threadpoolexecutor$Worker. Run(Threadpoolexecutor. Java:617) at Java. Lang. Thread. Run(Thread. Java:745)
The reason for this error is that the. class file is encrypted, and decryption does not decrypt correctly, causing the problem.
Org.apache.tomcat.util.bcel.classfile.ClassFormatException:It is not a Java. class file