Topic: 新学JAVA/JSP问一些问题

  Print this page

1.新学JAVA/JSP问一些问题 Copy to clipboard
Posted by: beafox
Posted on: 2003-09-05 15:16

JAVABEAN与SERLVET的JAVA源程序用JB9编译后要放那个目录下?
在JDK1。4下能编译JAVA文件,但执行时会提示以下错误:

Exception in thread "main" java.lang.NoClassDefFoundError: c:\un2
是什么原因呢谢谢了!
还有JIVE3。1。1问题:
http://localhost:8080/jivebbs/jive3/admin/setup/index.jsp
Jive Forums 3 Setup

Error: Can not proceed with Jive Forums setup.

Your current installation fails to meet minimum Jive Forums requirements - please see the checklist below:

At least JDK 1.3
Servlet 2.3 Support
JSP 1.1 Support
Jive Forums 3 Classes
Jive Home Directory - Not Set

Please read the installation documentation and try setting up your environment again. After making changes, restart your appserver and load this page again. 老配不了环境是TOMCAT3。2

2.Re:新学JAVA/JSP问一些问题 [Re: beafox] Copy to clipboard
Posted by: why
Posted on: 2003-09-05 15:37

Tomcat 3.2 does NOT support Servlet 2.3.
Use the latest stable/production release of Tomcat, I think it's 4.1.27 Smile

> Exception in thread "main" java.lang.NoClassDefFoundError: c:\un2
1. check the name of your class, please note that java IS case-sensitive (maybe it's Un2
2. check your classpath ... actually I don't remember whether one should run a java program including the path.Embaressed

3.Re:新学JAVA/JSP问一些问题 [Re: beafox] Copy to clipboard
Posted by: beafox
Posted on: 2003-09-05 17:04

thank you very much!

4.Re:新学JAVA/JSP问一些问题 [Re: beafox] Copy to clipboard
Posted by: beafox
Posted on: 2003-09-05 17:25

我下了最4。1。26的TOMCAT但还提示以下信息:
Jive Forums 3 Classes (打错误)
Jive Home Directory - Not Set (打错误)
我有在jive_init.xml设:
<?xml version="1.0"?>
<!--
* Specifies the full path to your jiveHome directory.
* This file must be in the classpath of your application
* server. Normally, the easiest way to do this is to
* put it into the [jive]/WEB-INF/classes directory,
* where [jive] is the name of your Jive Forums web
* application.
*
* For unix this might be:
* <jiveHome>/var/web/jiveHome</jiveHome>
*
* For Windows this might be:
* <jiveHome>c:\web\jiveHome</jiveHome>
-->
<jiveHome>d:\tomcat32\webapps\root\jivebbs\jiveHome </jiveHome>
还是不行

5.Re:新学JAVA/JSP问一些问题 [Re: beafox] Copy to clipboard
Posted by: nothing
Posted on: 2003-09-05 17:30

tomcat 4。1。26 ??

6.Re:新学JAVA/JSP问一些问题 [Re: beafox] Copy to clipboard
Posted by: beafox
Posted on: 2003-09-05 17:37

写错了是jakarta-tomcat-4.1.27

7.Re:新学JAVA/JSP问一些问题 [Re: beafox] Copy to clipboard
Posted by: 金溶
Posted on: 2003-09-05 19:18

别把jive包放在ROOT下,你该把jive部署在webapps下.

Wink

8.Re:新学JAVA/JSP问一些问题 [Re: beafox] Copy to clipboard
Posted by: beafox
Posted on: 2003-09-06 10:44

谢谢!可以开始配置了,Big Smile


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923