It's not a secret anymore!
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

Win a copy of Head First Android this week in the Android forum!
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: 17271

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 - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
wood burning stoves
subject: need a .jar file to fix the compilation error?
jQuery in Action, 3rd edition