This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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: 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
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: need a .jar file to fix the compilation error?
It's not a secret anymore!