|
|
|
| Устанавливаю Томкат под Апач. Не могу разобратся с версиями jre.
Набираю в командной строке http://localhost:8080
Пишет ошибку:
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: -1 in the jsp file: null
Generated servlet error:
[javac] Compiling 1 source file
C:\tomcat41\work\Standalone\localhost\_\index_jsp.java:8: cannot access java.lang.Object
bad class file: C:\Program Files\Java\jre1.5.0_07\lib\rt.jar(java/lang/Object.class)
class file has wrong version 49.0, should be 48.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
public class index_jsp extends HttpJspBase {
^
1 error
. . .
|
подскажите пожалуйста, кто сталкивался с подобной ситуацией? | |
|
|