facebook

Package does not exist error

  1. MyEclipse Archived
  2.  > 
  3. Database Tools (DB Explorer, Hibernate, etc.)
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #273505 Reply

    icon911
    Member

    Using Eclipse 3.3.0 with MyEclipse 5.9.100 Build id: 20070629-6.0.0-M1

    1. Adding Hibernate Capabilities to a new project
    2. Hibernate 3.1 with Core and Advanced Libraries checked
    3. New hibernate,cfg.xml
    4. JDBC Mysql driver

    5.1 Here I try to select existing empty package I created by clicking Browse next to Java package but Select Package says “No entries available”

    5.2 I try to type in the package name directly by the error shows Package does not exist

    5.3 I click New and type in the package name I already created, error shows Package already exists

    5.4 I create another package using the New button next to Java Package, package gets created but the error shows Package does not exist

    Help, please. Thanks, Oleg

    #273506 Reply

    icon911
    Member

    Sorry, #5 is where I try to create Factory

    #273531 Reply

    Loyal Water
    Member

    I followed the steps listed by you but I was unable to reproduce the same issue. Can you switch to a brand new workspace, create a new project and add hibernate capabilities just like you were adding in the old workspace. Are you still facing the same issue ?

    #273589 Reply

    icon911
    Member

    Yes, same problem Switched to new and empty workplace, created new Web project using java 5, tried adding Hibernate capabilities, got to Factory and same problem, affter creating new package, it still says package does not exist. I am runnning on Linux Ubuntu 7.04, forgot to add that to my original post. Thanks, Oleg

    #273595 Reply

    icon911
    Member

    Ok, just tested on Windows XP and it works fine, so the problem in the Linux version only?

    #273649 Reply

    icon911
    Member

    Were you able to replicate this problem on Linux setup? I am considering downgrading, so need to know if its just me or … Thanks, Oleg

    #273685 Reply

    Loyal Water
    Member

    Hi Oleg,
    I was able to reproduce this issue at my end. I have filed this as a bug. Thanks for bringing this up.

    #273698 Reply

    Greg
    Member

    Hello Oleg,

    We are working on a fix that will be released in our upcoming version 6.0 GA. However, for the mean time I have figured out a workaround that you can use.

    Here is the workaround for the current version (6.0M1)
    1. Before you add hibernate capabilties to you rproject, create an extra source folder that will be empty. You likely already have one source folder (“src”). Just create another called “src-temp”. Right click your web project and select new > Source Folder.
    2. Then try to add hibernate capabilities using your original steps 1-4 that you listed previously in this thread.
    3. When you get to the page for creating the Session Factory, use the combo box for source folder, change it to src-temp and then change it back to your default source folder (most likely “src”).
    4. Now you will be able to use the Browse…/New… buttons correctly and the wizard will be able to proceed normally.

    Sorry for the inconvenience, hopefully this can get you going until we get 6.0 GA released.

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: Package does not exist error

You must be logged in to post in the forum log in