Baza Wiedzy & Pliki Do Pobrania
Baza udostępnia dokumentację stworzoną przez nasz zespół. Wybierz kategorię lub wyszukaj odpowiedzi.
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 werrors can be seen in 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 are indeed not regluar Java class files but FrontPage or Dreamweaver generated files.
You need to remove them or better strip all the _vti_* directorues from your application direcotry on our server or from your WAR befor 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.