facebook

Importing Eclipse project in to MyEclipse 6.6

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #301903 Reply

    salmanahmad
    Member

    Hi
    I am trying to import or create an eclipse web project to MyEclipse 6.6 web project. I have tried through import/existing projects option but it is giving me so many errors like could not initialize class, I have also tried to create a new project in MyEclipse and then import files into subsequent directories but it is not working either…
    The structure of project in eclipse is like: directly under project directory it contains all the jsp files and there is a WEB-INF folder which contains “src” and “lib” and “classes” folder etc.
    Any help would be appreciated
    Thanks

    #301908

    salmanahmad,
    Can you create a new “Web Project” and paste the files under appropriate locations? Can you list out the errors you are getting in the problems window?

    #301912

    salmanahmad
    Member

    Thanks Shalini
    I have been able to remove many errors now but I am stuck in a bad one at the moment. The error says :
    “java.lang.UnsatisfiedLinkError: no ocijdbc10 in java.library.path”
    Whereas I have included ojdbc14.jar in the build path on the top.
    Any suggestions??
    Thanks

    #301913

    salmanahmad,
    Can you try cleaning your project. Select Project > Clean from the menu bar.
    Also, can you open you project properties, go to the Java Build Path and then the Libraries tab and expand the library group there and make sure none of the JARs are marked with warning or error markers?

    #301916

    salmanahmad
    Member

    Thanx once again… I cleaned the build and checked the JARs but the problem still persists… Still wondering what to do ???

    #301927

    salmanahmad,
    Can you share your “Eclipse” project? You can send a mail to support@genuitec.com. Please add ATTN:Shalini in the subject and refer to this link. This will help us replicate the issue internally.

    #301970

    salmanahmad
    Member

    I think company policy will not allow me to share the project.
    Thanks for your help.

    #301974

    salmanahmad
    Member

    Shalini,
    Something interesting has happened with the application. May be you can have a better idea out of this situation…
    I stopped the tomcat from myeclipse and started it from windows services and the application started to work.
    Now I am curious that what is the problem with tomcat running from myeclipse whereas it is working fine with other applications which were created under myeclipse. Only this application is being imported from eclipse to myeclipse.
    Any ideas??
    Thanks

    #301991

    Loyal Water
    Member

    salmanahmad,
    That weird. If you create a new web project in MyEclipse and deploy it to a Tomcat within MyEclipse, does it work without issues? Sounds like a problem with the way you have imported your project.

    Can you list you Eclipse Project directory structure here for us? If possible, can you expand the nodes of the project in the package explorer and send me screenshot. You can hit the PM button under my post and send me the screenshot.

    #302096

    salmanahmad
    Member

    Thanks nipun,
    I have sent you a screenshot as a private message and waiting to hear from you. My main problem is the following error
    “java.lang.UnsatisfiedLinkError: no ocijdbc10 in java.library.path”

    Thanks

    #302210

    Loyal Water
    Member

    salmanahmad,
    Thank you for the screenshot but your project is huge and I cannot see the entire project structure in a single screenshot. Since you are facing a problem only with the MyEclipse Tomcat, it is mostly likely that the project structure is not in conformance with the MyEclipse Web Project structure.

    My main problem is the following error
    “java.lang.UnsatisfiedLinkError: no ocijdbc10 in java.library.path”

    This seems more of a library issue. You can refer to this link for help:-
    http://www.razorsql.com/docs/support_oracle_oci.html

    #302222

    salmanahmad
    Member

    Nippun,
    I got the problem solved now. It was a strange one, I added oracle “db_l \ BIN” folder in library path of tomcat and it started to work. The strange thing is that I am using oracle in my other projects as well without this configuration and they are working fine. The only difference is that they were created in MyEclipse and this one is imported from eclipse.
    Thanks for your support.

    #302256

    Loyal Water
    Member

    Thanks for your support.

    Your welcome.

Viewing 13 posts - 1 through 13 (of 13 total)
Reply To: Importing Eclipse project in to MyEclipse 6.6

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