Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 21568 invoked from network); 19 Dec 2000 23:50:57 -0000 Received: from adsl-63-198-176-15.dsl.snfc21.pacbell.net (HELO filip.net) (root@63.198.176.15) by locus.apache.org with SMTP; 19 Dec 2000 23:50:57 -0000 Received: from filip ([64.78.185.2]) by filip.net (8.11.0/8.11.0) with SMTP id eBIJpei10264 for ; Tue, 19 Dec 2000 03:51:40 +0800 Message-ID: <00f301c06a16$6ad1c110$7801010a@pakana.com> From: "Filip Hanik" To: References: <5.0.2.1.0.20001219142842.02939110@mail.mythicwave.com> Subject: Re: Class not found on import Date: Tue, 19 Dec 2000 15:50:02 -0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00F0_01C069D3.594DA2D0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------=_NextPart_000_00F0_01C069D3.594DA2D0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable darn right you should, Java should do that for you, unless you have = coded any JNI or other platform specific code in your application ;-) Filip ----- Original Message -----=20 From: Matt Becker=20 To: tomcat-user@jakarta.apache.org=20 Sent: Tuesday, December 19, 2000 2:29 PM Subject: RE: Class not found on import I should be able to take the exact web app from my Windows machine and = transfer it over to my Linux machine without compiling the java code, = right? Matt At 02:01 PM 12/19/00, you wrote: In your development environment, you probably need to include the = WEF-INF path in your CLASSPATH. You shouldn't have this for starting = the server but for compiling your code, you do. Phil=20 -----Original Message-----=20 From: Matt Becker [mailto:mbecker@mythicwave.com]=20 Sent: Tuesday, December 19, 2000 3:19 PM=20 To: tomcat mailing list=20 Subject: Class not found on import=20 Hi. From the Linux version of Tomcat I get an error something like = "class=20 test.testbean not found on import." I don't understand how the exact = web=20 app, testbean.class, etc. will run on my Windows machine which I'm = using=20 for development, but bombs on my Linux sever. The testbean.class = resides in=20 the "test" directory within the Web-inf's classes directory, exactly = how=20 it's laid out on the win machine.=20 Anyone have an idea why Tomcat Linux wouldn't recognize the bean?=20 Thanks!=20 Matt=20 ------=_NextPart_000_00F0_01C069D3.594DA2D0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
darn right you should, Java should do = that for you,=20 unless you have coded any JNI or other platform specific code in your=20 application
;-)
Filip
----- Original Message -----
From:=20 Matt=20 Becker
To: tomcat-user@jakarta.apache= .org=20
Sent: Tuesday, December 19, = 2000 2:29=20 PM
Subject: RE: Class not found on = import

I should be able to take the exact web app from my = Windows=20 machine and transfer it over to my Linux machine without compiling the = java=20 code, right?


Matt


At 02:01 PM 12/19/00, you=20 wrote:

In your = development=20 environment, you probably need to include the WEF-INF path in your=20 CLASSPATH.  You shouldn't have this for starting the server but = for=20 compiling your code, you do.

Phil=20

-----Original Message-----
From: Matt Becker [mailto:mbecker@mythicwave.com]= =20
Sent: Tuesday, December 19, 2000 3:19 PM =
To: tomcat mailing list
Subject: = Class not=20 found on import

Hi. From the Linux = version of=20 Tomcat I get an error something like "class
test.testbean not found on import." I don't understand how = the exact=20 web
app, testbean.class, etc. will run on = my Windows=20 machine which I'm using
for development, = but bombs=20 on my Linux sever. The testbean.class resides in
the=20 "test" directory within the Web-inf's classes directory, exactly how =
it's laid out on the win machine.=20

Anyone have an idea why Tomcat Linux wouldn't = recognize=20 the bean?

Thanks! =


Matt
------=_NextPart_000_00F0_01C069D3.594DA2D0--