- This topic has 7 replies, 3 voices, and was last updated 17 years, 5 months ago by Greg.
-
AuthorPosts
-
icon911MemberUsing 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 driver5.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
icon911MemberSorry, #5 is where I try to create Factory
Loyal WaterMemberI 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 ?
icon911MemberYes, 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
icon911MemberOk, just tested on Windows XP and it works fine, so the problem in the Linux version only?
icon911MemberWere you able to replicate this problem on Linux setup? I am considering downgrading, so need to know if its just me or … Thanks, Oleg
Loyal WaterMemberHi Oleg,
I was able to reproduce this issue at my end. I have filed this as a bug. Thanks for bringing this up.
GregMemberHello 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.
-
AuthorPosts