Results 1 to 2 of 2
  1. #1
    jhy2a is offline Member
    Join Date
    Mar 2012
    Posts
    1
    Rep Power
    0

    Default Cannot fix dependencies

    When I try to build my main project, which is a java program to manage a student records, I get an error. The error is as follows:

    Cannot fix dependencies for: C:\Users\Tsar2\Documents\NetBeansProjects\GUT1_tas k4\dist\lib\GUT_Task4_Registrar_Attachment.sql

    Here is my build output:

    ant -f C:\\Users\\Tsar2\\Documents\\NetBeansProjects\\GUT 1_task4 clean jar
    init:
    deps-clean:
    Created dir: C:\Users\Tsar2\Documents\NetBeansProjects\GUT1_tas k4\build
    Updating property file: C:\Users\Tsar2\Documents\NetBeansProjects\GUT1_tas k4\build\built-clean.properties
    Deleting directory C:\Users\Tsar2\Documents\NetBeansProjects\GUT1_tas k4\build
    clean:
    init:
    deps-jar:
    Created dir: C:\Users\Tsar2\Documents\NetBeansProjects\GUT1_tas k4\build
    Updating property file: C:\Users\Tsar2\Documents\NetBeansProjects\GUT1_tas k4\build\built-jar.properties
    Created dir: C:\Users\Tsar2\Documents\NetBeansProjects\GUT1_tas k4\build\classes
    Created dir: C:\Users\Tsar2\Documents\NetBeansProjects\GUT1_tas k4\build\empty
    Created dir: C:\Users\Tsar2\Documents\NetBeansProjects\GUT1_tas k4\build\generated-sources\ap-source-output
    Compiling 5 source files to C:\Users\Tsar2\Documents\NetBeansProjects\GUT1_tas k4\build\classes
    compile:
    Created dir: C:\Users\Tsar2\Documents\NetBeansProjects\GUT1_tas k4\dist
    Copying 1 file to C:\Users\Tsar2\Documents\NetBeansProjects\GUT1_tas k4\build
    Copy libraries to C:\Users\Tsar2\Documents\NetBeansProjects\GUT1_tas k4\dist\lib.
    Cannot fix dependencies for: C:\Users\Tsar2\Documents\NetBeansProjects\GUT1_tas k4\dist\lib\GUT_Task4_Registrar_Attachment.sql
    Building jar: C:\Users\Tsar2\Documents\NetBeansProjects\GUT1_tas k4\dist\GUT1_task4.jar
    To run this application from the command line without Ant, try:
    java -jar "C:\Users\Tsar2\Documents\NetBeansProjects\GUT1_ta sk4\dist\GUT1_task4.jar"
    jar:
    BUILD SUCCESSFUL (total time: 4 seconds)

    When I actually run my program, it does not communicate with my database. No records are updated. I know the issue has to be the connection to the MySQL database, but yet I am not getting any other errors.

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,455
    Rep Power
    20

    Default Re: Cannot fix dependencies

    Moved from New to Java.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. package dependencies plugin?
    By bobby101 in forum Eclipse
    Replies: 0
    Last Post: 06-08-2011, 07:03 PM
  2. IntelliJ dependencies issue
    By GaRajan in forum IntelliJ IDEA
    Replies: 0
    Last Post: 06-25-2009, 01:07 PM
  3. ant build dependencies
    By sardare in forum New To Java
    Replies: 0
    Last Post: 04-02-2009, 11:59 PM
  4. JDeveloper Dependencies
    By pringle in forum New To Java
    Replies: 0
    Last Post: 01-09-2008, 01:44 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •