Jump to content
Changes to the Jaspersoft community edition download ×

The name is undefined when running hsqldb server


Eyesmagicx

Recommended Posts

Hi. I am using reference "Jasper Reports ultimate guide third edition". I am trying to see JasperReports in action through downloading the full project package
from the following SourceForge.net location: http://sourceforge.net/project/showfiles.php?group_id=36382&package_id=28579.

I have downloaded ANT BUILD TOOL binary distribution "apache-ant-1.9.16-bin.zip" from "https://ant.apache.org/bindownload.cgi" and installed it as it's manual "https://ant.apache.org/manual/index.html" says. Last step was, "ant -version", and I got the message "Apache Ant version 1.9.2 compiled on July 8 2013".

I got jre1.8.0_261 and jdk-12.0.1 installed.

Now, I am trying to run HSQLDB DEMO DATABASE server through launching "jasperReports sample project....demohsqldb>ant runServer " command. But, unfortunately, I get...

Buildfile: D:Rosheta Projectjasperreports_library-6.20.0-projectjasperreports-6.20.0demohsqldbbuild.xml

runServer:

BUILD FAILED
D:Rosheta Projectjasperreports_library-6.20.0-projectjasperreports-6.20.0demohsqldbbuild.xml:6: 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:
        -D:ANTlib
        -C:UsersEslam.antlib
        -a directory added on the command line with the -lib argument


Total time: 0 seconds

When I search for files named "runServer" in all folders and subfolders of jasperReports sample project directory, I found only one image with that name that shows a picture of the server running!

I tried downloading  "apache-ivy-2.5.0-bin.zip" from the https://ant.apache.org/ivy/download.cgi,  Extract the zip file and copy the ivy-2.5.0.jar file to C:my_ant_homelib"

as suggested in the following thread that mentions the same problem but with no vain...

https://community.jaspersoft.com/questions/982676/haw-i-fix-hsqldb-runserver-problem

 

What could be the reason and solution for that? 

Thanks in advance

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...