• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Are Jar Files Required at run time

 
Arpit Gadle
Ranch Hand
Posts: 69
Linux MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I have created a simple web application that sends a email. It worked locally on Tomcat as necessary Jar files were on the classpath. But when i uploaded the same war on the Godaddy server on our hosting domain it failed.

My questions are

1. Is it neccessary to include necessary jar file on which my application is dependent in WAR.

2. How can I find out, which JAR files are required at run time so I can add it in lib directory of my application.


Waiting for your reply,

Arpit
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65216
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes. Any jar files that contain classes that are referenced.
 
Arpit Gadle
Ranch Hand
Posts: 69
Linux MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Bro,

For your reply.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic