facebook

JAR file not copied to deployment directory

  1. MyEclipse IDE
  2.  > 
  3. Feature Requests
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #216710 Reply

    Paul Baker
    Member

    I’m new to eclipse.
    I added “mysql-connector-java-3.0.9-stable-bin.jar” to my project via:
    project properties | Java Build Path | Add External Jars

    The Jar files appear in the list but when I redeploy to TomCat the jar file is never copied to the deployment directory. All of the other files are copied to the project/WebRoot/WEB-INF/lib directory.

    What do I need to do more to force this jar to be copied? No classes in the jar are referenced directly but the Driver class is specified in a properties file.

    The app works file when a manually copy the jar file to the deployment lib directory.

    Paul

    #216714 Reply

    Riyad Kalla
    Member

    Paul,
    You’ll need to adjust your deployment rules for externally linked resources. Its under your project properties, then MyEclipse-WEb, check out the two sections on that preference panel related to deployment rules.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: JAR file not copied to deployment directory

You must be logged in to post in the forum log in