Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 91828 invoked from network); 7 Apr 2003 20:10:51 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 7 Apr 2003 20:10:51 -0000 Received: (qmail 28929 invoked by uid 97); 7 Apr 2003 20:12:46 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 28922 invoked from network); 7 Apr 2003 20:12:46 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 7 Apr 2003 20:12:46 -0000 Received: (qmail 87867 invoked by uid 500); 7 Apr 2003 20:09:44 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 87824 invoked from network); 7 Apr 2003 20:09:43 -0000 Received: from mx2.bentley.com (64.90.225.5) by daedalus.apache.org with SMTP; 7 Apr 2003 20:09:43 -0000 Received: from exton3.bentley.com (exton3 [64.90.226.70]) by mx2.bentley.com (Switch-2.2.5/Switch-2.2.4) with ESMTP id h37K9dD22948 for ; Mon, 7 Apr 2003 16:09:39 -0400 Received: by exton3.bentley.com with Internet Mail Service (5.5.2656.59) id <2NYQ02GS>; Mon, 7 Apr 2003 16:03:52 -0400 Message-ID: From: Robert Priest To: "'Tomcat Users List'" Subject: RE: Jasper Error wrong version of Object.class (48.0 , should be 47.0) Date: Mon, 7 Apr 2003 16:09:38 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Thanks to all those that helped. Seems as though I had two problems with my jsp file. 1. I had older\mismatch versions of tools.jar in my installation which prevented my jsp from compiling. (This second part has more to do with the commons-fileupload project. Read on if you are interested. 2. My jsp page, which uploads a file using the commons-fileupload project (http://jakarta.apache.org/commons/fileupload/), uses commons-beanutils.jar. That jar was placed in the webapps lib dir (webapps\uploadfile\WEB-INF\lib). But there was some sort of conflict with my log4j-1.2.3.jar in my common\lib directory. For some reason, I would get a generic ServletException (without any info) when trying to upload the file. To get around this, I had to move the common-beanutils.jar to the \common\lib dir. It seems as though something in log4j-1.2.3.jar was stepping on something in the commons-beanutils.jar I have not, as of yet, found out exactly what that is. But from a little investigation, I have found that the error "occurs", when the folllowing lines of code are executed in the org.apache.commons.fileupload.FileUpload file (in method: protected Method getNewInstanceMethod()): Method newInstanceMethod = MethodUtils.getAccessibleMethod( fileItemClass, "newInstance", parameterTypes); If anyone attempting to use the fileupload project has seen anything similar, I would be interested if you have found out anything more that I currently have. -----Original Message----- From: Robert Priest Sent: Tuesday, April 01, 2003 5:06 PM To: 'Tomcat Users List' Subject: RE: Jasper Error wrong version of Object.class (48.0 , should be 47.0) Thanks for the reply. I just downloaded 1.4.1_ -----Original Message----- From: Shapira, Yoav [mailto:Yoav.Shapira@mpi.com] Sent: Tuesday, April 01, 2003 3:27 PM To: Tomcat Users List Subject: RE: Jasper Error wrong version of Object.class (48.0 , should be 47.0) Howdy, Make sure you're using: - The JDK (not JRE) - The right version of the JDK (preferably the latest stable version) - An OS that has the patches required for the JDK, if any This was a known bug in JDK 1.4.0b92 or something like that: search the BugParade on java.sun.com. Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Robert Priest [mailto:Robert.Priest@bentley.com] >Sent: Tuesday, April 01, 2003 3:22 PM >To: tomcat-user@jakarta.apache.org >Subject: Jasper Error wrong version of Object.class (48.0 , should be 47.0) > >I am receiving the following error when my jsp file attempts to compile. >Could there be another version of Object.class in the way? >org.apache.jasper.JasperException: Unable to compile class for JSP An error >occurred at line: -1 in the jsp file: null Generated servlet error: [javac] >Compiling 1 source file D:\pw\tip\output\delivery\Program >Files\Bentley\ProjectWise\WebServer\work\Standalone\localhost\uploadfil e\js >p\upload$jsp.java:12: >cannot access java.lang.Object bad class file: >C:\j2sdk1.4.1_01\jre\lib\rt.jar(java/lang/Object.class) class file has >wrong version 48.0, should be 47.0 Please remove or make sure it appears in >the correct subdirectory of the classpath. public String getServletInfo() { > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org