Java Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming LanguagesJava Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 24th, 2000, 11:53 AM
astrix astrix is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2000
Location: Chicago, IL USA
Posts: 48 astrix User rank is Corporal (100 - 500 Reputation Level)astrix User rank is Corporal (100 - 500 Reputation Level)astrix User rank is Corporal (100 - 500 Reputation Level)astrix User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 16
Send a message via ICQ to astrix
This is my first time compiling ApacheJserv-1.1.2. I'm using JSDK2.0/JDK1.2.2. I can run the configure script fine...

./configure
--prefix=/usr/local/jserv
--with-apache-src=../apache_1.3.12
--with-jdk-home=/usr/local/jdk1.2.2
--with-JSDK=/JSDK2.0/lib/jsdk.jar
--disable-debugging

but when I issue the make command and it tries to compile JServ.java I get this error..

Compiling JServ.java ...
JServ.java:61: Package javax.servlet not found in import.
import javax.servlet.*;
^
JServ.java:62: Package javax.servlet.http not found in import.
import javax.servlet.http.*;
^
JServ.java:80: Superclass org.apache.jserv.HttpServlet of class org.apache.jserv.JServ not found.
public class JServ extends HttpServlet implements JServLogChannels, JServDefs {
^
3 errors
make[5]: *** [JServ.class] Error 1
make[5]: Leaving directory `/tmp/ApacheJServ-1.1.2/src/java/org/apache/jserv'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/tmp/ApacheJServ-1.1.2/src/java/org/apache'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/ApacheJServ-1.1.2/src/java/org'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/ApacheJServ-1.1.2/src/java'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/ApacheJServ-1.1.2/src'
make: *** [all-recursive] Error 1

..If you have any insight at all please please reply.

Reply With Quote
  #2  
Old August 24th, 2000, 01:45 PM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Try to add
--with-servlets=/path/to/servlets (it's a dir)

Why you installed JSDK to /JSDK2.0 ?

>>Leaving directory `/tmp/ApacheJServ-1.1.2/src/java/org/apache/jserv'

Also, try not to put it in /tmp directory unless your /tmp has lots of space. Normally, you should place it in /usr/local/src.

[This message has been edited by freebsd (edited August 24, 2000).]

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesJava Help > Crazy Errors Compiling ApacheJserv!

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap