[SOLVED]Pacman try to install old version packages which not exists

When I tried to install django, pacman reported 404 error.
And I found that pacman tried to install django-1.4.3-1 while the resposity I used only has django-1.4.4-1
I've deleted all resposities except
Server = http://mirrors.163.com/archlinux/$repo/os/$arch
And then I tried
pacman -Syy
but it seems useless.
Last edited by sandnon (2013-02-20 17:12:55)

Snowman wrote:
sandnon wrote:
I found the reason now...
Because the 163.com's repository does not have django..
I add
Server = ftp://ftp.archlinux.org/$repo/os/$arch
to the first and then
pacman -Syy
At last, I can install django now..
I think this topic can be marked as SOLVED. Should I mark it or the administrator will do this?(In fact I do not know how to mark it.:))
You shouldn't use ftp.archlinux.org, it's throttled. Use another mirror instead.
I just use ftp.archlinux.org occacionally to fix the problem.
Sometimes I don't want to wait the mirror updating itself.

Similar Messages

  • [SOLVED] Pacman trying to install 64-bit packages on 32-bit system

    I was upgrading my Arch Linux i686 install, and I got the following error:
    error: The mirror 'http://mirror.rit.edu/archlinux/$repo/os/$arch' contains the $arch variable, but no Architecture is defined.
    I added Architecture = i686 to /etc/pacman.conf under [options], and when I run pacman -Syu, I get these errors:
    error: failed to prepare transaction (package architecture is not valid)
    :: package clucene-2.3.3.4-2-x86_64 does not have a valid architecture
    :: package filezilla-3.5.3-1-x86_64 does not have a valid architecture
    :: package lshw-B.02.16-1-x86_64 does not have a valid architecture
    :: package yajl-2.0.4-1-x86_64 does not have a valid architecture
    Why is pacman trying to install x86_64 packages on my i686 system?
    Last edited by nticompass (2012-01-13 03:24:43)

    Got errors
    :: Retrieving packages from community...
    error: failed retrieving file 'virtualbox-modules-4.1.8-1-x86_64.pkg.tar.xz' from mirrors.kernel.org : File unavailable (e.g., file not found, no access)
    error: failed retrieving file 'virtualbox-modules-4.1.8-1-x86_64.pkg.tar.xz' from archlinux.supsec.org : File unavailable (e.g., file not found, no access)
    error: failed retrieving file 'virtualbox-modules-4.1.8-1-x86_64.pkg.tar.xz' from cake.lib.fit.edu : File unavailable (e.g., file not found, no access)
    error: failed retrieving file 'virtualbox-modules-4.1.8-1-x86_64.pkg.tar.xz' from mirrors.cat.pdx.edu : Not Found
    error: failed retrieving file 'virtualbox-modules-4.1.8-1-x86_64.pkg.tar.xz' from mirror.ece.vt.edu : Not Found
    error: failed retrieving file 'virtualbox-modules-4.1.8-1-x86_64.pkg.tar.xz' from ftp.gtlib.gatech.edu : File unavailable (e.g., file not found, no access)
    warning: failed to retrieve some files from community
    error: failed to commit transaction (File unavailable (e.g., file not found, no access))
    Seems to be looking for 64 bit packages still. Had a similar issue when installing another prog as well

  • [SOLVED] pacman hanged when install or remove packages

    when I use pacman -S , it only shows "resolving dependencies...". If I use pacman -R , it hangs at "checking dependencies..."
    I have tried to overwrit the programme with extracted the package manually, it didn't help me.How can I resolve the problem
    Last edited by nyfair (2008-03-25 14:16:21)

    sudo pacman -S pacman --debug
    debug: config: attempting to read file /etc/pacman.conf
    debug: config: new section 'options'
    debug: config: HoldPkg: pacman
    debug: config: HoldPkg: glibc
    debug: config: new section 'testing'
    debug: setlibpaths() called
    debug: option 'cachedir' = /var/cache/pacman/pkg/
    debug: registering sync database 'testing'
    debug: opening database 'testing'
    debug: opening database from path '/var/lib/pacman/sync/testing/'
    debug: config: including /etc/pacman.d/mirrorlist
    debug: config: attempting to read file /etc/pacman.d/mirrorlist
    debug: adding new server to database 'testing': protocol 'ftp', server 'mirror.pacific.net.au', path '/linux/archlinux/testing/os/x86_64'
    debug: config: finished parsing /etc/pacman.d/mirrorlist
    debug: config: new section 'core'
    debug: registering sync database 'core'
    debug: opening database 'core'
    debug: opening database from path '/var/lib/pacman/sync/core/'
    debug: config: including /etc/pacman.d/mirrorlist
    debug: config: attempting to read file /etc/pacman.d/mirrorlist
    debug: adding new server to database 'core': protocol 'ftp', server 'mirror.pacific.net.au', path '/linux/archlinux/core/os/x86_64'
    debug: config: finished parsing /etc/pacman.d/mirrorlist
    debug: config: new section 'extra'
    debug: registering sync database 'extra'
    debug: opening database 'extra'
    debug: opening database from path '/var/lib/pacman/sync/extra/'
    debug: config: including /etc/pacman.d/mirrorlist
    debug: config: attempting to read file /etc/pacman.d/mirrorlist
    debug: adding new server to database 'extra': protocol 'ftp', server 'mirror.pacific.net.au', path '/linux/archlinux/extra/os/x86_64'
    debug: config: finished parsing /etc/pacman.d/mirrorlist
    debug: config: new section 'community'
    debug: registering sync database 'community'
    debug: opening database 'community'
    debug: opening database from path '/var/lib/pacman/sync/community/'
    debug: config: including /etc/pacman.d/mirrorlist
    debug: config: attempting to read file /etc/pacman.d/mirrorlist
    debug: adding new server to database 'community': protocol 'ftp', server 'mirror.pacific.net.au', path '/linux/archlinux/community/os/x86_64'
    debug: config: finished parsing /etc/pacman.d/mirrorlist
    debug: config: finished parsing /etc/pacman.conf
    debug: registering local database
    debug: opening database 'local'
    debug: opening database from path '/var/lib/pacman/local/'
    debug: loading package cache for repository 'testing'
    debug: loading package cache for repository 'core'
    debug: loading package cache for repository 'local'
    warning: pacman-3.1.3-1 is up to date -- reinstalling
    debug: package 'pacman' not found in sync
    debug: adding target 'pacman' to the transaction set
    resolving dependencies...
    debug: resolving target's dependencies
    debug: started resolving dependencies
    debug: checkdeps: package pacman-3.1.3-1
    then the programme hanged
    after I press ctrl+c, it shows
    debug: returning error 29 from alpm_trans_interrupt : operation not compatible with the transaction type
    debug: closing database 'local'
    debug: unregistering database 'local'
    debug: freeing package cache for repository 'local'
    debug: closing database 'testing'
    debug: unregistering database 'testing'
    debug: freeing package cache for repository 'testing'
    debug: closing database 'core'
    debug: unregistering database 'core'
    debug: freeing package cache for repository 'core'
    debug: closing database 'extra'
    debug: unregistering database 'extra'
    debug: closing database 'community'
    debug: unregistering database 'community'

  • Why the pacman try to install a pakage not suit my platform?

    Hi,I got a problem today when I try to pacman the unzip pakage.
    The pacman just try to install the unzip pakage that not suit my platform
    Here is the message info:
    drmagic@gentoo etc : sudo pacman -S unzip
    resolving dependencies... done.
    looking for inter-conflicts... done.
    Targets: unzip-5.52-3
    Total Package Size: 0.13 MB
    Proceed with installation? [Y/n] y
    :: Retrieving packages from extra...
    --10:49:28-- ftp://cle.linux.org.tw/pub/ArchLinux/extra/os/i686/unzip-5.52-3-x86_64.pkg.tar.gz
    => `/var/cache/pacman/pkg/unzip-5.52-3-x86_64.pkg.tar.gz.part'
    Resolving cle.linux.org.tw... 140.112.8.136
    Connecting to cle.linux.org.tw|140.112.8.136|:21... connected.
    Logging in as anonymous ... Logged in!
    ==> SYST ... done. ==> PWD ... done.
    ==> TYPE I ... done. ==> CWD /pub/ArchLinux/extra/os/i686 ... done.
    ==> PASV ... done. ==> RETR unzip-5.52-3-x86_64.pkg.tar.gz ...
    No such file `unzip-5.52-3-x86_64.pkg.tar.gz'.
    This is my cpu info:
    drmagic@gentoo etc : cat /proc/cpuinfo
    processor : 0
    vendor_id : AuthenticAMD
    cpu family : 6
    model : 7
    model name : AMD Duron(tm) processor
    stepping : 1
    cpu MHz : 1000.032
    cache size : 64 KB
    fdiv_bug : no
    hlt_bug : no
    f00f_bug : no
    coma_bug : no
    fpu : yes
    fpu_exception : yes
    cpuid level : 1
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mp mmxext 3dnowext 3dnow up ts
    bogomips : 2002.99
    clflush size : 32
    This is my makepkg.conf:
    drmagic@gentoo etc : cat makepkg.conf
    # /etc/makepkg.conf
    # SOURCE ACQUISITION
    #-- The FTP/HTTP download utility that makepkg should use to acquire sources
    FTPAGENT="/usr/bin/wget --continue --passive-ftp --tries=3 --waitretry=3 --no-check-certificate"
    #FTPAGENT="/usr/bin/snarf"
    #FTPAGENT="/usr/bin/lftpget -c"
    # ARCHITECTURE, COMPILE FLAGS
    CARCH="i686"
    CHOST="i686-pc-linux-gnu"
    #-- Exclusive: will only run on i686
    # -mtune builds exclusively for an architecture
    # -mcpu optimizes for an architecture, but builds for the whole processor family
    CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
    CXXFLAGS="${CFLAGS}"
    #-- Make Flags: change this for DistCC/SMP systems
    #MAKEFLAGS="-j2"
    # BUILD ENVIRONMENT
    # Defaults: BUILDENV=(!fakeroot !distcc color !ccache)
    #-- fakeroot: Allow building packages as a non-root user
    #-- distcc: Use the Distributed C/C++/ObjC compiler
    #-- color: Colorize output messages
    #-- ccache: Use ccache to cache compilation
    BUILDENV=(fakeroot !distcc color !ccache)
    #-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
    #-- specify a space-delimited list of hosts running in the DistCC cluster.
    #DISTCC_HOSTS=""
    # GLOBAL PACKAGE OPTIONS
    # These are default values for the options=() settings
    # Default: OPTIONS=(strip !docs !libtool emptydirs)
    #-- strip: Strip symbols from binaries/libraries
    #-- docs: Save doc and info directories
    #-- libtool: Leave libtool (.la) files in packages
    #-- emptydirs: Leave empty directories in packages
    OPTIONS=(strip !docs libtool emptydirs)
    #-- File integrity checks to use. Valid: md5, sha1, sha256, sha384, sha512
    INTEGRITY_CHECK=(md5)
    #-- Info and doc directories to remove (if option set correctly above)
    DOC_DIRS=(usr/{,share/}{info,doc,gtk-doc} opt/gnome/{,share/}{info,doc,gtk-doc})
    # PACKAGE OUTPUT
    # Default: put built package and cached source in build directory
    #-- Destination: specify a fixed directory where all packages will be placed
    #PKGDEST=/home/packages
    #-- Source cache: specify a fixed directory where source files will be cached
    #SRCDEST=/home/sources
    #-- Packager: name/email of the person or organization building packages
    #PACKAGER="John Doe <[email protected]>"
    # vim: set ft=sh ts=2 sw=2 et:
    The pacman has puzzled me!:(

    http://bbs.archlinux.org/viewtopic.php?id=40074

  • Can I install old version of google maps that was installed with ios5. What's the app called?

    Can I install old version of google maps that was installed with ios5. What's the app called?

    You can't, it was built-in to iOS and is not in the store. Google are supposed to be working on app version of maps, and in the meantime you could try accessing it via Safari : http://maps.google.com

  • Please Please help me. I have been trying to install Itunes 11 for 3 months. I deleted my old version and can not for the life of me get Itunes installed . I have Windows 7 Home. The message is " Could not open key: UNKNOWN\Components\DA42BC89BF25F5BDOAF1

    Please Please help me. I have been trying to install Itunes 11 for 3 months. I deleted my old version and can not for the life of me get Itunes installed . I have Windows 7 Home. The message is " Could not open key: UNKNOWN\Components\DA42BC89BF25F5BDOAF1

    Try the following user tip:
    "Could not open key: UNKNOWN\Components\[LongStringOfLettersAndNumbers]\[LongStringOfLettersAndNumbe rs]" error messages when installing iTunes for Windows

  • Try to install latest version of adobe 11.0.0 but general installation error

    try to install latest version but cannot because general installation error what do I have to do

    You can try using the full offline Reader installer from 
    http://get.adobe.com/reader/enterprise/

  • HT201260 Tried to remove Symantec End Point software by dropping it in the trash and then emptied trash, of course now when I try and install newer version it tells me to uninstall the older version I can not access now. Any solutions?

    Tried to remove Symantec End Point software by dropping it in the trash and then emptied trash, of course now when I try and install newer version it tells me to uninstall the older version I can not access now. Any solutions?

    You usually have to use the program's uninstaller utility for such things as Symantec. Read this:
    http://www.symantec.com/business/support/index?page=content&id=TECH132120
    You may need to install it all over again, just to use its uninstaller.

  • I have deleted windows7 in the boot camp but the partition macintosh hd2 is still there...if i try to install windows7 again,it is not showing the boot camp partioned space...

    I have deleted windows7 in the boot camp but the partition macintosh hd2 is still there...if i try to install windows7 again,it is not showing the boot camp partioned space...

    Update:  I did an extended hardware test (just in case a hardware issue was causing my problem)--no problems found.  I then went through the Aperture troubleshooting steps: I tried repairing permissions first, but I still could not see any of the images that were in the Aperture trash.  I then repaired the library.  This seems to have fixed things (at least upon initial assessment).  Afterward, I was able to see the images that were in the trash.  I opened the Activity Window to see what it said when I tried emptying the trash again.  This time it said it was deleting exactly the number of images that I expected it to delete (not twice as many this time!), and it emptied lickety split--as I had expected it to do the first time!  So, hopefully, all is now well with my system and library.  Still wondering why it was telling me it was deleting twice as many images as were in the trash the last time I tried, but overall, much happier today!

  • Import statement reports 'package does not exist'

    I am seeing another odd error. I'm working on learning how to read and write to text files, and I have 2 errors reported, but one is obviously caused by the other. My package is labeled as such (copy>paste of package line):
    package michaelchristopherp4db;
    and the import line is this (copy>paste again):
    import michaelchristopherp4db.ProductRecord;
    However, Netbeans looks at the import and flags it red, saying package michaelchristopherp4db does not exist. this caused my line:
    ProductRecord product = new ProductRecord();
    to also be flagged in red as it cannot find the ProductRecord class. However, it has no problems with any of the product.get* method calls. Thank you in advance for any ideas or input.
    here is the full code of the file reporting the errors.
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package michaelchristopherp4db2;
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.lang.IllegalStateException;
    import java.lang.SecurityException;
    import java.util.NoSuchElementException;
    import java.util.Formatter;
    import java.util.FormatterClosedException;
    import java.util.Scanner;
    import michaelchristopherp4db.ProductRecord;
    /*  @author info
    public class readTxt
        private Scanner txtfile;
        private Formatter wishList;
        private Formatter giftIdeas;
        private Formatter priceError;
        //let user open file
        public void openFile()
        {//open method openFile
            try
            {//open try block
                priceError = new Formatter("priceerror.txt");//open object for items with invalid prices
                giftIdeas = new Formatter("giftideas.txt");//open object for gift ideas
                wishList = new Formatter("wishlist.txt");//open object for wish list
                txtfile = new Scanner(new File("products.txt"));//tell the compiler which file to use for input
            }//close try block
            catch (FileNotFoundException fileNotFoundException)
            {//open file not found catch block
                System.err.println("Error opening or creating file.");
                System.exit(1);
            }//close file not found catch block
            catch ( SecurityException securityException )
            {//start catch for SecurityException
                System.err.println("File Write access is denied.");
                System.exit(1);//END PROGRAM
            }//end catch
        }//close openFile method
        public void readProducts()
        {//open readProducts method
            ProductRecord product = new ProductRecord();//create object to hold read data
            //print headers for for output columns
            System.out.printf("%-10s%-12s%10s\n", "Product ID", "Product Name", "Price");
            try //read records from the file
            {//open try block
                while (txtfile.hasNext())
                {//open while
                    product.setproductID(txtfile.nextInt());//get productID
                    product.setproductName(txtfile.next());//get product name
                    product.setproductPrice(txtfile.nextDouble());//get product price
                    //print collected product details
                    System.out.printf("%-10d%-12s%10.2f\n", product.getproductID(),
                            product.getproductName(), product.getproductPrice());
                    if (product.getproductPrice()>50.0)
                    {//open if to store items $50 or more to wishlist.txt
                        wishList.format("%-10d%-12s%10.2f\n", product.getproductID(),
                                product.getproductName(), product.getproductPrice());
                    }//close if $50 or greater
                    else if (product.getproductPrice()<0.0)
                    {//open if less than zero
                        priceError.format("%-10d%-12s%10.2f\n", product.getproductID(),
                                product.getproductName(), product.getproductPrice());
                    }//close if less than zero
                    else
                    {//open else for gift ideas from $0 to $50
                        giftIdeas.format("%-10d%-12s%10.2f\n", product.getproductID(),
                                product.getproductName(), product.getproductPrice());
                    }//close else for gift ideas
                }//close while
            }//close try block
            catch (NoSuchElementException elementException)
            {//open no such element exception catch
                System.err.println("File improperly formed.");
                txtfile.close();//close text file
                System.exit(1);
            }//close no such element exception catch
            catch (IllegalStateException stateException)
            {//open illegal state exception catch
                System.err.println("Error reading from file.");
                System.exit(1);
            }//close illegal state exception catch
        }//close readProducts method
        //close file and end application
        public void closeFile()
        {//open closeFile method
            if (txtfile != null)
                txtfile.close();//close file
        }//close closeFile method
    }//end application readTxtAnd the code at the top of the class I am trying to import (so you can see the package I am trying to import)
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package michaelchristopherp4db;
    *  @author
    public class ProductRecord {

    I am embarrassed to admit this, but I am completely lost on the last question.. I have no clue wether it is a convenience for development or a dependancy, as I have not learned those terms or distinctions yet. For now I copied the ProductRecord file into my new project folder and renamed it's project line to match the new project name. However, while that eliminated the package does not exist error, and netbeans reports no errors now, when I run the program it does not write the new files. I have made some modifications to the code tryiing to get it to write properly but so far no luck in makingit work. Here is the current version of the file not running right.
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package michaelchristopherp4db2;
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.lang.IllegalStateException;
    import java.lang.SecurityException;
    import java.util.NoSuchElementException;
    import java.util.Formatter;
    import java.util.FormatterClosedException;
    import java.util.Scanner;
    /*  @author
    *   Michael Christopher
    *   IT215-1004D-03
    *   December 30, 2010
    *   Phase 4 DB 2
    public class readTxt
        private Scanner txtfile;
        private Formatter wishList;
        private Formatter giftIdeas;
        private Formatter priceError;
        //let user open file
        public void openFile()
        {//open method openFile
            try
            {//open try block
                priceError = new Formatter("priceerror.txt");//open object for items with invalid prices
                giftIdeas = new Formatter("giftideas.txt");//open object for gift ideas
                wishList = new Formatter("wishlist.txt");//open object for wish list
                txtfile = new Scanner(new File("products.txt"));//tell the compiler which file to use for input
            }//close try block
            catch (FileNotFoundException fileNotFoundException)
            {//open file not found catch block
                System.err.println("Error opening or creating file.");
                System.exit(1);
            }//close file not found catch block
            catch ( SecurityException securityException )
            {//start catch for SecurityException
                System.err.println("File Write access is denied.");
                System.exit(1);//END PROGRAM
            }//end catch
        }//close openFile method
        public void readProducts()
        {//open readProducts method
            ProductRecord product = new ProductRecord();//create object to hold read data
            //print headers for for output columns
            wishList.format("%-10s%-12s%10s\n", "Product ID", "Product Name", "Price");
            giftIdeas.format("%-10s%-12s%10s\n", "Product ID", "Product Name", "Price");
            priceError.format("%-10s%-12s%10s\n", "Product ID", "Product Name", "Price");
            try //read records from the file
            {//open try block
                while (txtfile.hasNext())
                {//open while
                    product.setproductID(txtfile.nextInt());//get productID
                    product.setproductName(txtfile.next());//get product name
                    product.setproductPrice(txtfile.nextDouble());//get product price
                    if (product.getproductPrice()>50.0)
                    {//open if to store items $50 or more to wishlist.txt
                        wishList.format("%-10d%-12s%10.2f\n", product.getproductID(),
                                product.getproductName(), product.getproductPrice());
                    }//close if $50 or greater
                    else if (product.getproductPrice()<0.0)
                    {//open if less than zero
                        priceError.format("%-10d%-12s%10.2f\n", product.getproductID(),
                                product.getproductName(), product.getproductPrice());
                    }//close if less than zero
                    else
                    {//open else for gift ideas from $0 to $50
                        giftIdeas.format("%-10d%-12s%10.2f\n", product.getproductID(),
                                product.getproductName(), product.getproductPrice());
                    }//close else for gift ideas
                }//close while
            }//close try block
            catch (NoSuchElementException elementException)
            {//open no such element exception catch
                System.err.println("File improperly formed.");
                txtfile.close();//close text file
                System.exit(1);
            }//close no such element exception catch
            catch (IllegalStateException stateException)
            {//open illegal state exception catch
                System.err.println("Error reading from file.");
                System.exit(1);
            }//close illegal state exception catch
        }//close readProducts method
        //close file and end application
        public void closeFile()
        {//open closeFile method
            if (txtfile != null)
                txtfile.close();//close file
        }//close closeFile method
    }//end application readTxtwith the System.out.printf lines in the ReadProducts method it would properly print to screen all of the elements in the products.txt file, it is not outputting to the other .txt files at all. I will be exploring the closeFile method in case the error is due to not closing all of the files in that method, but does anyone else see what might cause it not to output the data to the appropriate .txt files?

  • Java.math package does not exist!!!

    hi java experts, i really desperately need some help. ihave been trying to compile a java program i have written that imports the java.math package as i am using the BigInteger class. I am using SUN ONE STUDIO ME 4 and have j2se SDk installed. when i try to build the program in the IDE, it gives me an error message saying the java.math package does not exist. i can't understand why. i think it's an IDE problem. i tried mounting the filesystem and i mounted almost a million times in diff ways but it still can't compile. i can't find the directory of the java.math to mount into. anyway i tried to compile it at the command prompt and it can compile but with errors... so i figure that i do have the java.math class on my system just that the IDE jsut can't recognise it. i am at my wits end and gonna go mad if someone doesn't please help me.
    adeline from singapore

    Cross-posted at http://forum.java.sun.com/thread.jsp?thread=293132&forum=54&message=1155073

  • Import javax.mail package does not exists

    Hi,
    when i tried to compile the source code for email using jdk1.3.1, it compiled fine. but when i tried to compile using jdk1.4.., it had the following errors such as
    import javax.mail package does not exists,
    import javax.mail.internet package does not exists
    package javax.activation does not exist
    Is it because of the jdk version problem???
    Pls help me

    I have the same problem with javax.ejb
    Now i've downloaded and installed the j2ee and set my classpath to the j2ee.jar. I've had to make a new path cause i'm running XP.
    This doesn't work.
    to compile it in Jcreator or JBuilder I can make it work by adding this package (j2ee.jar) in the project settings - required libraries.
    But I have to do this for every project again and again.
    I can make it work but i thougt the classpath would be enough ??
    Bassegio

  • Package does not exist error-message

    When I try to compile a java servlet with the following piece of code I get a compilation error referring to the import statement.
    I have just included the initial import statements. A large number of errors follow, as a result of this 'package does not exist error-message'.
    Has anyone encountered this or any ideas?
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.util.* ;
    import java.io.* ;
    import java.sql.* ;
    import com.ericsson.snf.mps.mppapi.mtlr.*;
    The error messages come from the 'import com.ericsson.snf.........' statement.
    I am trying to integrate ericsson software, into my application.
    Thanks,
    java-mobile-user

    That's probably because you are trying to integrate j2me suff with j2se/ee. That won't work without los of extra work..

  • Import javax.servlet.* gives error "package does not exist"

    I am working through Monica Pawlan's book "Essentials of Java PL".
    My PC runs Windows2000 prof. I have downloaded and installed j2sdk-1_3_1_01-win.exe in c:\jdk1.3.1_01
    I have downloaded and installed tomcat4.0 (jakarta-tomcat-4.0.zip) into c:\jakarta-tomcat-4.0
    CATALINA_HOME is set to c:\jakarta-tomcat-4.0 and CLASSPATH is set to .;C:\jakarta-tomcat-4.0\common\lib\servlet.jar
    I can compile an applet starting:
    import java.awt.Color;
    import java.awt.BorderLayout;
    import java.awt.event.*;
    import javax.swing.*;
    //Class Declaration
    class SwingUI extends JFrame implements ActionListener { ... }
    but trying to compile my servlet starting:
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class ExampServlet extends HttpServlet { ... }
    gives me the error (import javax.servlet.*) "package does not exist".
    Any pointers on this immediate problem? and is my book out of date?
    Many thanks,
    James Towell

    You downloaded the Java 2 SDK Standard Edition, but you need to also download the Enterprise Edition if you want to write programs that use enterprise features.

  • Urgent: Why org.apache.tomcat.* package does not exist?

    i am writing some programs about ldap
    my program code has used some packages as the followings
    import org.apache.tomcat.core.*;
    import org.apache.tomcat.util.*;
    import org.apache.tomcat.util.xml.*;
    i am using apache + tomcat4.1 server, jsdk1.4
    i have set the classpath that contains all the jar files in $TOMCAT_HOME\common\lib
    after setting the classpath, i compiled the code
    it said the above packages does not exist
    where should i find those packages?
    Aren't they in the tomcat i installed?
    PLX HELP

    for example, i want to use the class
    org.apache.tomcat.core.Context to create a class
    object.Then you would want to:
    import org.apache.tomcat.core.Context;
    -or-
    import org.apache.tomcat.core.*;
    Note how that is different than your original:
    import org.apache.tomcat.*;i just use as an example import org.apache.tomcat
    but i cannot find org.apache.tomcat.core or even any org.apache.tomcat.*
    so that means i havn't include the correct jar file in the classpath or no corresponding package are stored in the tomcat4.1
    i just want to know what jar file contains such stuff.
    i think it should be a silly problem. So there should be someone know it.

Maybe you are looking for

  • How to get pages from desktop to iPad using icloud

    Can someone help me please?! I am not that great with all of this but have Pages on desktop (version 10.7.4) and have an iPad2, i am trying to get the documents from desktop onto iPad with no luck. I have brought the app for the iPad and have icloud

  • Grey Screen after update - need help

    Hi My friend just called me - her macbook is stuck on the grey screen with apple logo - after she done the security updates and restarted. She can boot into Windows XP (bootcamp) without any issues. I'm going over there tomorow to help her out and wa

  • MSI 915G combo no sound or internet

    Hi Motherboard: MSI 915G Combo For one day ago I decided to format my hard drive. I installed Windows Xp professional and all drivers. But when the computer had started up so didnt the sound or the internet work, I've tried to reinstall the drivers t

  • Hyperion Planning Upgrade from 11.1.1.3 to 11.1.2.2

    Hyperion Planning Upgrade from 11.1.1.3 to 11.1.2.2 So far I have done the following 3 steps: 1. I have successfully installed and configured Hyperion Planning 11.1.2.2 in a new Server. (Windows Server 2008 R2). 2. I have created a blank classic Plan

  • Acc Assgnmnt details to be made non editable in MIRO for acct assgnmt cat A

    Hi All, 1.How to make Account  Assignment details  ( like GL account,  WBS element etc ) to be made non editable in MIRO ( Invoice)  for account assignment category  A (Asset) ? . This means that  the account assignment details  in  Invoice verificat