permaculture playing cards
The moose likes Servlets and the fly likes need a .jar file to fix the compilation error? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "need a .jar file to fix the compilation error?" Watch "need a .jar file to fix the compilation error?" New topic

need a .jar file to fix the compilation error?

Naiwen Lin

Joined: Jun 23, 2004
Posts: 3
I got the following error when compiling using ant. I searched for "Int2ObjectRBTreeMap" on google and downloaded fastutil.jar to lib/, but the error still appears. Anyone knows which .jar file I need to download to fix the error?
Thanks a lot.


[javac] Compiling 8 source files to /home/nwlin/test/pubserver/WEB-INF/build
[javac] /home/nwlin/test/pubserver/WEB-INF/src/org/semanticweb/rdf/ cannot resolve symbol
[javac] symbol : class Int2ObjectRBTreeMap
[javac] location: class org.semanticweb.rdf.ModelIntTree
[javac] return new Int2ObjectRBTreeMap();
[javac] ^
[javac] 1 error

/home/nwlin/test/pubserver/WEB-INF/build.xml:53: Compile failed; see the compiler error output for details.
[ August 02, 2004: Message edited by: Naiwen Lin ]
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

Good question, but I don't see how the question is Servlet related.

This forum is for Servlet questions.

Are you sure you have the correct classpath, either in the import statement in the code matching the path in the jar file, or that your classpath will include that jar file. You can open the jar file in Winzip and see if that file exists in the jar, and that the path is correct.


Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: need a .jar file to fix the compilation error?
It's not a secret anymore!