Difficulty Creating . JAR in Netbeans

Asked

Viewed 265 times

2

I’m trying to create a . JAR in Netbeans, but I get the messages :

C: Users Admin Desktop Project nbproject build-impl.xml:993: The following error occurred while executing this line:
C: Users Desktop Administrator Project nbproject build-impl.xml:837: copylibs doesn’t support the "excludeFromCopy" attribute

Netbeans does not generate . JAR because of these errors.

My specifications

OS version = Windows 7 64 Bits
Java version = 1.7.0_55
Netbeans Release = 7.0.1

  • according to the error message try to remove the attribute, excludeFromCopy of your xml.

  • by the way, consider using Maven

  • How do I do it my friend ? Where do I find the file ? Thank you very much.

  • From what I read and understood in this bug report from Netbeans itself this is a bug and to fix just upgrade to version 7.4 or more current.

  • 1

    That’s right my friend, just upgrade ! Really worth !

  • As I was not sure that only the update would solve your problem I had written otherwise, as it resolved converted to answer ;)

  • just to explain to you, when there is an answer that solves the problem mark it as accepted, so it is clear that your doubt has been resolved, to do this just click on the tick (a V that is on the side of the answer) to make it green

Show 2 more comments

1 answer

3


According to this bug report from Netbeans itself this is a bug and to fix just upgrade to version 7.4 or more current.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.