开云体育

Locked Re: Compilling and running JMRI


sixth_rule
 

Ok i got rid of the other 3 errors and am now down to these 2

i got rid of the first 3 errors by changing
import com.sun.java.util.collections.linkedlist yo
import java.util.linked list

the lines in question look as follows


Error
"LocoNetMessage.java": Error #: 302 : cannot access class
org.apache.log4j.Category; java.io.IOException: class not found:
class org.apache.log4j.Category at line 226, column 29
corisponds to line

static org.apache.log4j.Category log =
org.apache.log4j.Category.getInstance(LocoNetMessage.class.getName());

and Error
"LnTrafficController.java": Error #: 302 : cannot access class
org.apache.log4j.Category; java.io.IOException: class not found:
class org.apache.log4j.Category at line 75, column 26
corrisponds to line

static org.apache.log4j.Category log =
org.apache.log4j.Category.getInstance
(LnTrafficController.class.getName());

becasue of the com.sun.java errors i am worried about the org.apache
part of the code becasue that looks like a web adress
also why is it log4j instead of just log ?
i don't see where log4j has been previously declaired
i have been playing around with the wording in this line but have yet
to fix this part

any help would be helpful

Chad Spickett

i also checked in my c:\jb1.0.3\java dir and here is what is there:
classes/
cvs/
doc/
src/
test/
jmri.jpx
jmri.jpx.local
jmri.jpx.local~
JMRILibraries.library

i think the last one was the one you wanted to know if it was there

could there be any class path settings i have wrong or do i have to
move that library file into jdk1.3.1/lib ???

Join [email protected] to automatically receive all group messages.