Regarding: "*** Error: "beans" is either a misplaced package name or a
non-existent entity. An expression name is expected in this context." when
atempting to compile a JSP with a useBean tag.

I found the problem, I was right, it was the compiler.  I copied the entire
Tomcat instalation from machine B to machine A and I still got the same
error on A.  But the error went away when I replaced the /usr/bin/jikes
(2002/03/07) on A with /usr/bin/jikes (2001/11/13) from B.  The header file
in /usr/include/jikesapi.h didn't seem to make a difference.

I can send you the older /usr/bin/jikes if you want it.

Jason

----- Original Message -----
From: "Ralph Einfeldt" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, March 22, 2002 2:53 AM
Subject: AW: Debian Woody / Tomcat / Example JSPs


Sounds as if a fundamental java library (rt.jar) is not
in the classpath.

java.beans is a standard package since jdk 1.1.

> -----Urspr�ngliche Nachricht-----
> Von: Marcus Bungert [mailto:[EMAIL PROTECTED]]
> Gesendet: Donnerstag, 21. M�rz 2002 19:41
> An: [EMAIL PROTECTED]
> Betreff: Debian Woody / Tomcat / Example JSPs
<snip/>
> org.apache.jasper.JasperException: Unable to compile
> Found 1 semantic error compiling
> "/var/cache/tomcat/DEFAULT/examples/jsp/num/numguess_1.java":
>
>
>     69.                               numguess = (num.NumberGuessBean)
> java.beans.Beans.instantiate(this.getClass().getClassLoader(),
> "num.NumberGuessBean");
>
> *** Error: "beans" is either a misplaced package name or a
non-existent
> entity. An expression name is expected in this context.
<snip/>

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to