• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

cannot compile with -classpath

 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

It seems that the -classpath option is unable to find the servlet-api.jar file.

I am using Tomcat 5.0 on XP, I get an invalid flag, so I tried to rename the C:\Tomcat 5.0 I get an access denied window.

Thanx in Advance
 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

The servlet-api.jar is located in 'tomcat_folder\common\lib'. Renaming the tomcat folder might cause issues. Please try to use the original folder name that you used while installing Tomcat.

Regards,
Navanee
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic