Error from using ANT program, need help, Thanks

Hello,
I tried to run J2ee tutorial sample code. Following the instruction, I tried to ues ant to build a sample ConverterAPP but get some error message. I would preciate if somebody could give me some help.
Thanks.
Hui Lu
[email protected]
Following is the command I entered from an CMD window and the exception I got:
C:\j2sdkee1.3\j2eetutorial\examples\src>ant converter
***Warning: I am here start runAnt.
Exception in thread "main" java.lang.NoClassDefFoundError: Connectors\classes;C:
\javacode\classes;C:\eGate\client\classes;C:\eGate\client\classes\egate/jar;C:\eGate\client\JRE\1/1/7B\lib\rt/jar;C:\PROGRA~1\MQSeries\java\lib\COMIBM~2/JAR;C:\
PROGRA~\MQSeries\java\lib\COMIBM~1/JAR;C:\PROGRA~\MQSeries\java\lib\COMIBM~3/JAR;C:\PROGRA~\MQSeries\tools\javaclnt\samples\en_us;
Warning: I am here end runAnt.
Following is the command line in the batch file which raised Exception
C:\jdk1.3.1_01\bin\java -classpath "C:\jdk1.3.1_01\lib\tools.jar";"C:\j2sdkee1.3\jakarta-ant-1.3\lib\parser.jar";"C:\j2sdkee1.3\jakarta-ant-1.3\lib\jaxp.jar";"C:\j2sdkee1.3\jakarta-ant-1.3\lib\ant.jar";C:\javacode\classes;C:\j2sdkee1.3\jaka
rta-ant-1.3\bin;C:\j2sdkee1.3\bin;C:\jdk1.3.1_01\bin;C:\IBMCON~\CICS\Classes\CTGCLI~1.JAR;C:\IBMConnectors\classes;C:\javacode\classes;C:\eGate\client\classes;C:\eGate\client\classes\egate.jar;C:\eGate\client\JRE\1.1.7B\lib\rt.jar;C:\PROGRA~\MQSeries\java\lib\COMIBM~2.JAR;C:\PROGRA~\MQSeries\java\lib\COMIBM~1.JAR;C:\PROGRA~\MQSeries\java\lib\COMIBM~3.JAR;C:\PROGRA~\MQSeries\tools\javaclnt\samples\en_us;
-Dant.home="C:\j2sdkee1.3\jakarta-ant-1.3" org.apache.tools.ant.Ma
in converter
****************************************

Obviously you have the IBM java tools installed on your PC, and your classpath starts with IBM Connectors\...
What you need to do is to edit your classpath environment variable in control panel->systems, and use quotation marks for any long directory/file names, or directory names with spaces in them. For example, change C:\IBM Connectors\classes to "C:\IBM Connectors\classes". Then it will work.

Similar Messages

  • Hello, I'm using the same apple id on my Ipad and Iphone, and anything i do and my ipad reflects on my iphone. if i download an app on my iphone it also downloads on my ipad. Can i stop this from happening. i need help. thank you.

    hello, I'm using the same apple id on my Ipad and Iphone, and anything i do and my ipad reflects on my iphone. if i download an app on my iphone it also downloads on my ipad. Can i stop this from happening. i need help. thank you.

    Yes, under the Settings for the store, you can turn off the auto download for purchases, that way if you purchase an app on another device it will not automatically download on that device.  You would need to do this on both your iPad and iPhone.

  • HT3775 I get the following message when trying to open an .avi downloaded from my video cam, need help, can not find the codec, thank you.The document "IMAG0026.AVI" could not be opened. A required codec isn't available.

    I get the following message when trying to open an .avi downloaded from my video cam, need help, can not find the codec, thank you. This is for Quicktime Player.
    "The document “IMAG0026.AVI” could not be opened. A required codec isn't available."

    Try Perian.
    http://perian.org/

  • Hey! so i was do a AHT on my macbook pro retina and their was a error 4SNS/1/40000001:1DOR-0.000 need help thanks!

    hey! so i was do a AHT on my macbook pro retina and their was a error 4SNS/1/40000001:1DOR-0.000 need help thanks!

    Welcome to Apple Support Communities
    It looks like you ran Apple Hardware Test without plugging the MacBook to the charger. It's normal to see an error if you run Apple Hardware Test without your Mac plugged.
    Plug the MacBook Pro to its charger and run Apple Hardware Test again

  • My sister accidentally delete keynote from my purchased and i need to re pay if i want to use it. i need help

    my sister accidentally delete keynote from my purchased and i need to re pay if i want to use it. i need help!!!!!!!

    Two ways:
    1. Did you tried downloading Keynote using your iPhone as stated above? (make sure you are connected to Wi-Fi)
    2. You can also use computer iTunes > select iTunes Store under STORE (left sidebar), click Purchased on the right under QUICK LINKS > click Apps > Not in My Library.

  • HT1937 I have an iphone bought in the UK but I'm in Europe and can not use it I need help please help me thanks

    I have an iphone bought in the UK but I'm in Europe and can not use it I need help please help me thanks

    wiliiam rrichard wrote:
    Because My iphone is Locked on the United Kingdom
    No it is not.  iPhones, like all cell phones are not locked to countries.  They are locked to carriers.
    Only the carrier to whom the device is locked can unlock it.  Contact the carrier.

  • Cocoa Error 404 -- what happened? need help!!

    After accidentally deleting a subfolder within the "Google" folder in my user related account, the Safari version 3 (the latest one, before the beta 4) stopped loading the gmail.
    it kept on saying Cocoa Error 404. Operation could not be completed. (Cocoa error 404.)” (NSCocoaErrorDomain:404)
    I tried to undo the damage with replacement of the entire Google folder, including re-installing the folder from old copies (using Time Machine). I tried to re-install the Google Gears in Safari. It didn't work.
    I also tried to install the new Safari 4.0. I tried to reset everything, emptying the cache, etc. Nothing worked.
    However, despite this problem, Safari loads other Google functions fine (Calendar, Reader, etc). And Firefox still loads Gmail fine. I wonder what could be the cause of Safari's problems?!
    Need help, thank you!
    Message was edited by: GeorgeCxx

    i sovlved my own question: the guilty party in question is the Google gear plug-in for internet plug-ins (i deleted all the Google plug-ins). it solved all problems. amazing.

  • I did a manual restore but it gave me an error it was 3914 i need help fixing it.

    i did a manual restore but it gave me an error it was 3914 i need help fixing it.

    From this Apple support document: iTunes: Specific update-and-restore error messages and advanced troubleshooting
    This device is not eligible for the requested build: Also sometimes displayed as an "error 3194." If you receive this alert, update to the latest version of iTunes. Third-party security software or router security settings can also cause this issue. To resolve this, follow Troubleshooting security software issues.
    Downgrading to a previous version of iOS is not supported. If you have installed software to perform unauthorized modifications to your iOS device, that software may have redirected connections to the update server (gs.apple.com) within the Hosts file. First you must uninstall the unauthorized modification software from the computer, then edit out the "gs.apple.com" redirect from the hosts file, and then restart the computer for the host file changes to take affect.  For steps to edit the Hosts file and allow iTunes to communicate with the update server, see iTunes: Troubleshooting iTunes Store on your computer, iPhone, iPad, or iPod—follow steps under the headingBlocked by configuration (Mac OS X / Windows) > Rebuild network information > The hosts file may also be blocking the iTunes Store. If you do not uninstall the unauthorized modification software prior to editing the hosts file, that software may automatically modify the hosts file again on restart. Also, using an older or modified .ipsw file can cause this issue. Try moving the current .ipsw file, or try restoring in a new user to ensure that iTunes downloads a new .ipsw.
    Error 3194: Resolve error 3194 by updating to the latest version of iTunes. "This device is not eligible for the requested build" in the updater logs confirms this is the root of the issue. For more Error 3194 steps see: This device is not eligible for the requested build above.
    B-rock

  • The iphone iphone could not be restored an unknown error occurred(9) pleas i need help

    the iphone iphone could not be restored an unknown error occurred(9) pleas i need help 
    i phone 5

    Hi there vienna.hassan,
    You may find the troubleshooting steps in the article below helpful.
    iTunes: Specific update-and-restore error messages and advanced troubleshooting
    http://support.apple.com/kb/ts3694
    Error 9
    This error occurs when the device unexpectedly loses its USB connection with iTunes. This can occur if you manually disconnect the device during the restore process. You can resolve this issue by using USB troubleshooting, using a different Dock Connector or Lightning Connector to USB cable, trying another USB port, restoring on another computer, or by eliminating conflicts from third-party security software.
    -Griff W. 

  • PsCS6  won't open. Error Message 213:19. Need Help.

    PsCS6  won't open. Error Message 213:19. Need Help.

    HI jacksonthomas,
    Were you able to use PS CS6?
    If not, please try the solutions on the following page: http://helpx.adobe.com/photoshop-elements/kb/licensing-problem.html
    Let us know if you need any further help.
    -Pragya

  • I can't restore my ipod, error 3194 pops up, I need help

    I can't restore my ipod, error 3194 pops up, I need help. Please

    From http://support.apple.com/kb/TS3694#error3194:
    Unable to contact the iOS software update server gs.apple.com
    Error 1004, 1013, 1638, 3014, 3194: These errors may be the result of the connection to gs.apple.com being redirected or blocked. Follow these steps to resolve these errors:
    Install the latest version of iTunes.
    Check security software. Ensure that communication to gs.apple.com is allowed. Follow this article for assistance with security software. iTunes for Windows: Troubleshooting security software issues.
    Check the hosts file. The restore will fail if there is an active entry to redirect gs.apple.com. FollowiTunes: Advanced iTunes Store troubleshooting to edit the hosts file or revert to a default hosts file. See section "Blocked by configuration: (Mac OS X/Windows) > Rebuild network information".
    Try to restore from another known-good computer and network.
    If the errors persist on another computer, the device may need service.

  • Lost all email gmail deleted by mistake need help thank you

    lost all email gmail messages deleted by mistake need help thank you.

    Mail 2.x doesn’t store mail in standard mbox format. The only way you might find Mail messages in a “recovered” mbox file is if it was a Mail 1.x file that Mail 2.x left there after the conversion to the new *.emlx format when you upgraded from Mac OS X 10.3 or earlier to Mac OS X 10.4.
    If you’re running Mac OS X 10.4 (Tiger) and don’t have a backup, what you should have tried to recover are as many *.emlx files as possible. Data Rescue II may be able to do that, but the documentation doesn’t say so. The only data recovery utility that I know for sure can currently recover deleted *.emlx files is FileSalvage.
    That said, you may still try to import those mbox files as Other (not as Mail for Mac OS X), and hope that they don’t contain garbage that causes Mail to crash — you may look at their contents with a text editor first to check whether there are actually any emails there.
    Beware, however, that anything you do with the computer may cause the deleted *.emlx files to be overwritten if you don’t try to recover them first.

  • I accidently hit the restoe button! Is there anyway i can get my apps and music back? I need help thanks

    I accidently hit the restoe button! Is there anyway i can get my apps and music back! I need help thanks:)

    Try restoring the iPod from backup. See the restoring section of the following:
    iTunes: Backing up, updating, and restoring your iPhone, iPad, or iPod touch software
    If the apps and music are in your itunes library just sync them back to the iPod if necessary.  If the apps and music are not in your iTunes library see the following.  Not all options are available if you are outside the USA and do not have the latest iOS and iTunes.
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • HT1420 this is the first time i'm about to use this computer to buy songs from itune n i need help

    i need help buying music from itune

    Podcast Producer is part of OSX server and is something I have no experience of. It is expecting your to be running your own server - AFAIK it's not designed for use when you are expecting to host on a commercially run server but I'm not sure about that. You should ask in the OS X Server forum applicable to the version you have. If you are not running OSX server then this program appears not to be suitable for you.

  • HT201210 Pls i was trying to update my iphone 3G to software version 4.2 using itune. The process did not complete succesfully. I then decided to restore back my restore my prevoius version 4.1, it stopped with an error code1015. Pls i need help

    Pls i was trying to update my iphone 3G to software version 4.2 using itune. The process did not complete succesfully. I then decided to restore back my restore my prevoius version 4.1, it stopped with an error code1015. Pls i need help

    Go here: http://www.iclarified.com/entry/index.php?enid=750 and download iOS 4.2.1 for the iPhone 3G. Perform a restore, but hold down ALT when clicking restore. Restore from this file you just downloaded. You should not get 1015 as you are upgrading, but if you get a different error, report back.

Maybe you are looking for

  • After upgrading to OS X Mavericks Time machine stops working

    After upgrading to OS X Mavericks Time machine stops backing up and sometimes hangs on ,,preparing,, for o days and sometimes stops inmediatly. Report says: Backing up to /dev/disk1s2: /Volumes/Backup/Backups.backupdb Event store UUIDs don't match fo

  • Urgent: OE_ORDER_PUB API Error

    Hi all, When I tried to create Sales orders using OE_ORDER_PUB api, it throws this error, FLEX-NULL SEGMENT Values have not been entered for one or more required segments. This is my piece of code I am using for order creation, vReturnStatus VARCHAR2

  • Function modules for Appraisals

    hello Friends, Is there any function module to get the appraisal details of an Employee.Its very urgent. Thanks in advance, regards, Ashok.

  • Adobe Reader PDF Problem

    Whenever I scan a paper, it won't open as a PDF. I used to be able to scan and save as PDF, but not anymore. It comes up as an error, so I need to open with another program. I checked for updates and ran a repair, which didn't help.

  • How to turn of video merge

    How can I turn off the pop up about video merge every time I add a video clip to the time line,.is there a tick box for this .It make a lot of extra work what I do not want,If I put a tick in the box DO NOT SHOW THIS AGAIN it will video merge every c