Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java Open Source > Apache Tomcat
|
Apache Tomcat General discussion of the Apache Tomcat servlet container. For discussions specific to the Professional Apache Tomcat book, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Apache Tomcat section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 17th, 2007, 10:34 AM
Registered User
 
Join Date: Oct 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to sagar.singh
Default JSP pages not working after reinstalling Tomcat

Hi ,
i have re-installed my Apache tomcat and after installing my project(Java web Project) using (beans and JSP) not working..... This project was working fine with my Previous Tomcat (I have installed the same version of Tomcat again)...

Now it is giving erroe like this :

exception

org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: 1 in the generated java file
The type com.mysql.jdbc.ResultSet cannot be resolved. It is indirectly referenced from required .class files

An error occurred at line: 6 in the generated java file
Only a type can be imported. com.mysql.jdbc.ResultSet resolves to a package

An error occurred at line: 18 in the jsp file: /List_Job.jsp
ResultSet cannot be resolved to a type



I have already included JAR file for MYSQL Connection Driver.

Please help me with the posssible solution

Thanks and regards
sagar

 
Old October 17th, 2007, 10:18 PM
Friend of Wrox
 
Join Date: Mar 2007
Posts: 373
Thanks: 0
Thanked 1 Time in 1 Post
Default

Can you tell where did you placed the mySQL jar file?

It should be part of your application [WEB-INF\lib].

- Rakesh
 
Old October 17th, 2007, 11:15 PM
Registered User
 
Join Date: Oct 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to sagar.singh
Default

i am using ECLIPSE as my IDE and i have included this mySQL Jar as external JAR using ECLIPSE. After Rakesh's suggestion i also tried putted JAR into web-inf\lib but still the same problem occuring...

please help
Regards
sagar

 
Old October 24th, 2007, 01:28 AM
Friend of Wrox
 
Join Date: Mar 2007
Posts: 373
Thanks: 0
Thanked 1 Time in 1 Post
Default

Can you paste some block of the jsp code so that we can check it. Check whether the imports are proper!

- Rakesh





Similar Threads
Thread Thread Starter Forum Replies Last Post
Running JSP in Tomcat. javamaniac JSP Basics 6 December 17th, 2005 08:10 PM
run jsp on tomcat devyani JSP Basics 3 July 4th, 2005 05:26 AM
jsp in tomcat damo Apache Tomcat 1 February 15th, 2005 01:32 PM
Iam still in JSP 1.2 and using Tomcat 4.1 dotnetwhizkid JSP Basics 1 August 9th, 2004 07:40 AM
Chapter 1 - First JSP is not seen by Tomcat aesposito JSP Basics 1 July 29th, 2004 11:56 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.