jive2.1.1安装问题求助

07-09-23 abcd1443

在jive安装进行到第三步数据库时,http://localhost:8080/jive/admin/setup/setup3.jsp页面下显示:

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: 319 in the jsp file: /admin/setup/setup3.jsp

The type Statement is ambiguous

316: else {

317: // See if the Jive db schema is installed.

318: try {

319: Statement stmt = con.createStatement();

320: // Pick an arbitrary table to see if it's there.

321: stmt.executeQuery("SELECT * FROM jiveID");

322: stmt.close();

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:423)

org.apache.jasper.compiler.Compiler.compile(Compiler.java:308)

org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)

org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)

org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)

javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

这是什么原因啊?前面都设置好了啊

abcd1443
2007-09-23 21:49

不好意思,有个类似的帖子没看到 呵呵

abcd1443
2007-09-23 22:17

JDBC Driver 设置为org.gjt.mm.mysql.Driver

Server设置为 jdbc:mysql://localhost/jive

出现 Failed to load specified JDBC driver. Make sure the driver is in your server's classpath. 我的classpath设置为weiC:\Borland\JBuilder2006\jdk1.5\lib\mm.mysql-2.0.14-bin.jar;

D:\apache-tomcat-6.0.14\lib\mm.mysql-2.0.14-bin.jar

这是什么原因啊? help help

abcd1443
2007-09-24 18:28

已经解决

mysql的jdbc版本低了