Jasper reports library is not compiling.

Jaspersoft Community 'Read-Only' as of July 8, 2022

Transition to New TIBCO Community Just Weeks Away

You can still search, review wiki content, and review discussions in read-only mode. Please email community@tibco.com with questions or issues requiring TIBCO review or response.

HI,

Can someone tell me what I need to do to fix the error I am getting?

-Denis

 

/Users/denisputnam/Development/jasperreports-6.2.2>ant compile

Buildfile: /Users/denisputnam/Development/jasperreports-6.2.2/build.xml

compile:

BUILD FAILED

/Users/denisputnam/Development/jasperreports-6.2.2/build.xml:14: Problem: failed to create task or type antlib:org.apache.ivy.ant:configure

Cause: The name is undefined.

Action: Check the spelling.

Action: Check that any custom tasks/types have been declared.

Action: Check that any <presetdef>/<macrodef> declarations have taken place.

No types or tasks have been defined in this namespace yet

This appears to be an antlib declaration.

Action: Check that the implementing library exists in one of:

-/Users/denisputnam/Development/apache-ant-1.9.7/lib

-/Users/denisputnam/.ant/lib

-a directory added on the command line with the -lib argument

Total time: 0 seconds

denisputnam's picture
Joined: Jun 17 2016 - 9:10am
Last seen: 6 years 3 days ago

2 Answers:

I found my own answer from another post here.  You need to download and install the ivy.jar file into $ANT_HOME/lib.

http://ant.apache.org/ivy/

denisputnam's picture
Joined: Jun 17 2016 - 9:10am
Last seen: 6 years 3 days ago

Yes and you'll also need Internet connection now.

hozawa's picture
131824
Joined: Apr 24 2010 - 4:31pm
Last seen: 3 years 3 weeks ago
Feedback
randomness