• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tomcat 4.0.4 & db-connection problem.

 
roni suvanto
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,
I'm having hard time trying to connect to mysql database. I'm totally newbie what comes to tomcat, but after spending hours with manuals and google without no luck, I decided to ask you gurus.
So, I'm using Tomcat 4.0.4/MySQL 3.23.51, JDK1.3.1_04 & J2SDK1.4.0_01 under win2k.
First I had Tomcat using the 1.4.0, but when I tried to connect to the database, the result was the following error;
org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.
After spending some time with the google, I found out that there is a problem with Tomcat and 1.4.0 when connecting to databases, and the solution is to use older version.
So I downloaded JDK1.3.1_04 and but it still doesn't work. This time the error is;
javax.servlet.ServletException: sun/tools/javac/Main (Unsupported major.minor version 48.0)
Any suggestions ?
 
roni suvanto
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
problem solved.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic