Knowledgebase & Downloads
The knowledgebase provides documentation written by our team. Please select a category or search for answers.
Articles
Frontpage, Dreamweaver _vti_cnf and Java deployment - null is not a Java .class file
Q: Web application is not getting deployed and the following errors can be seen in my Tomcat catalina.out
SEVERE: Unable to process file [/home/user/apache-tomcat-7.0.42/webapps/ROOT/WEB-INF/classes/
com/lre/utils/_vti_cnf/Util.class] for annotations
org.apache.tomcat.util.bcel.classfile.ClassFormatException: null is not a Java .class file
..
SEVERE: Unable to process file [/home/user/apache-tomcat-7.0.42/webapps/ROOT/WEB-INF/classes/
org/apache/jsp/_vti_cnf/index_jsp.class] for annotations
org.apache.tomcat.util.bcel.classfile.ClassFormatException: null is not a Java .class file
A: This is caused by presence of .class file which is indeed not regluar Java class file but FrontPage or Dreamweaver generated file.
You need to remove them or better strip all the _vti_* directories from your application direcotry on our server or from your WAR before uploading it again.
To remove them on the server stop tomcat (jk), then run
find ~/appservers -type d -name "_vti_*" -exec rm -rf {} +
and finally start tomcat (js).
- © 2016-2024 JVMHost.com All rights are reserved.