File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Classpath Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Classpath" Watch "Classpath" New topic
Author

Classpath

Balki Dhar
Greenhorn

Joined: Dec 15, 2005
Posts: 18
Hi
I have been able to compile my servlet programs before I installed JAXP for XML processing. After I Installed this API, I could not compile my Servlets as well as the new xml parser java programs using those API. I got package not found errors.
Then I found that when I installed the JAXP package, it modified the autoexec.bat file by adding classpath set to the JAXP jar classes. When doing so it has put the jar files names as capitals. After I changed the class path by converting the jar file name to lowercase, It started working. My PC has Windows 98 OS.
So if anybody has problem when compile your servlet codes, check the classpath name. Change the jar file names to lowercase letters.
dbalki
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
dear friend,
thanks for useful message.continue this habit of sharing these type of messages.
with regards
balraj
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Hi,dbalki;
Can you pls tell me the URL to download the XML API, (JAXP? right)?
Thanx in advance!
BTW, appreciate your tips!
Balki Dhar
Greenhorn

Joined: Dec 15, 2005
Posts: 18
Hi Seazodiac,
You can download JAXP API from sun's xml site. The URL is: http://java.sun.com/xml/download.html
dbalki
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Classpath
 
Similar Threads
ClassNotFoundException is very odd
Servlet does not compile, again!
Parsing input from a string using JAXP, Xerces 1.4.1 with Visual Age
WebLogic12C + Eclipse Indigo develop JSF 2.0 with CDI
problem with jsr172