What is the meaning of the message? about version

C:\Users???\Java\j2ee\login>javac -d .\build\WEB-INF\classes .\src*.java

.\src\loginServlet.java:5: cannot access org.jivesoftware.smack.ConnectionConfig

uration

bad class file: C:\Users???\Java\j2ee\login\lib\smack.jar(org/jivesoftware/s

mack/ConnectionConfiguration.class)

class file has wrong version 49.0, should be 48.0

Please remove or make sure it appears in the correct subdirectory of the classpa

th.

import org.jivesoftware.smack.ConnectionConfiguration;

^

1 error

I try to make web messenger so using servlet.

I try to connect when I give the ID and password. and servlet would be call.

It is my simple code. addition I use weblogic 8.2 and JDK 1.4

import java.io.*;

import java.sql.*;

import javax.servlet.*;

import javax.servlet.http.*;

import org.jivesoftware.smack.ConnectionConfiguration;

import org.jivesoftware.smack.ChatManager;

import org.jivesoftware.smack.Chat;

import org.jivesoftware.smack.ConnectionListener;

import org.jivesoftware.smack.MessageListener;

import org.jivesoftware.smack.XMPPConnection;

import org.jivesoftware.smack.XMPPException;

import org.jivesoftware.smack.packet.Message;

import org.jivesoftware.smack.Roster;

import org.jivesoftware.smack.RosterEntry;

public class loginServlet extends HttpServlet

{

private ConnectionConfiguration connConfig = new ConnectionConfiguration(“talk.google.com”, 5222, “gmail.com”);

private XMPPConnection connection;

public void doGet(HttpServletRequest req, HttpServletResponse res)

{

try

{

//PrintWriter out=res.getWriter();

String userName=req.getParameter(“txtId”);

String userPass=req.getParameter(“txtPass”);

connection = new XMPPConnection(connConfig);

connection.connect();

connection.login(userName, password);

} catch (XMPPException ex)

{

System.out.println(ex);

}

}

}

Plz~ give the answer. Thank you

From the smack documentation:

JAR Files and Requirements

Smack is meant to be easily embedded into any existing JDK 1.5 or later Java application.

You will need to upgrade your JDK to 1.5 at least.