Frågan#1
Vad kan följande error bero på, skrivs ut i eclipse?
This compilation unit indirectly references the missing type java.lang.Object
(typically some required class file is referencing a type outside the classpath)
Hela koden kan laddas hem och testköras från:
http://www.visionreklam.se/problem.txt
Problemet kan ligga i:
db.openSet(cnf,"select distinct "+(String)cnf.get(IDURL)+","+(String)cnf.get(IDUSER2)+" from "+(String)cnf.get(TABLE3));
Object [] ary = new Object [2];
while (db.next())
{
ary [0] = new Long(db.getLong(1));
ary [1] = new Integer(db.getInt(2));
v.addElement(ary);
}
db.closeSet();
for (i=0; i<v.size(); i++)
{
id=((Long)v.elementAt(i)[0]).longValue();
id2=((Integer)v.elementAt(i)[1]).intValue();
Känns som det iaf :)
Andreas