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.
I think I posted this in the wrong section, so here it is again.
I'm back again with more J2EE questions. I've downloaded Sun ONE Studio 5 and am trying to play around with some changes to the application I have inherited. I've mounted the directory with all the code and have made some minor changes (only hard coded text on a jsp page), I went to "build all" and now I'm getting errors stating "Unable to load class com.es.taglib.etags.ViewTag. I have the directory and the tag library but I'm guessing the path could be the issue.
Currently the directory I have mounted is c:\source\web which contains all source code. The tag lib are under c:\source\web\web-inf\tlds and the classes are under c:\source\web\web-inf\classes\com\es\taglib\etags.
The etags.tld which is referenced has a <tagclass> of com.es.tablib.etags.ViewTag
This all looks (to me) like it should work but is my directory setup correctly?
Thanks for all your help
Joined: Dec 13, 2004
Guess I should have posted some of the code -
error while compiling - web/billing/lineitems/search_li.jsp [1:-1] File "/web/billing/lineitems/condition" not found
Im' working under Windows XP with Eclipse and Tomcat. So, I might have other ways to solve this problem. I had to add 2 environment variables, namely JAVA_HOME and CATALINA_HOME, to let Windows know where it should look for the commands like javac. I added these variables using control panel - system - tab "advanced".
Installing Tomcat meant also installing some JAR-files in C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib. If you want to use some classes found in jars, you should install these jars where your web server can find them.
As IDE, I use Eclipse and I had to show Eclipse the path to some JAR's I'd like to use. To do this, I had to change the properties of my Java project and change the Build Path.
I'm sure in whatever environment you are working, the same principles are followed. Try to detect where they are.