-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------


You can't mix java2 and java1 .class files with WebMacro, you have to 
compile everything with java1 or everything with java2. 

Justin

Quoting Steven K Lewis ([EMAIL PROTECTED]):
> -----------------------------
> Please read the FAQ!
> <http://java.apache.org/faq/>
> -----------------------------
> 
> (To jon:)
> 
> <grin>  That's the problem.  It still doesn't work.  At first it might be
> a webmacro error, but I got it working on Java Web Server.  So then I
> found out that webmacro didn't like java2, so I installed JServ/Apache
> with JDK1.1, and it still doesn't work.
> 
> I just tried instantiating "HelloWorld" from an example servlet that
> worked, and here is the error I got in jserv.log:
> 
> (ERROR) ajp11: Servlet Error: java.lang.ClassNotFoundException: 
> java.util.HashMap: java.util.HashMap
> 
> So it appears that Apache is not REALLY choking on HelloWorld itself.
> It's choking on a class called "HashMap" which isn't in Java1.1, but IS in
> Java1.2.  BUT, webmacro.jar includes it's own version of HashMap for 1.1.
> 
> Any ideas?  It just puzzles me that it would work in JavaWebServer and not
> in Apache/Jserv.  All webmacro requires is just that you put webmacro.jar
> in your classpath.
> 
> Hrm. :-/  Thanks for the input.
> 
> Steve Lewis                   "Does philosophy answer a
> Unix Systems Group             need? How is it to be under-
> University of Texas at Dallas  stood? Philosophy? The need?"
>                                 Jacques Derrida, _Margins_
> 
> On Mon, 16 Aug 1999, jon * wrote:
> 
> > > Oh.  I'm sorry.  I meant that.  I have HelloWorld.class there.
> > 
> > then it should work. anything in your repositories= path will get picked up
> > as long as it is a valid servlet.
> > 
> > -jon
> > 
> > 
> 
> 
> 
> 
> 
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Archives and Other:  <http://java.apache.org/main/mail.html>
> Problems?:           [EMAIL PROTECTED]
> 


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to