eclipse - tomcat7 web servlet wouldn't work -
so i'm using eclipse , wrote 2 separate project. servlet project using jar file other project , runs fine on tomcat server built in eclipse. however, if package servlet project war file , deploy on tomcat7 directly on machine (not through eclipse), wouldn't run. i'm worried might problem classpath. when ran in eclipse, had manually went in runconfiguration , add jar files tomcat server classpath. how through command line?
you shouldn't mess tomcat classpath. put jar in web-inf/lib directory of war, other libraries webapp uses.
Comments
Post a Comment