• 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

Eclipse 3.0 + IBM WTP + Tomcat 5 unable to compile JSPs

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all, maybe the similar kind of question is keep repeating, but I can't find solution in previous posts.

Envirnoment:
Eclipse 3.0
IBM Eclipse Web Tooling Platform - I don't know the version, but got from here:
http://www.eclipse.org/webtools/initial-contribution/IBM/Getting%20Started.html
JDK 1.4.2_04
Tomcat 5.0.27

When I create a Web Project in Eclipse and try to test it, it keep showing this error:

java.lang.NoClassDefFoundError: Files\Apache
Exception in thread "main"

But if I export the WAR, and deploy to the Tomcat5 server, it can be compiled and run correctly. I had already setup the env variable JAVA_HOME and pointed to my JDK directory.

Please advise. Thanks!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic