Yello
Jeg har et lille problem med package:
Dir layout (CLASSPATH=.
/java):
~/java/travelplanner
|
TravelPlanner.java
/search
|
BreadthFirstSearch.java
Travelplanner.java indeholder:
package travelplanner;
import travelplanner.*;
.....
BreadthFirstSearch.java indeholder:
package travelplanner.search;
Når jeg compiler Travelplanner.java får jeg:
TravelPlanner.java:23: cannot resolve symbol
symbol : class BreadthFirstSearch
location: class travelplanner.TravelPlanner
BreadthFirstSearch bfs = new BreadthFirstSearch();
^
TravelPlanner.java:23: cannot resolve symbol
symbol : class BreadthFirstSearch
location: class travelplanner.TravelPlanner
BreadthFirstSearch bfs = new BreadthFirstSearch();
^
2 errors
Hvad gør jeg forkert???
--
Mvh. / Kind regards
Henrik Farre < enrique@obel.auc.dk --
http://Welcome.to/Webbench >
- If I where God, I would recompile the penguin with --enable-flying.