我安装了Apache CloudStack 4.7.0.0,启动后,访问CloudPlatform Web控制台时出现以下错误:
HTTP Status 500 -
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 generated java file
The type java.io.ObjectInputStream cannot be resolved. It is indirectly referenced from required .class files
Stacktrace:
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:439)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:334)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:312)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:299)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:589)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.24 logs.
Apache Tomcat/6.0.24
有谁知道为什么会这样?
干杯,
米歇尔
答案 0 :(得分:1)
所以答案更多的是解决方法而不是解决方案。将OpenJdk降级到版本1.8.0.77。
从这个帖子(The type java.io.ObjectInputStream cannot be resolved. It is indirectly referenced from required .class files)我发现它可能是一个java问题,所以我重新安装了以前版本的Open Jdk(1.8.0.77),CloudPlatform能够编译jsps。
谢谢@MZJN
答案 1 :(得分:0)
你需要在1.7的Java上。 1.8正在进行中,您可能会遇到一些问题。
如果您需要帮助,请考虑使用邮件列表。