webForumDet fria alternativet

Eclipse error

Javaur Java

0 svar · 141 visningar · startad av AG

Medlem sedan mars 20001 266 inlägg
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

131 ms totalt · 3 externa anrop · v20260731065814-full.4bcf49fe
0 ms — hämta forumlista (cache)
0 ms — hämta statistik (cache)
128 ms — hämta tråd, inlägg och bilagor (db)