For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 12 replies, 3 voices, and was last updated 16 years, 11 months ago by
Loyal Water.
-
AuthorPosts
-
salmanahmadMemberHi
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
ThanksAugust 30, 2009 at 11:48 pm #301908
support-shaliniMembersalmanahmad,
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?August 31, 2009 at 12:21 am #301912
salmanahmadMemberThanks 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??
ThanksAugust 31, 2009 at 12:35 am #301913
support-shaliniMembersalmanahmad,
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?August 31, 2009 at 12:55 am #301916
salmanahmadMemberThanx once again… I cleaned the build and checked the JARs but the problem still persists… Still wondering what to do ???
August 31, 2009 at 5:16 am #301927
support-shaliniMembersalmanahmad,
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.August 31, 2009 at 8:41 pm #301970
salmanahmadMemberI think company policy will not allow me to share the project.
Thanks for your help.August 31, 2009 at 11:17 pm #301974
salmanahmadMemberShalini,
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??
ThanksSeptember 1, 2009 at 7:55 am #301991
Loyal WaterMembersalmanahmad,
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.
September 3, 2009 at 7:28 pm #302096
salmanahmadMemberThanks 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
September 8, 2009 at 1:06 pm #302210
Loyal WaterMembersalmanahmad,
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.htmlSeptember 8, 2009 at 6:24 pm #302222
salmanahmadMemberNippun,
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.September 9, 2009 at 11:44 am #302256
Loyal WaterMemberThanks for your support.
Your welcome.
-
AuthorPosts
