求助:关于安装jive

07-04-25 mymind
小弟想学习Jive,下了个Jive2.1.1的源代码,按照documents上的说明安装到Tomcat上,安装到第三步时出现问题

我用的是jdk1.5.0,Tomcat5.5.20,MySQL 5.0

JDBC Driver用的是mysql-connector-java-5.0.5-bin

大侠帮帮忙啊!把数据库安装详细步骤写写好吗?

这是错误信息

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

Generated servlet error:

The type Statement is ambiguous

org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:512)

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

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

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

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

root cause

org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: 171 in the jsp file: /admin/setup/setup3.jsp

Generated servlet error:

The type Statement is ambiguous

org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)

org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)

org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:414)

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

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

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

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

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

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

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

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

note The full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs.

--------------------------------------------------------------------------------

Apache Tomcat/5.5.20

[该贴被mymind于2007年04月25日 11:07修改过]

young0098
2007-04-25 11:39
先创建jive数据库,mysql>create database jive;

然后执行jive_mysql.sql文件创建表。

mymind
2007-04-25 14:14
数据库和表都创建好了的

young0098
2007-04-25 16:15
An error occurred at line: 171 in the jsp file: /admin/setup/setup3.jsp

你看看171行是什么东东,跟数据库有没有关系?

mymind
2007-04-25 16:23
问题解决了

import java.sql.Statement; 就可以了

原因是The type Statement is ambiguous

谢谢你!

猜你喜欢